ASK Briker 2.0.4 dan Grandstream HT503 Trunk


(Yosse Pradikta) #1

Mohon pencerahan…saya pakai grandstream ht503 sebagai gateway FXO ke Line Telkom. saya pakai Briker sebagai VoIP server dan sudah saya set Trunk, Outbond routes namun masih belum berhasil.
yg salah apa yah?

image

#####LOG

Asterisk 13.9.1, Copyright © 1999 - 2014, Digium, Inc. and others.
Created by Mark Spencer markster@digium.com
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core show warranty’ for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘core show license’ for details.

Connected to Asterisk 13.9.1 currently running on ippbx (pid = 1333)
== Using SIP VIDEO TOS bits 136
== Using SIP VIDEO CoS mark 6
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Executing [9081902776460@from-internal:1] Set(“SIP/100-000000ad”, “EMERGENCYROUTE=YES”) in new stack
– Executing [9081902776460@from-internal:2] Set(“SIP/100-000000ad”, “INTRACOMPANYROUTE=YES”) in new stack
– Executing [9081902776460@from-internal:3] Macro(“SIP/100-000000ad”, “user-callerid,SKIPTTL,”) in new stack
– Executing [s@macro-user-callerid:1] NoOp(“SIP/100-000000ad”, “user-callerid: device 100”) in new stack
– Executing [s@macro-user-callerid:2] Set(“SIP/100-000000ad”, “AMPUSER=100”) in new stack
– Executing [s@macro-user-callerid:3] GotoIf(“SIP/100-000000ad”, “0?report”) in new stack
– Executing [s@macro-user-callerid:4] ExecIf(“SIP/100-000000ad”, “1?Set(REALCALLERIDNUM=100)”) in new stack
– Executing [s@macro-user-callerid:5] NoOp(“SIP/100-000000ad”, “REALCALLERIDNUM is 100”) in new stack
– Executing [s@macro-user-callerid:6] Set(“SIP/100-000000ad”, “AMPUSER=100”) in new stack
– Executing [s@macro-user-callerid:7] Set(“SIP/100-000000ad”, “AMPUSERCIDNAME=Operator”) in new stack
– Executing [s@macro-user-callerid:8] GotoIf(“SIP/100-000000ad”, “0?report”) in new stack
– Executing [s@macro-user-callerid:9] Set(“SIP/100-000000ad”, “AMPUSERCID=100”) in new stack
– Executing [s@macro-user-callerid:10] Set(“SIP/100-000000ad”, “CALLERID(all)=“Operator” <100>”) in new stack
– Executing [s@macro-user-callerid:11] Set(“SIP/100-000000ad”, “REALCALLERIDNUM=100”) in new stack
– Executing [s@macro-user-callerid:12] ExecIf(“SIP/100-000000ad”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [s@macro-user-callerid:13] NoOp(“SIP/100-000000ad”, “TTL: ARG1: SKIPTTL”) in new stack
– Executing [s@macro-user-callerid:14] GotoIf(“SIP/100-000000ad”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,23)
– Executing [s@macro-user-callerid:23] NoOp(“SIP/100-000000ad”, “Using CallerID “Operator” <100>”) in new stack
– Executing [9081902776460@from-internal:4] Set(“SIP/100-000000ad”, “_NODEST=”) in new stack
– Executing [9081902776460@from-internal:5] Macro(“SIP/100-000000ad”, “record-enable,100,OUT,”) in new stack
– Executing [s@macro-record-enable:1] GotoIf(“SIP/100-000000ad”, “0?2:4”) in new stack
– Goto (macro-record-enable,s,4)
– Executing [s@macro-record-enable:4] AGI(“SIP/100-000000ad”, “recordingcheck,20180117-143147,BrikerIPPBX-1516174307.325”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck
recordingcheck,20180117-143147,BrikerIPPBX-1516174307.325: Outbound recording not enabled
– <SIP/100-000000ad>AGI Script recordingcheck completed, returning 0
– Executing [s@macro-record-enable:5] NoOp(“SIP/100-000000ad”, “No recording needed”) in new stack
– Executing [9081902776460@from-internal:6] Macro(“SIP/100-000000ad”, “dialout-trunk,2,081902776460,”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“SIP/100-000000ad”, “ENTEREDEXT=”) in new stack
– Executing [s@macro-dialout-trunk:2] NoOp(“SIP/100-000000ad”, “DEBUG: BT = CH = SIP/100-000000ad”) in new stack
– Executing [s@macro-dialout-trunk:3] Set(“SIP/100-000000ad”, “BT=”) in new stack
– Executing [s@macro-dialout-trunk:4] Set(“SIP/100-000000ad”, “BT=”) in new stack
– Executing [s@macro-dialout-trunk:5] NoOp(“SIP/100-000000ad”, “DEBUG: BT = CID = 100”) in new stack
– Executing [s@macro-dialout-trunk:6] GotoIf(“SIP/100-000000ad”, “1?authkeylock”) in new stack
– Goto (macro-dialout-trunk,s,9)
– Executing [s@macro-dialout-trunk:9] Set(“SIP/100-000000ad”, “KEYLOCK=”) in new stack
– Executing [s@macro-dialout-trunk:10] GotoIf(“SIP/100-000000ad”, “0?askpin:pinok”) in new stack
– Goto (macro-dialout-trunk,s,13)
– Executing [s@macro-dialout-trunk:13] NoOp(“SIP/100-000000ad”, “OK”) in new stack
– Executing [s@macro-dialout-trunk:14] Set(“SIP/100-000000ad”, “DIAL_TRUNK=2”) in new stack
– Executing [s@macro-dialout-trunk:15] Set(“SIP/100-000000ad”, “ZAP2DAHDI=SIP/PSTN_SIP”) in new stack
– Executing [s@macro-dialout-trunk:16] Set(“SIP/100-000000ad”, “VAR1=SIP/”) in new stack
– Executing [s@macro-dialout-trunk:17] Set(“SIP/100-000000ad”, “VAR2=PSTN_SIP”) in new stack
– Executing [s@macro-dialout-trunk:18] ExecIf(“SIP/100-000000ad”, “0?Set(OUT_2=DAHDI/PSTN_SIP)”) in new stack
– Executing [s@macro-dialout-trunk:19] ExecIf(“SIP/100-000000ad”, “0?Set(OUT_2=DAHDI/PSTN_SIP)”) in new stack
– Executing [s@macro-dialout-trunk:20] ExecIf(“SIP/100-000000ad”, “0?Set(OUT_2=DAHDI/PSTN_SIP)”) in new stack
– Executing [s@macro-dialout-trunk:21] ExecIf(“SIP/100-000000ad”, “0?Authenticate()”) in new stack
– Executing [s@macro-dialout-trunk:22] GotoIf(“SIP/100-000000ad”, “0?disabletrunk,1”) in new stack
– Executing [s@macro-dialout-trunk:23] Set(“SIP/100-000000ad”, “DIAL_NUMBER=081902776460”) in new stack
– Executing [s@macro-dialout-trunk:24] Set(“SIP/100-000000ad”, “DIAL_TRUNK_OPTIONS=tTWr”) in new stack
– Executing [s@macro-dialout-trunk:25] Set(“SIP/100-000000ad”, “GROUP()=OUT_2”) in new stack
– Executing [s@macro-dialout-trunk:26] GotoIf(“SIP/100-000000ad”, “1?nomax”) in new stack
– Goto (macro-dialout-trunk,s,28)
– Executing [s@macro-dialout-trunk:28] GotoIf(“SIP/100-000000ad”, “1?skipoutcid”) in new stack
– Goto (macro-dialout-trunk,s,31)
– Executing [s@macro-dialout-trunk:31] AGI(“SIP/100-000000ad”, “fixlocalprefix”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix
– <SIP/100-000000ad>AGI Script fixlocalprefix completed, returning 0
– Executing [s@macro-dialout-trunk:32] Set(“SIP/100-000000ad”, “OUTNUM=081902776460”) in new stack
– Executing [s@macro-dialout-trunk:33] Set(“SIP/100-000000ad”, “REALOUTNUM=081902776460”) in new stack
– Executing [s@macro-dialout-trunk:34] GotoIf(“SIP/100-000000ad”, “0?askpin1:pinok1”) in new stack
– Goto (macro-dialout-trunk,s,39)
– Executing [s@macro-dialout-trunk:39] NoOp(“SIP/100-000000ad”, “OK”) in new stack
– Executing [s@macro-dialout-trunk:40] Set(“SIP/100-000000ad”, “OUTNUM=081902776460”) in new stack
– Executing [s@macro-dialout-trunk:41] Set(“SIP/100-000000ad”, “DEVICENUM=100”) in new stack
– Executing [s@macro-dialout-trunk:42] Set(“SIP/100-000000ad”, “CIDNAME=”) in new stack
– Executing [s@macro-dialout-trunk:43] Set(“SIP/100-000000ad”, “CIDNUM=”) in new stack
– Executing [s@macro-dialout-trunk:44] ExecIf(“SIP/100-000000ad”, “1?Set(CIDNUM=100)”) in new stack
– Executing [s@macro-dialout-trunk:45] Set(“SIP/100-000000ad”, “CDR(accountcode)=100”) in new stack
– Executing [s@macro-dialout-trunk:46] GotoIf(“SIP/100-000000ad”, “0?ACCOUNTCODECFOK”) in new stack
– Executing [s@macro-dialout-trunk:47] ExecIf(“SIP/100-000000ad”, “1?Set(CDR(accountcode)=100)”) in new stack
– Executing [s@macro-dialout-trunk:48] Goto(“SIP/100-000000ad”, “ACCOUNTCODECFNOTOK”) in new stack
– Goto (macro-dialout-trunk,s,54)
– Executing [s@macro-dialout-trunk:54] Set(“SIP/100-000000ad”, “custom=SIP/PSTN_SIP”) in new stack
– Executing [s@macro-dialout-trunk:55] GotoIf(“SIP/100-000000ad”, “1?gocall”) in new stack
– Goto (macro-dialout-trunk,s,57)
– Executing [s@macro-dialout-trunk:57] Macro(“SIP/100-000000ad”, “dialout-trunk-predial-hook,”) in new stack
– Executing [s@macro-dialout-trunk:58] GotoIf(“SIP/100-000000ad”, “0?bypass,1”) in new stack
– Executing [s@macro-dialout-trunk:59] GotoIf(“SIP/100-000000ad”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:60] Dial(“SIP/100-000000ad”, “SIP/PSTN_SIP/081902776460,300,tTWr”) in new stack
== Using SIP VIDEO TOS bits 136
== Using SIP VIDEO CoS mark 6
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/PSTN_SIP/081902776460
– SIP/PSTN_SIP-000000ae is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
– Executing [s@macro-dialout-trunk:61] Goto(“SIP/100-000000ad”, “s-CONGESTION,1”) in new stack
– Goto (macro-dialout-trunk,s-CONGESTION,1)
– Executing [s-CONGESTION@macro-dialout-trunk:1] GotoIf(“SIP/100-000000ad”, “1?noreport”) in new stack
– Goto (macro-dialout-trunk,s-CONGESTION,3)
– Executing [s-CONGESTION@macro-dialout-trunk:3] NoOp(“SIP/100-000000ad”, “TRUNK Dial failed due to CONGESTION - failing through to other trunks”) in new stack
– Executing [9081902776460@from-internal:7] Macro(“SIP/100-000000ad”, “outisbusy,”) in new stack
– Executing [s@macro-outisbusy:1] Playback(“SIP/100-000000ad”, “all-circuits-busy-now,noanswer”) in new stack
– <SIP/100-000000ad> Playing ‘all-circuits-busy-now.slin’ (language ‘en’)
– Executing [s@macro-outisbusy:2] Playback(“SIP/100-000000ad”, “pls-try-call-later,noanswer”) in new stack
– Executing [s@macro-outisbusy:3] Macro(“SIP/100-000000ad”, “hangupcall”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“SIP/100-000000ad”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,4)
– Executing [s@macro-hangupcall:4] GotoIf(“SIP/100-000000ad”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,7)
– Executing [s@macro-hangupcall:7] GotoIf(“SIP/100-000000ad”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [s@macro-hangupcall:9] Hangup(“SIP/100-000000ad”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on ‘SIP/100-000000ad’ in macro ‘hangupcall’
== Spawn extension (macro-outisbusy, s, 3) exited non-zero on ‘SIP/100-000000ad’ in macro ‘outisbusy’
== Spawn extension (from-internal, 9081902776460, 7) exited non-zero on ‘SIP/100-000000ad’
– Executing [h@from-internal:1] Macro(“SIP/100-000000ad”, “hangupcall”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“SIP/100-000000ad”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,4)
– Executing [s@macro-hangupcall:4] GotoIf(“SIP/100-000000ad”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,7)
– Executing [s@macro-hangupcall:7] GotoIf(“SIP/100-000000ad”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [s@macro-hangupcall:9] Hangup(“SIP/100-000000ad”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on ‘SIP/100-000000ad’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/100-000000ad’
ippbx*CLI>


(Yosse Pradikta) #2

Settingan HT503 pada FXO PORT

image


(godril) #3

Untuk melihat trunk ke HT503 apakah sudah dikenali atau belum coba masuk ke asterisk console dan ketik:

sip show peers