ID Asterisk

Outgoing Time Out

Dear All

Saya punya Co Line PSTN yang dari dial ke nada ring itu delaynya sekitar 15 detik.
Jika dipasang di Issabel 4 selalu time out terus.
Mohon petunjuknya untuk menambah waktu dial di asterisknya

Terima kasih
SA

Mohon Para suhu bantuannya,

Berikut hasil capture-nya

[root@pbx ~]# asterisk -rvvvvv
Asterisk 16.7.0, Copyright © 1999 - 2018, 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 16.7.0 currently running on pbx (pid = 2490)
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
> 0x7f7b9c0147a0 – Strict RTP learning after remote address set to: 10.2.17.31:12246
– Executing [917495@from-internal:1] Macro(“SIP/531-0000002b”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/531-0000002b”, “TOUCH_MONITOR=1624676908.664”) in new stack
– Executing [s@macro-user-callerid:2] Set(“SIP/531-0000002b”, “AMPUSER=531”) in new stack
– Executing [s@macro-user-callerid:3] GotoIf(“SIP/531-0000002b”, “0?report”) in new stack
– Executing [s@macro-user-callerid:4] ExecIf(“SIP/531-0000002b”, “1?Set(REALCALLERIDNUM=531)”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/531-0000002b”, “AMPUSER=531”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“SIP/531-0000002b”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:7] Set(“SIP/531-0000002b”, “AMPUSERCIDNAME=IT Room”) in new stack
– Executing [s@macro-user-callerid:8] GotoIf(“SIP/531-0000002b”, “0?report”) in new stack
– Executing [s@macro-user-callerid:9] Set(“SIP/531-0000002b”, “AMPUSERCID=531”) in new stack
– Executing [s@macro-user-callerid:10] Set(“SIP/531-0000002b”, “__DIAL_OPTIONS=tr”) in new stack
– Executing [s@macro-user-callerid:11] Set(“SIP/531-0000002b”, “CALLERID(all)=“IT Room” <531>”) in new stack
– Executing [s@macro-user-callerid:12] GotoIf(“SIP/531-0000002b”, “0?limit”) in new stack
– Executing [s@macro-user-callerid:13] ExecIf(“SIP/531-0000002b”, “1?Set(GROUP(concurrency_limit)=531)”) in new stack
– Executing [s@macro-user-callerid:14] ExecIf(“SIP/531-0000002b”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [s@macro-user-callerid:15] GotoIf(“SIP/531-0000002b”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,28)
– Executing [s@macro-user-callerid:28] Set(“SIP/531-0000002b”, “CALLERID(number)=531”) in new stack
– Executing [s@macro-user-callerid:29] Set(“SIP/531-0000002b”, “CALLERID(name)=IT Room”) in new stack
– Executing [s@macro-user-callerid:30] Set(“SIP/531-0000002b”, “CDR(cnum)=531”) in new stack
– Executing [s@macro-user-callerid:31] Set(“SIP/531-0000002b”, “CDR(cnam)=IT Room”) in new stack
– Executing [s@macro-user-callerid:32] Set(“SIP/531-0000002b”, “CHANNEL(language)=en”) in new stack
– Executing [917495@from-internal:2] Set(“SIP/531-0000002b”, “MOHCLASS=default”) in new stack
– Executing [917495@from-internal:3] Set(“SIP/531-0000002b”, “_NODEST=”) in new stack
– Executing [917495@from-internal:4] Gosub(“SIP/531-0000002b”, “sub-record-check,s,1(out,917495,)”) in new stack
– Executing [s@sub-record-check:1] Set(“SIP/531-0000002b”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [s@sub-record-check:2] GotoIf(“SIP/531-0000002b”, “1?check”) in new stack
– Goto (sub-record-check,s,7)
– Executing [s@sub-record-check:7] Set(“SIP/531-0000002b”, “__MON_FMT=wav”) in new stack
– Executing [s@sub-record-check:8] GotoIf(“SIP/531-0000002b”, “1?next”) in new stack
– Goto (sub-record-check,s,11)
– Executing [s@sub-record-check:11] ExecIf(“SIP/531-0000002b”, “0?Return()”) in new stack
– Executing [s@sub-record-check:12] ExecIf(“SIP/531-0000002b”, “0?Set(__REC_POLICY_MODE=)”) in new stack
– Executing [s@sub-record-check:13] GotoIf(“SIP/531-0000002b”, “0?out,1”) in new stack
– Executing [s@sub-record-check:14] Set(“SIP/531-0000002b”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [s@sub-record-check:15] Set(“SIP/531-0000002b”, “NOW=1624676908”) in new stack
– Executing [s@sub-record-check:16] Set(“SIP/531-0000002b”, “__DAY=26”) in new stack
– Executing [s@sub-record-check:17] Set(“SIP/531-0000002b”, “__MONTH=06”) in new stack
– Executing [s@sub-record-check:18] Set(“SIP/531-0000002b”, “__YEAR=2021”) in new stack
– Executing [s@sub-record-check:19] Set(“SIP/531-0000002b”, “__TIMESTR=20210626-110828”) in new stack
– Executing [s@sub-record-check:20] Set(“SIP/531-0000002b”, “__FROMEXTEN=531”) in new stack
– Executing [s@sub-record-check:21] Set(“SIP/531-0000002b”, “__CALLFILENAME=out-917495-531-20210626-110828-1624676908.664”) in new stack
– Executing [s@sub-record-check:22] Goto(“SIP/531-0000002b”, “out,1”) in new stack
– Goto (sub-record-check,out,1)
– Executing [out@sub-record-check:1] ExecIf(“SIP/531-0000002b”, “1?Set(__REC_POLICY_MODE=dontcare)”) in new stack
– Executing [out@sub-record-check:2] GosubIf(“SIP/531-0000002b”, “0?record,1(exten,917495,531)”) in new stack
– Executing [out@sub-record-check:3] Return(“SIP/531-0000002b”, “”) in new stack
– Executing [917495@from-internal:5] Macro(“SIP/531-0000002b”, “dialout-trunk,1,17495,on”) in new stack
– Executing [s@macro-dialout-trunk:1] Set(“SIP/531-0000002b”, “DIAL_TRUNK=1”) in new stack
– Executing [s@macro-dialout-trunk:2] GosubIf(“SIP/531-0000002b”, “0?sub-pincheck,s,1()”) in new stack
– Executing [s@macro-dialout-trunk:3] GotoIf(“SIP/531-0000002b”, “0?disabletrunk,1”) in new stack
– Executing [s@macro-dialout-trunk:4] Set(“SIP/531-0000002b”, “DIAL_NUMBER=17495”) in new stack
– Executing [s@macro-dialout-trunk:5] Set(“SIP/531-0000002b”, “DIAL_TRUNK_OPTIONS=tr”) in new stack
– Executing [s@macro-dialout-trunk:6] Set(“SIP/531-0000002b”, “OUTBOUND_GROUP=OUT_1”) in new stack
– Executing [s@macro-dialout-trunk:7] GotoIf(“SIP/531-0000002b”, “0?nomax”) in new stack
– Executing [s@macro-dialout-trunk:8] GotoIf(“SIP/531-0000002b”, “0?chanfull”) in new stack
– Executing [s@macro-dialout-trunk:9] GotoIf(“SIP/531-0000002b”, “0?skipoutcid”) in new stack
– Executing [s@macro-dialout-trunk:10] Set(“SIP/531-0000002b”, “DIAL_TRUNK_OPTIONS=T”) in new stack
– Executing [s@macro-dialout-trunk:11] Macro(“SIP/531-0000002b”, “outbound-callerid,1”) in new stack
– Executing [s@macro-outbound-callerid:1] ExecIf(“SIP/531-0000002b”, “0?Set(CALLERPRES()=)”) in new stack
– Executing [s@macro-outbound-callerid:2] ExecIf(“SIP/531-0000002b”, “0?Set(REALCALLERIDNUM=531)”) in new stack
– Executing [s@macro-outbound-callerid:3] GotoIf(“SIP/531-0000002b”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing [s@macro-outbound-callerid:6] Set(“SIP/531-0000002b”, “USEROUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:7] Set(“SIP/531-0000002b”, “EMERGENCYCID=”) in new stack
– Executing [s@macro-outbound-callerid:8] Set(“SIP/531-0000002b”, “TRUNKOUTCID=”) in new stack
– Executing [s@macro-outbound-callerid:9] GotoIf(“SIP/531-0000002b”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,14)
– Executing [s@macro-outbound-callerid:14] ExecIf(“SIP/531-0000002b”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:15] ExecIf(“SIP/531-0000002b”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:16] ExecIf(“SIP/531-0000002b”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [s@macro-outbound-callerid:17] ExecIf(“SIP/531-0000002b”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
– Executing [s@macro-outbound-callerid:18] Set(“SIP/531-0000002b”, “CDR(outbound_cnum)=531”) in new stack
– Executing [s@macro-outbound-callerid:19] Set(“SIP/531-0000002b”, “CDR(outbound_cnam)=IT Room”) in new stack
– Executing [s@macro-dialout-trunk:12] GosubIf(“SIP/531-0000002b”, “1?sub-flp-1,s,1()”) in new stack
– Executing [s@sub-flp-1:1] ExecIf(“SIP/531-0000002b”, “0?Set(TARGET_FLP_1=7495)”) in new stack
– Executing [s@sub-flp-1:2] GotoIf(“SIP/531-0000002b”, “0?match”) in new stack
– Executing [s@sub-flp-1:3] Return(“SIP/531-0000002b”, “”) in new stack
– Executing [s@macro-dialout-trunk:13] Set(“SIP/531-0000002b”, “OUTNUM=9ww17495”) in new stack
– Executing [s@macro-dialout-trunk:14] Set(“SIP/531-0000002b”, “custom=DAHDI/g0”) in new stack
– Executing [s@macro-dialout-trunk:15] ExecIf(“SIP/531-0000002b”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)”) in new stack
– Executing [s@macro-dialout-trunk:16] ExecIf(“SIP/531-0000002b”, “0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))”) in new stack
– Executing [s@macro-dialout-trunk:17] Macro(“SIP/531-0000002b”, “dialout-trunk-predial-hook,”) in new stack
– Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“SIP/531-0000002b”, “”) in new stack
– Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/531-0000002b”, “0?bypass,1”) in new stack
– Executing [s@macro-dialout-trunk:19] ExecIf(“SIP/531-0000002b”, “1?Set(CONNECTEDLINE(num,i)=17495)”) in new stack
– Executing [s@macro-dialout-trunk:20] ExecIf(“SIP/531-0000002b”, “1?Set(CONNECTEDLINE(name,i)=CID:531)”) in new stack
– Executing [s@macro-dialout-trunk:21] GotoIf(“SIP/531-0000002b”, “0?customtrunk”) in new stack
– Executing [s@macro-dialout-trunk:22] Dial(“SIP/531-0000002b”, “DAHDI/g0/9ww17495,300,T”) in new stack
– Called DAHDI/g0/9ww17495
– DAHDI/1-1 answered SIP/531-0000002b
– Channel DAHDI/1-1 joined ‘simple_bridge’ basic-bridge
– Channel SIP/531-0000002b joined ‘simple_bridge’ basic-bridge
> 0x7f7b9c0147a0 – Strict RTP switching to RTP target address 10.2.17.31:12246 as source
> 0x7f7b9c0147a0 – Strict RTP learning complete - Locking on source address 10.2.17.31:12246
pbx*CLI>

  1. Dial command format (Tech/Peer/Dialed_Number,Dial_Timeout,Options)

  2. Dari log, maka dial_timeout nya sudah 300 seconds,

  3. Yang salah adalah “Dialed_Number” 9ww17495

  4. Saran: Cek regex untuk String/Number replacement.

  5. kalau asterisk gui, saya tidak tau posisi tepat nya dimana, tapi bisa di cek di “outgoing route” atau “trunk dial manipulation”