Asterisk Call FIle, sent to invalid extension but no invalid handler

VM_0_5_centos CLI>
VM_0_5_centos
CLI>
VM_0_5_centos CLI>
VM_0_5_centos
CLI>
VM_0_5_centos CLI>
VM_0_5_centos
CLI>
[2020-05-20 17:06:49] WARNING[3639]: chan_sip.c:4178 retrans_pkt: Timeout on 382956171-776146539-582264111 on non-critical invite transaction.
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
[2020-05-20 17:06:50] NOTICE[3639][C-00000070]: chan_sip.c:10475 process_sdp: Received AVPF profile in audio offer but AVPF is not enabled, enabling: audio 47620 RTP/AVPF 96 97 98 0 8 18 101 99 100
– Executing [[email protected]:1] Macro(“SIP/1001-00000008”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
– Executing [[email protected]:1] Set(“SIP/1001-00000008”, “TOUCH_MONITOR=1589965610.53”) in new stack
– Executing [[email protected]:2] Set(“SIP/1001-00000008”, “AMPUSER=1001”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/1001-00000008”, “0?report”) in new stack
– Executing [[email protected]:4] ExecIf(“SIP/1001-00000008”, “1?Set(REALCALLERIDNUM=1001)”) in new stack
– Executing [[email protected]:5] Set(“SIP/1001-00000008”, “AMPUSER=1001”) in new stack
– Executing [[email protected]:6] GotoIf(“SIP/1001-00000008”, “0?limit”) in new stack
– Executing [[email protected]:7] Set(“SIP/1001-00000008”, “AMPUSERCIDNAME=1001”) in new stack
– Executing [[email protected]:8] GotoIf(“SIP/1001-00000008”, “0?report”) in new stack
– Executing [[email protected]:9] Set(“SIP/1001-00000008”, “AMPUSERCID=1001”) in new stack
– Executing [[email protected]:10] Set(“SIP/1001-00000008”, “__DIAL_OPTIONS=tr”) in new stack
– Executing [[email protected]:11] Set(“SIP/1001-00000008”, “CALLERID(all)=“1001” <1001>”) in new stack
– Executing [[email protected]:12] GotoIf(“SIP/1001-00000008”, “0?limit”) in new stack
– Executing [[email protected]:13] ExecIf(“SIP/1001-00000008”, “1?Set(GROUP(concurrency_limit)=1001)”) in new stack
– Executing [[email protected]:14] ExecIf(“SIP/1001-00000008”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [[email protected]:15] GotoIf(“SIP/1001-00000008”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,28)
– Executing [[email protected]:28] Set(“SIP/1001-00000008”, “CALLERID(number)=1001”) in new stack
– Executing [[email protected]:29] Set(“SIP/1001-00000008”, “CALLERID(name)=1001”) in new stack
– Executing [[email protected]:30] Set(“SIP/1001-00000008”, “CDR(cnum)=1001”) in new stack
– Executing [[email protected]:31] Set(“SIP/1001-00000008”, “CDR(cnam)=1001”) in new stack
– Executing [[email protected]:32] Set(“SIP/1001-00000008”, “CHANNEL(language)=en”) in new stack
– Executing [[email protected]:2] Set(“SIP/1001-00000008”, “MOHCLASS=default”) in new stack
– Executing [[email protected]:3] Set(“SIP/1001-00000008”, “_NODEST=”) in new stack
– Executing [[email protected]:4] Gosub(“SIP/1001-00000008”, “sub-record-check,s,1(out,13237524571,)”) in new stack
– Executing [[email protected]:1] Set(“SIP/1001-00000008”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [[email protected]:2] GotoIf(“SIP/1001-00000008”, “1?check”) in new stack
– Goto (sub-record-check,s,7)
– Executing [[email protected]:7] Set(“SIP/1001-00000008”, “__MON_FMT=wav”) in new stack
– Executing [[email protected]:8] GotoIf(“SIP/1001-00000008”, “1?next”) in new stack
– Goto (sub-record-check,s,11)
– Executing [[email protected]:11] ExecIf(“SIP/1001-00000008”, “0?Return()”) in new stack
– Executing [[email protected]:12] ExecIf(“SIP/1001-00000008”, “0?Set(__REC_POLICY_MODE=)”) in new stack
– Executing [[email protected]:13] GotoIf(“SIP/1001-00000008”, “0?out,1”) in new stack
– Executing [[email protected]:14] Set(“SIP/1001-00000008”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [[email protected]:15] Set(“SIP/1001-00000008”, “NOW=1589965610”) in new stack
– Executing [[email protected]:16] Set(“SIP/1001-00000008”, “__DAY=20”) in new stack
– Executing [[email protected]:17] Set(“SIP/1001-00000008”, “__MONTH=05”) in new stack
– Executing [[email protected]:18] Set(“SIP/1001-00000008”, “__YEAR=2020”) in new stack
– Executing [[email protected]:19] Set(“SIP/1001-00000008”, “__TIMESTR=20200520-170650”) in new stack
– Executing [[email protected]:20] Set(“SIP/1001-00000008”, “__FROMEXTEN=1001”) in new stack
– Executing [[email protected]:21] Set(“SIP/1001-00000008”, “__CALLFILENAME=out-13237524571-1001-20200520-170650-1589965610.53”) in new stack
– Executing [[email protected]:22] Goto(“SIP/1001-00000008”, “out,1”) in new stack
– Goto (sub-record-check,out,1)
– Executing [[email protected]:1] ExecIf(“SIP/1001-00000008”, “1?Set(__REC_POLICY_MODE=dontcare)”) in new stack
– Executing [[email protected]:2] GosubIf(“SIP/1001-00000008”, “0?record,1(exten,13237524571,1001)”) in new stack
– Executing [[email protected]:3] Return(“SIP/1001-00000008”, “”) in new stack
– Executing [[email protected]:5] Macro(“SIP/1001-00000008”, “dialout-trunk,1,13237524571,off”) in new stack
– Executing [[email protected]:1] Set(“SIP/1001-00000008”, “DIAL_TRUNK=1”) in new stack
– Executing [[email protected]:2] GosubIf(“SIP/1001-00000008”, “0?sub-pincheck,s,1()”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/1001-00000008”, “0?disabletrunk,1”) in new stack
– Executing [[email protected]:4] Set(“SIP/1001-00000008”, “DIAL_NUMBER=13237524571”) in new stack
– Executing [[email protected]:5] Set(“SIP/1001-00000008”, “DIAL_TRUNK_OPTIONS=tr”) in new stack
– Executing [[email protected]:6] Set(“SIP/1001-00000008”, “OUTBOUND_GROUP=OUT_1”) in new stack
– Executing [[email protected]:7] GotoIf(“SIP/1001-00000008”, “1?nomax”) in new stack
– Goto (macro-dialout-trunk,s,9)
– Executing [[email protected]:9] GotoIf(“SIP/1001-00000008”, “0?skipoutcid”) in new stack
– Executing [[email protected]:10] Set(“SIP/1001-00000008”, “DIAL_TRUNK_OPTIONS=T”) in new stack
– Executing [[email protected]:11] Macro(“SIP/1001-00000008”, “outbound-callerid,1”) in new stack
– Executing [[email protected]:1] ExecIf(“SIP/1001-00000008”, “0?Set(CALLERPRES()=)”) in new stack
– Executing [[email protected]:2] ExecIf(“SIP/1001-00000008”, “0?Set(REALCALLERIDNUM=1001)”) in new stack
– Executing [[email protected]:3] GotoIf(“SIP/1001-00000008”, “1?normcid”) in new stack
– Goto (macro-outbound-callerid,s,6)
– Executing [[email protected]:6] Set(“SIP/1001-00000008”, “USEROUTCID=”) in new stack
– Executing [[email protected]nd-callerid:7] Set(“SIP/1001-00000008”, “EMERGENCYCID=”) in new stack
– Executing [[email protected]:8] Set(“SIP/1001-00000008”, “TRUNKOUTCID=nyay01”) in new stack
– Executing [[email protected]:9] GotoIf(“SIP/1001-00000008”, “1?trunkcid”) in new stack
– Goto (macro-outbound-callerid,s,14)
– Executing [[email protected]:14] ExecIf(“SIP/1001-00000008”, “1?Set(CALLERID(all)=nyay01)”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/1001-00000008”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [[email protected]:16] ExecIf(“SIP/1001-00000008”, “0?Set(CALLERID(all)=)”) in new stack
– Executing [[email protected]:17] ExecIf(“SIP/1001-00000008”, “0?Set(CALLERPRES()=prohib_passed_screen)”) in new stack
– Executing [[email protected]:18] Set(“SIP/1001-00000008”, “CDR(outbound_cnum)=”) in new stack
– Executing [[email protected]:19] Set(“SIP/1001-00000008”, “CDR(outbound_cnam)=nyay01”) in new stack
– Executing [[email protected]:12] GosubIf(“SIP/1001-00000008”, “0?sub-flp-1,s,1()”) in new stack
– Executing [[email protected]:13] Set(“SIP/1001-00000008”, “OUTNUM=13237524571”) in new stack
– Executing [[email protected]:14] Set(“SIP/1001-00000008”, “custom=SIP/vendor”) in new stack
– Executing [[email protected]:15] ExecIf(“SIP/1001-00000008”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)”) in new stack
– Executing [[email protected]:16] ExecIf(“SIP/1001-00000008”, “0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))”) in new stack
– Executing [[email protected]:17] Macro(“SIP/1001-00000008”, “dialout-trunk-predial-hook,”) in new stack
– Executing [[email protected]:1] MacroExit(“SIP/1001-00000008”, “”) in new stack
– Executing [[email protected]:18] GotoIf(“SIP/1001-00000008”, “0?bypass,1”) in new stack
– Executing [[email protected]:19] ExecIf(“SIP/1001-00000008”, “1?Set(CONNECTEDLINE(num,i)=13237524571)”) in new stack
– Executing [[email protected]:20] ExecIf(“SIP/1001-00000008”, “1?Set(CONNECTEDLINE(name,i)=CID:)”) in new stack
– Executing [[email protected]:21] GotoIf(“SIP/1001-00000008”, “0?customtrunk”) in new stack
– Executing [[email protected]:22] Dial(“SIP/1001-00000008”, “SIP/vendor/13237524571,300,T”) in new stack
== Using SIP RTP TOS bits 184
== Using SIP RTP CoS mark 5
– Called SIP/vendor/13237524571
– SIP/vendor-00000009 is ringing
– SIP/vendor-00000009 is making progress passing it to SIP/1001-00000008
[2020-05-20 17:07:03] WARNING[3639]: chan_sip.c:4178 retrans_pkt: Timeout on 832355624-2076308591-848618122 on non-critical invite transaction.
[2020-05-20 17:07:04] WARNING[3639]: chan_sip.c:4178 retrans_pkt: Timeout on 520615750-1234613708-1128012611 on non-critical invite transaction.
– SIP/vendor-00000009 is ringing
– SIP/vendor-00000009 is making progress passing it to SIP/1001-00000008
– SIP/vendor-00000009 answered SIP/1001-00000008
– Channel SIP/vendor-00000009 joined ‘simple_bridge’ basic-bridge <21d569e9-286d-4c82-bb2b-fd792d10f5bb>
– Channel SIP/1001-00000008 joined ‘simple_bridge’ basic-bridge <21d569e9-286d-4c82-bb2b-fd792d10f5bb>
VM_0_5_centos CLI>
VM_0_5_centos
CLI>
VM_0_5_centos*CLI>
– Channel SIP/1001-00000008 left ‘simple_bridge’ basic-bridge <21d569e9-286d-4c82-bb2b-fd792d10f5bb>
== Spawn extension (macro-dialout-trunk, s, 22) exited non-zero on ‘SIP/1001-00000008’ in macro ‘dialout-trunk’
== Spawn extension (from-internal, 13237524571, 5) exited non-zero on ‘SIP/1001-00000008’
– Executing [[email protected]:1] Hangup(“SIP/1001-00000008”, “”) in new stack
== Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/1001-00000008’
– Channel SIP/vendor-00000009 left ‘simple_bridge’ basic-bridge <21d569e9-286d-4c82-bb2b-fd792d10f5bb>

I don’t know who to config dial plan.

My destination number blongs china.

And this is my call file (in /var/spool/asterisk/outging):

Channel: SIP/vendor/xxxxxxxxxx
Callerid: 1001
WaitTime: 45
MaxRetries: 3
RetryTime: 300
Account: 1001
Context: default
Extension: 1001
Archive: yes

This is my outbound

As far as I am aware, FreePBX does not use the default context.

Also, this does not look like a FreePBX. What is it?

A slight technical correction, FreePBX doesn’t define a ‘default’ context, but the OP can use instead ‘from-internal’ which IS defined for his call.file

2 Likes

Three things:

  1. If this is FreePBX, we need the version numbers for FreePBX and Asterisk.
  2. Your destination must be interpretable by Asterisk. Yours (SIP/Provider/xxxxxxxx) doesn’t look correct. You can find the one that the system uses by dialing the number and reviewing the /var/log/asterisk/full log file to find out what Asterisk is using to successfully make the call and copy that.
  3. You will need to define a context that is available to your installation. If you haven’t defined a “default” context, that will not exist. So, you either need to choose a context that is defined (“from-local”, for example) or set up a default context for outbound calling.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.