0

S-20 Outgoing call failed

Initial setup of S20 has been done, SIP trunk is successfully registered. Inbound calls are ok, but all outgoing calls fail.

Below is log captured during dialing out.

Would appreciate if you can share any ideas/thoughts on the matter

 

 

 

 

[2017-10-18 08:58:40] NOTICE[2132]: ysscale.c:1111 usb_exception_func: Total recv 32200 heartbeat packets from USB port 0

== Parsing '/etc/asterisk/pjsip.conf': Found
== Parsing '/etc/asterisk/pjsip_auth.conf': Found

== Parsing '/etc/asterisk/pjsip_wizard.conf': Found

== Parsing '/etc/asterisk/pjsip.conf': Found

== Parsing '/etc/asterisk/pjsip_auth.conf': Found

== Parsing '/etc/asterisk/pjsip_wizard.conf': Found

== Parsing '/etc/asterisk/pjsip.conf': Found
== Parsing '/etc/asterisk/pjsip_auth.conf': Found

== Parsing '/etc/asterisk/pjsip_wizard.conf': Found

== Parsing '/etc/asterisk/pjsip.conf': Found
== Parsing '/etc/asterisk/pjsip_auth.conf': Found

== Parsing '/etc/asterisk/pjsip_wizard.conf': Found

[2017-10-18 09:00:20] NOTICE[2132]: ysscale.c:1111 usb_exception_func: Total recv 32300 heartbeat packets from USB port 0

== Parsing '/etc/asterisk/pjsip.conf': Found

== Parsing '/etc/asterisk/pjsip_auth.conf': Found

== Parsing '/etc/asterisk/pjsip_wizard.conf': Found

== Parsing '/etc/asterisk/pjsip.conf': Found
== Parsing '/etc/asterisk/pjsip_auth.conf': Found

== Parsing '/etc/asterisk/pjsip_wizard.conf': Found

== Using SIP RTP Audio TOS bits 184

== Using SIP RTP Audio CoS mark 5

-- Executing [2980000@DLPN_DialPlan103:1] YsWalkContext("PJSIP/103-00000002", "blacklist-outbound,2980000,1,103,outbound") in new stack

-- Executing [2980000@DLPN_DialPlan103:2] NoOp("PJSIP/103-00000002", "No Pinset") in new stack

-- Executing [2980000@DLPN_DialPlan103:3] Set("PJSIP/103-00000002", "ORGINEXTEN=2980000") in new stack

-- Executing [2980000@DLPN_DialPlan103:4] Set("PJSIP/103-00000002", "ORGINROUTE=Routeout") in new stack

-- Executing [2980000@DLPN_DialPlan103:5] Set("PJSIP/103-00000002", "ORGINCONTEXT=DLPN_DialPlan103") in new stack

-- Executing [2980000@DLPN_DialPlan103:6] Set("PJSIP/103-00000002", "MRMEMORYHUNT=no") in new stack

-- Executing [2980000@DLPN_DialPlan103:7] GetNextOutRouter("PJSIP/103-00000002", "Routeout,2980000") in new stack

-- Executing [2980000@DLPN_DialPlan103:8] Goto("PJSIP/103-00000002", "a1") in new stack

-- Goto (DLPN_DialPlan103,2980000,11)

-- Executing [2980000@DLPN_DialPlan103:11] NoOp("PJSIP/103-00000002", "NO ADJUST") in new stack

-- Executing [2980000@DLPN_DialPlan103:12] Macro("PJSIP/103-00000002", "trunkdial-failover-0.3,1,,2980000,trunk-SIP_KZ-endpoint") in new stack

-- Executing [s@macro-trunkdial-failover-0.3:1] NoOp("PJSIP/103-00000002", "do call out") in new stack

-- Executing [s@macro-trunkdial-failover-0.3:2] GotoIf("PJSIP/103-00000002", "0?5:3") in new stack

-- Goto (macro-trunkdial-failover-0.3,s,3)

-- Executing [s@macro-trunkdial-failover-0.3:3] GotoIf("PJSIP/103-00000002", "0?4:5") in new stack

-- Goto (macro-trunkdial-failover-0.3,s,5)

-- Executing [s@macro-trunkdial-failover-0.3:5] Set("PJSIP/103-00000002", "TCOUNT=4") in new stack

-- Executing [s@macro-trunkdial-failover-0.3:6] Set("PJSIP/103-00000002", "CDR(userfield)=Outbound") in new stack

-- Executing [s@macro-trunkdial-failover-0.3:7] Set("PJSIP/103-00000002", "CDR(extfield4)=192.168.0.7") in new stack

-- Executing [s@macro-trunkdial-failover-0.3:8] Set("PJSIP/103-00000002", "OLDCALLERID=103") in new stack

-- Executing [s@macro-trunkdial-failover-0.3:9] Set("PJSIP/103-00000002", "TOUCH_MONITOR=103-2980000") in new stack

-- Executing [s@macro-trunkdial-failover-0.3:10] NoOp("PJSIP/103-00000002", "") in new stack

-- Executing [s@macro-trunkdial-failover-0.3:11] Set("PJSIP/103-00000002", "TIMEOUT(absolute)=6000") in new stack

-- Channel will hangup at 2017-10-18 10:41:33.090 UTC+6.

-- Executing [s@macro-trunkdial-failover-0.3:12] Set("PJSIP/103-00000002", "DLSTAT=UNKNOW}") in new stack

-- Executing [s@macro-trunkdial-failover-0.3:13] GotoIf("PJSIP/103-00000002", "1>0?1-dial,1") in new stack

-- Goto (macro-trunkdial-failover-0.3,1-dial,1)

-- Executing [1-dial@macro-trunkdial-failover-0.3:1] GotoIf("PJSIP/103-00000002", "0?nextrouter,1") in new stack

[2017-10-18 09:01:33] WARNING[31604][C-00000001]: ast_expr2.fl:470 ast_yyerror: ast_yyerror(): syntax error: syntax error, unexpected '>', expecting $end; Input:
> 0
^

[2017-10-18 09:01:33] WARNING[31604][C-00000001]: ast_expr2.fl:474 ast_yyerror: If you have questions, please refer to https://wiki.asterisk.org/wiki/display/AST/Channel+Variables

-- Executing [1-dial@macro-trunkdial-failover-0.3:2] GotoIf("PJSIP/103-00000002", "?1-dial,5:1-dial,3") in new stack

-- Goto (macro-trunkdial-failover-0.3,1-dial,3)

-- Executing [1-dial@macro-trunkdial-failover-0.3:3] GotoIf("PJSIP/103-00000002", "0?setdod,1:setdodname,1") in new stack

-- Goto (macro-trunkdial-failover-0.3,setdodname,1)

-- Executing [setdodname@macro-trunkdial-failover-0.3:1] GotoIf("PJSIP/103-00000002", "0?setdod,3:1-dial,4") in new stack

-- Goto (macro-trunkdial-failover-0.3,1-dial,4)

-- Executing [1-dial@macro-trunkdial-failover-0.3:4] GotoIf("PJSIP/103-00000002", "0?setdodnum,1:1-dial,5") in new stack

-- Goto (macro-trunkdial-failover-0.3,1-dial,5)

-- Executing [1-dial@macro-trunkdial-failover-0.3:5] Set("PJSIP/103-00000002", "OUTDIALOPT=tTKkWwXxb(add_diversion,add_diversion,1)") in new stack

-- Executing [1-dial@macro-trunkdial-failover-0.3:6] Set("PJSIP/103-00000002", "FAXOPT(gateway)=no") in new stack

-- Executing [1-dial@macro-trunkdial-failover-0.3:7] NoOp("PJSIP/103-00000002", "NO CLIP") in new stack

-- Executing [1-dial@macro-trunkdial-failover-0.3:8] Set("PJSIP/103-00000002", "PJSIP_TRUNK=@trunk-SIP_KZ-endpoint") in new stack

-- Executing [1-dial@macro-trunkdial-failover-0.3:9] Set("PJSIP/103-00000002", "YSGSM_TRUNK=") in new stack

-- Executing [1-dial@macro-trunkdial-failover-0.3:10] Set("PJSIP/103-00000002", "DIALSTRING=PJSIP/2980000@trunk-SIP_KZ-endpoint") in new stack

-- Executing [1-dial@macro-trunkdial-failover-0.3:11] GotoIf("PJSIP/103-00000002", "0?sys-dial,1") in new stack

-- Executing [1-dial@macro-trunkdial-failover-0.3:12] ExecIf("PJSIP/103-00000002", "0?SetGlobal(LastTrunkOfRouteout=trunk-SIP_KZ-endpoint):Noop(Not Mrmemory Hunt)") in new stack

-- Executing [1-dial@macro-trunkdial-failover-0.3:13] ExecIf("PJSIP/103-00000002", "1?Set(JITTERBUFFER(disabled)=):NoOp(No Jitter Buffer)") in new stack

-- Executing [1-dial@macro-trunkdial-failover-0.3:14] ExecIf("PJSIP/103-00000002", "0?Set(JITTERBUFFER(disabled)=):NoOp(No Jitter Buffer)") in new stack

-- Executing [1-dial@macro-trunkdial-failover-0.3:15] GotoIf("PJSIP/103-00000002", "0?1-dial,16:1-dial,18") in new stack

-- Goto (macro-trunkdial-failover-0.3,1-dial,18)

-- Executing [1-dial@macro-trunkdial-failover-0.3:18] GotoIf("PJSIP/103-00000002", "0?forking:outbound-dial") in new stack

-- Goto (macro-trunkdial-failover-0.3,1-dial,20)

-- Executing [1-dial@macro-trunkdial-failover-0.3:20] Dial("PJSIP/103-00000002", "PJSIP/2980000@trunk-SIP_KZ-endpoint,,tTKkWwXxb(add_diversion,add_diversion,1)") in new stack

[2017-10-18 09:01:33] WARNING[31604][C-00000001]: rtp_engine.c:1316 ast_rtp_instance_early_bridge_make_compatible: Seeded SDP of 'PJSIP/trunk-SIP_KZ-endpoint-00000003'[annexb 0] with that of 'PJSIP/103-00000002'[annexb -1]

-- PJSIP/trunk-SIP_KZ-endpoint-00000003 Internal Gosub(add_diversion,add_diversion,1) start

-- Executing [add_diversion@add_diversion:1] GotoIf("PJSIP/trunk-SIP_KZ-endpoint-00000003", "0?2:3") in new stack

-- Goto (add_diversion,add_diversion,3)

-- Executing [add_diversion@add_diversion:3] NoOp("PJSIP/trunk-SIP_KZ-endpoint-00000003", "end add diversion") in new stack

[2017-10-18 09:01:33] NOTICE[31604][C-00000001]: app_stack.c:1082 gosub_run: PJSIP/trunk-SIP_KZ-endpoint-00000003 Abnormal 'Gosub(add_diversion,add_diversion,1)' exit. Popping routine return locations.

== Using SIP RTP Audio TOS bits 184

== Using SIP RTP Audio CoS mark 5

-- Called PJSIP/2980000@trunk-SIP_KZ-endpoint

== Everyone is busy/congested at this time (1:0/0/1)

== Setting global variable 'DIALSTATUS' to 'CHANUNAVAIL'

-- Executing [1-dial@macro-trunkdial-failover-0.3:21] NoOp("PJSIP/103-00000002", "CHANUNAVAIL") in new stack

-- Executing [1-dial@macro-trunkdial-failover-0.3:22] Goto("PJSIP/103-00000002", "1-CHANUNAVAIL,1") in new stack

-- Goto (macro-trunkdial-failover-0.3,1-CHANUNAVAIL,1)

-- Executing [1-CHANUNAVAIL@macro-trunkdial-failover-0.3:1] Set("PJSIP/103-00000002", "DLSTAT=9-CHANUNAVAIL") in new stack

-- Executing [1-CHANUNAVAIL@macro-trunkdial-failover-0.3:2] Goto("PJSIP/103-00000002", "addevent,1)") in new stack

-- Goto (macro-trunkdial-failover-0.3,addevent,1)

-- Executing [addevent@macro-trunkdial-failover-0.3:1] GotoIf("PJSIP/103-00000002", "0?4:2") in new stack

-- Goto (macro-trunkdial-failover-0.3,addevent,2)

-- Executing [addevent@macro-trunkdial-failover-0.3:2] Set("PJSIP/103-00000002", "EVENTCONTEXT=provider=trunk-SIP_KZ-endpoint&destnumber=2980000&srcnumber=103") in new stack

-- Executing [addevent@macro-trunkdial-failover-0.3:3] AGI("PJSIP/103-00000002", "/ysbin/eventadd,2002,provider=trunk-SIP_KZ-endpoint&destnumber=2980000&srcnumber=103") in new stack

-- Launched AGI Script /ysbin/eventadd

-- <PJSIP/103-00000002>AGI Script /ysbin/eventadd completed, returning 0

-- Executing [addevent@macro-trunkdial-failover-0.3:4] Goto("PJSIP/103-00000002", "9-CHANUNAVAIL,1") in new stack

-- Goto (macro-trunkdial-failover-0.3,9-CHANUNAVAIL,1)

-- Executing [9-CHANUNAVAIL@macro-trunkdial-failover-0.3:1] GotoIf("PJSIP/103-00000002", "0?3:2") in new stack

-- Goto (macro-trunkdial-failover-0.3,9-CHANUNAVAIL,2)

-- Executing [9-CHANUNAVAIL@macro-trunkdial-failover-0.3:2] UserEvent("PJSIP/103-00000002", "CallFailed,Cause: Line unreachable") in new stack

-- Executing [9-CHANUNAVAIL@macro-trunkdial-failover-0.3:3] Playback("PJSIP/103-00000002", "record/") in new stack

> 0xc1ff5b8 -- Probation passed - setting RTP source address to 192.168.0.7:12002

[2017-10-18 09:01:33] WARNING[31604][C-00000001]: file.c:902 ast_openstream_full: File record/ does not exist in any format

[2017-10-18 09:01:33] WARNING[31604][C-00000001]: file.c:1228 ast_streamfile: Unable to open record/ (format (ulaw)): No such file or directory

-- Executing [9-CHANUNAVAIL@macro-trunkdial-failover-0.3:4] Hangup("PJSIP/103-00000002", "") in new stack

== Spawn extension (macro-trunkdial-failover-0.3, 9-CHANUNAVAIL, 4) exited non-zero on 'PJSIP/103-00000002' in macro 'trunkdial-failover-0.3'

== Spawn extension (DLPN_DialPlan103, 2980000, 12) exited non-zero on 'PJSIP/103-00000002'

-- Executing [h@DLPN_DialPlan103:1] Hangup("PJSIP/103-00000002", "") in new stack

== Spawn extension (DLPN_DialPlan103, h, 1) exited non-zero on 'PJSIP/103-00000002'

== Parsing '/etc/asterisk/pjsip.conf': Found

== Parsing '/etc/asterisk/pjsip_auth.conf': Found

== Parsing '/etc/asterisk/pjsip_wizard.conf': Found

[2017-10-18 09:02:00] NOTICE[2132]: ysscale.c:1111 usb_exception_func: Total recv 32400 heartbeat packets from USB port 0

== Parsing '/etc/asterisk/pjsip.conf': Found
== Parsing '/etc/asterisk/pjsip_auth.conf': Found

== Parsing '/etc/asterisk/pjsip_wizard.conf': Found

== Parsing '/etc/asterisk/pjsip.conf': Found
== Parsing '/etc/asterisk/pjsip_auth.conf': Found

== Parsing '/etc/asterisk/pjsip_wizard.conf': Found

== Parsing '/etc/asterisk/pjsip.conf': Found
== Parsing '/etc/asterisk/pjsip_auth.conf': Found

== Parsing '/etc/asterisk/pjsip_wizard.conf': Found

IPPBX*CLI>

 

 

6 comments

Please sign in to leave a comment.