Hello good Morning.
I really did not ride this Asterisk, and I do not know very well how it is created, but let's see if you can help me.
I have several SIP extensions, with the Jitsi client, which can make calls to Spain and between extensions, but I can not call abroad. Jump with the message 'The number is not answering'.
I have two active truncals:
PowerVoIP | pjsip | +3493XXXXXXX |
Movistar_Antiguo | sip | 93XXXXXX |
I have three outbound routes:
ext_goip 6XXXXXXX
ext_powervoip +3493XXXXXXX
ext_fijo 93XXXXXXX
And the Dial Patterns I have empty or with a period (.) To accept what is put.
I attach a bit (since I see the first error) of the error trace given by the Asterisk LogFile:
[2017-07-04 17:36:21] WARNING[1647] func_cdr.c: CDR requires a value (CDR(variable)=value)
)[2017-07-04 17:36:21] VERBOSE[31135][C-00000041] pbx.c: Executing [s@macro-dialout-trunk:12] GosubIf("PJSIP/104-00000082", "1?sub-flp-4,s,1()") in new stack
[2017-07-04 17:36:21] VERBOSE[31135][C-00000041] pbx.c: Executing [s@sub-flp-4:1] ExecIf("PJSIP/104-00000082", "1?Return()") in new stack
[2017-07-04 17:36:21] VERBOSE[31135][C-00000041] pbx.c: Executing [s@macro-dialout-trunk:13] Set("PJSIP/104-00000082", "OUTNUM=79111032452") in new stack
[2017-07-04 17:36:21] VERBOSE[31135][C-00000041] pbx.c: Executing [s@macro-dialout-trunk:14] Set("PJSIP/104-00000082", "custom=PJSIP") in new stack
[2017-07-04 17:36:21] VERBOSE[31135][C-00000041] pbx.c: Executing [s@macro-dialout-trunk:15] ExecIf("PJSIP/104-00000082", "0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)Tt)") in new stack
[2017-07-04 17:36:21] VERBOSE[31135][C-00000041] pbx.c: Executing [s@macro-dialout-trunk:16] ExecIf("PJSIP/104-00000082", "0?Set(DIAL_TRUNK_OPTIONS=TtM(confirm))") in new stack
[2017-07-04 17:36:21] VERBOSE[31135][C-00000041] pbx.c: Executing [s@macro-dialout-trunk:17] Macro("PJSIP/104-00000082", "dialout-trunk-predial-hook,") in new stack
[2017-07-04 17:36:21] VERBOSE[31135][C-00000041] pbx.c: Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit("PJSIP/104-00000082", "") in new stack
[2017-07-04 17:36:21] VERBOSE[31135][C-00000041] pbx.c: Executing [s@macro-dialout-trunk:18] GotoIf("PJSIP/104-00000082", "0?bypass,1") in new stack
[2017-07-04 17:36:21] VERBOSE[31135][C-00000041] pbx.c: Executing [s@macro-dialout-trunk:19] ExecIf("PJSIP/104-00000082", "1?Set(CONNECTEDLINE(num,i)=79111032452)") in new stack
[2017-07-04 17:36:21] VERBOSE[31135][C-00000041] pbx.c: Executing [s@macro-dialout-trunk:20] ExecIf("PJSIP/104-00000082", "1?Set(CONNECTEDLINE(name,i)=CID:+3493XXXXXXX)") in new stack
[2017-07-04 17:36:21] VERBOSE[31135][C-00000041] pbx.c: Executing [s@macro-dialout-trunk:21] ExecIf("PJSIP/104-00000082", "0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)+3493XXXXXXX)") in new stack
[2017-07-04 17:36:21] VERBOSE[31135][C-00000041] pbx.c: Executing [s@macro-dialout-trunk:22] GotoIf("PJSIP/104-00000082", "0?customtrunk") in new stack
[2017-07-04 17:36:21] VERBOSE[31135][C-00000041] pbx.c: Executing [s@macro-dialout-trunk:23] Dial("PJSIP/104-00000082", "PJSIP/79111032452@PowerVoIP,300,Tt") in new stack
[2017-07-04 17:36:21] VERBOSE[31135][C-00000041] app_dial.c: Called PJSIP/79111032452@PowerVoIP
[2017-07-04 17:36:27] VERBOSE[31135][C-00000041] app_dial.c: No one is available to answer at this time (1:0/0/0)
[2017-07-04 17:36:27] VERBOSE[31135][C-00000041] pbx.c: Executing [s@macro-dialout-trunk:24] NoOp("PJSIP/104-00000082", "Dial failed for some reason with DIALSTATUS = NOANSWER and HANGUPCAUSE = 19") in new stack
[2017-07-04 17:36:27] VERBOSE[31135][C-00000041] pbx.c: Executing [s@macro-dialout-trunk:25] GotoIf("PJSIP/104-00000082", "0?continue,1:s-NOANSWER,1") in new stack
[2017-07-04 17:36:27] VERBOSE[31135][C-00000041] pbx.c: Goto (macro-dialout-trunk,s-NOANSWER,1)
[2017-07-04 17:36:27] VERBOSE[31135][C-00000041] pbx.c: Executing [s-NOANSWER@macro-dialout-trunk:1] NoOp("PJSIP/104-00000082", "Dial failed due to trunk reporting NOANSWER - giving up") in new stack
[2017-07-04 17:36:27] VERBOSE[31135][C-00000041] pbx.c: Executing [s-NOANSWER@macro-dialout-trunk:2] Progress("PJSIP/104-00000082", "") in new stack
[2017-07-04 17:36:27] VERBOSE[31135][C-00000041] pbx.c: Executing [s-NOANSWER@macro-dialout-trunk:3] Playback("PJSIP/104-00000082", "number-not-answering,noanswer") in new stack
[2017-07-04 17:36:27] VERBOSE[31135][C-00000041] file.c: <PJSIP/104-00000082> Playing 'number-not-answering.slin' (language 'en')
[2017-07-04 17:36:28] VERBOSE[31135][C-00000041] pbx.c: Executing [s-NOANSWER@macro-dialout-trunk:4] Congestion("PJSIP/104-00000082", "20") in new stack
[2017-07-04 17:36:28] WARNING[31135][C-00000041] channel.c: Prodding channel 'PJSIP/104-00000082' failed
[2017-07-04 17:36:28] VERBOSE[31135][C-00000041] app_macro.c: Spawn extension (macro-dialout-trunk, s-NOANSWER, 4) exited non-zero on 'PJSIP/104-00000082' in macro 'dialout-trunk'
[2017-07-04 17:36:28] VERBOSE[31135][C-00000041] pbx.c: Spawn extension (from-internal, 079111032452, 7) exited non-zero on 'PJSIP/104-00000082'
[2017-07-04 17:36:28] VERBOSE[31135][C-00000041] pbx.c: Executing [h@from-internal:1] Macro("PJSIP/104-00000082", "hangupcall") in new stack
[2017-07-04 17:36:28] VERBOSE[31135][C-00000041] pbx.c: Executing [s@macro-hangupcall:1] GotoIf("PJSIP/104-00000082", "1?theend") in new stack
[2017-07-04 17:36:28] VERBOSE[31135][C-00000041] pbx.c: Goto (macro-hangupcall,s,3)
[2017-07-04 17:36:28] VERBOSE[31135][C-00000041] pbx.c: Executing [s@macro-hangupcall:3] ExecIf("PJSIP/104-00000082", "0?Set(CDR(recordingfile)=)") in new stack
[2017-07-04 17:36:28] VERBOSE[31135][C-00000041] pbx.c: Executing [s@macro-hangupcall:4] Hangup("PJSIP/104-00000082", "") in new stack
[2017-07-04 17:36:28] VERBOSE[31135][C-00000041] app_macro.c: Spawn extension (macro-hangupcall, s, 4) exited non-zero on 'PJSIP/104-00000082' in macro 'hangupcall'
[2017-07-04 17:36:28] VERBOSE[31135][C-00000041] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on 'PJSIP/104-00000082'
[2017-07-04 17:36:28] VERBOSE[31136][C-00000041] app_mixmonitor.c: MixMonitor close filestream (mixed)
[2017-07-04 17:36:28] VERBOSE[31136][C-00000041] app_mixmonitor.c: End MixMonitor Recording PJSIP/104-00000082
Thank you very much in advance.
a greeting