Calls not conecting

Various Configs - FreePbx, Inbound Routes part 1





Various Configs - FreePbx, Inbound Routes part 2


Various Configs - FreePbx, Outbound Routes part 1;





Various Configs - FreePbx, Inbound Routes part 2;

Various Configs - FreePbx, Trunk





Various Configs - FreePbx, Vega Management Settings part 1;





Various Configs - FreePbx, Vega Management Settings part 2;


Various Configs - Vega Gateway part 1;





Various Configs - Vega Gateway part 2;


Delete the incoming trunk entirely, and add context=from-pstn to the “outgoing” one.

image

Although I don’t think this section should be there at all, if it is, there needs to be exactly the same shaped splodge in the Vega configuration, but I can’t see any splodges in that.

Removed the config in the SIP setting “Incoming Settings” and added the context "context= from-pstn to the Outgoing SIP settings. Incoming calls still route to “The Number you have called is not in service” recorded announcement. Outgoing calls just go to silence. :frowning:

The outgoing failure looks to be hardware related. There should be 48 volts, incoming to the Vega, on the FXO line, and I think it is saying that is not the case. Looking more closely, you are trying to make the call through port 3, but only port 4 has a valid voltage on it.

If it is still failing in the same way incoming it is not matching the …129 address.

However, the source port is wrong. It is 5160, not 5060, so that comes down to the suggestion to make the port insecure, or to define an inbound, but as a peer, and with an explicit port number.

Looks like I never posted the insecure suggestion, because the lack of context on the peer setting looked a sufficient cause. I did draft that might be one of the rare cases that insecure=port was actually needed.

I did cover the voltage one, before:

FXO port 4 is the only port connected to the PSTN, this should explain why FXO’s 1 - 3 show the wrong voltage.

Some progress today, incoming calls now work. However out going calls still fail, the calling extn shows “Busy Here” on the screen, and caller recieved Busy Tone. Below is the FreePbx log file Part 1;

2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [17070@from-internal:1] Macro(“PJSIP/107-00000045”, “user-callerid,LIMIT,EXTERNAL,”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:1] Set(“PJSIP/107-00000045”, “TOUCH_MONITOR=1744023468.83”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:2] Set(“PJSIP/107-00000045”, “CHANCONTEXT=”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:3] Set(“PJSIP/107-00000045”, “CHANCONTEXT=”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:4] Set(“PJSIP/107-00000045”, “CHANEXTENCONTEXT=107-00000045”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:5] Set(“PJSIP/107-00000045”, “CHANEXTEN=107-00000045”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:6] Set(“PJSIP/107-00000045”, “CALLERID(number)=107”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:7] Set(“PJSIP/107-00000045”, “AMPUSER=107”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:8] Set(“PJSIP/107-00000045”, “HOTDESCKCHAN=107-00000045”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:9] Set(“PJSIP/107-00000045”, “HOTDESKEXTEN=107”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:10] Set(“PJSIP/107-00000045”, “HOTDESKCALL=0”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:11] ExecIf(“PJSIP/107-00000045”, “0?Set(HOTDESKCALL=1)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:12] ExecIf(“PJSIP/107-00000045”, “0?Set(CALLERID(name)=)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:13] GotoIf(“PJSIP/107-00000045”, “0?report”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:14] ExecIf(“PJSIP/107-00000045”, “1?Set(REALCALLERIDNUM=107)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:15] Set(“PJSIP/107-00000045”, “AMPUSER=107”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:16] GotoIf(“PJSIP/107-00000045”, “0?limit”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:17] Set(“PJSIP/107-00000045”, “AMPUSERCIDNAME=Kitchen”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:18] ExecIf(“PJSIP/107-00000045”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:19] GotoIf(“PJSIP/107-00000045”, “0?report”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:20] Set(“PJSIP/107-00000045”, “AMPUSERCID=107”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:21] Set(“PJSIP/107-00000045”, “__DIAL_OPTIONS=HhTtr”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:22] Set(“PJSIP/107-00000045”, “CALLERID(all)=“Kitchen” <107>”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:23] ExecIf(“PJSIP/107-00000045”, “0?Set(CUSDIAL=)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:24] ExecIf(“PJSIP/107-00000045”, “0?Set(CALLERID(all)=“Kitchen” <107>)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:25] GotoIf(“PJSIP/107-00000045”, “0?limit”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:26] ExecIf(“PJSIP/107-00000045”, “1?Set(GROUP(concurrency_limit)=107)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:27] ExecIf(“PJSIP/107-00000045”, “0?Set(CHANNEL(language)=)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:28] NoOp(“PJSIP/107-00000045”, “Macro Depth is 1”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:29] GotoIf(“PJSIP/107-00000045”, “1?report2:macroerror”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx_builtins.c: Goto (macro-user-callerid,s,30)
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:30] GotoIf(“PJSIP/107-00000045”, “1?continue”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx_builtins.c: Goto (macro-user-callerid,s,49)
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:49] Set(“PJSIP/107-00000045”, “CALLERID(number)=107”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:50] Set(“PJSIP/107-00000045”, “CALLERID(name)=Kitchen”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:51] GotoIf(“PJSIP/107-00000045”, “0?cnum”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:52] Set(“PJSIP/107-00000045”, “__MCNUM=107”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:53] Set(“PJSIP/107-00000045”, “__MCNAME=Kitchen”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:54] Set(“PJSIP/107-00000045”, “__MCEXTEN=107”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:55] Set(“PJSIP/107-00000045”, “__MCORGCHAN=PJSIP/107-00000045”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:56] Set(“PJSIP/107-00000045”, “CDR(cnam)=Kitchen”) in new stack

Part 2;

[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:57] Set(“PJSIP/107-00000045”, “CDR(cnum)=107”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-user-callerid:58] Set(“PJSIP/107-00000045”, “CHANNEL(language)=en”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [17070@from-internal:2] Gosub(“PJSIP/107-00000045”, “sub-record-check,s,1(out,17070,dontcare)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@sub-record-check:1] GotoIf(“PJSIP/107-00000045”, “0?initialized”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@sub-record-check:2] Set(“PJSIP/107-00000045”, “__REC_STATUS=INITIALIZED”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@sub-record-check:3] Set(“PJSIP/107-00000045”, “NOW=1744023468”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@sub-record-check:4] Set(“PJSIP/107-00000045”, “__DAY=07”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@sub-record-check:5] Set(“PJSIP/107-00000045”, “__MONTH=04”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@sub-record-check:6] Set(“PJSIP/107-00000045”, “__YEAR=2025”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@sub-record-check:7] Set(“PJSIP/107-00000045”, “__TIMESTR=20250407-115748”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@sub-record-check:8] Set(“PJSIP/107-00000045”, “__FROMEXTEN=107”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@sub-record-check:9] Set(“PJSIP/107-00000045”, “__MON_FMT=wav”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@sub-record-check:10] NoOp(“PJSIP/107-00000045”, “Recordings initialized”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@sub-record-check:11] ExecIf(“PJSIP/107-00000045”, “0?Set(ARG3=dontcare)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@sub-record-check:12] Set(“PJSIP/107-00000045”, “REC_POLICY_MODE_SAVE=”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@sub-record-check:13] ExecIf(“PJSIP/107-00000045”, “0?Set(REC_STATUS=NO)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@sub-record-check:14] GotoIf(“PJSIP/107-00000045”, “3?checkaction”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx_builtins.c: Goto (sub-record-check,s,17)
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@sub-record-check:17] GotoIf(“PJSIP/107-00000045”, “1?sub-record-check,out,1”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx_builtins.c: Goto (sub-record-check,out,1)
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [out@sub-record-check:1] NoOp(“PJSIP/107-00000045”, “Outbound Recording Check from 107 to 17070”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [out@sub-record-check:2] Set(“PJSIP/107-00000045”, “RECMODE=dontcare”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [out@sub-record-check:3] ExecIf(“PJSIP/107-00000045”, “1?Goto(routewins)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx_builtins.c: Goto (sub-record-check,out,7)
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [out@sub-record-check:7] Gosub(“PJSIP/107-00000045”, “recordcheck,1(dontcare,out,17070)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [recordcheck@sub-record-check:1] NoOp(“PJSIP/107-00000045”, “Starting recording check against dontcare”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [recordcheck@sub-record-check:2] Goto(“PJSIP/107-00000045”, “dontcare”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx_builtins.c: Goto (sub-record-check,recordcheck,3)
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [recordcheck@sub-record-check:3] Return(“PJSIP/107-00000045”, “”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [out@sub-record-check:8] Return(“PJSIP/107-00000045”, “”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [17070@from-internal:3] ExecIf(“PJSIP/107-00000045”, “0 ?Set(CDR(accountcode)=)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [17070@from-internal:4] Set(“PJSIP/107-00000045”, “_ROUTEID=1”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [17070@from-internal:5] Set(“PJSIP/107-00000045”, “_ROUTENAME=outbound”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [17070@from-internal:6] Set(“PJSIP/107-00000045”, “MOHCLASS=default”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [17070@from-internal:7] ExecIf(“PJSIP/107-00000045”, “0?Set(TRUNKCIDOVERRIDE=01474871213)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [17070@from-internal:8] Set(“PJSIP/107-00000045”, “_CALLERIDNAMEINTERNAL=Kitchen”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [17070@from-internal:9] Set(“PJSIP/107-00000045”, “_CALLERIDNUMINTERNAL=107”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [17070@from-internal:10] Set(“PJSIP/107-00000045”, “_EMAILNOTIFICATION=FALSE”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [17070@from-internal:11] Set(“PJSIP/107-00000045”, “_NODEST=”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [17070@from-internal:12] Macro(“PJSIP/107-00000045”, “dialout-trunk,2,17070,off”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:1] Set(“PJSIP/107-00000045”, “DIAL_TRUNK=2”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:2] ExecIf(“PJSIP/107-00000045”, “0?Set(DIAL_OPTIONS=Hhtr)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:3] ExecIf(“PJSIP/107-00000045”, “0?Set(DIAL_OPTIONS=HhTr)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:4] ExecIf(“PJSIP/107-00000045”, “0?Set(DIAL_OPTIONS=Hhtr)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:5] GosubIf(“PJSIP/107-00000045”, “0?sub-pincheck,s,1()”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:6] ExecIf(“PJSIP/107-00000045”, “0?Set(CALLERID(num)=107)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:7] GotoIf(“PJSIP/107-00000045”, “0?disabletrunk,1”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:8] Set(“PJSIP/107-00000045”, “DIAL_NUMBER=17070”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:9] Set(“PJSIP/107-00000045”, “DIAL_TRUNK_OPTIONS=HhTtr”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:10] Set(“PJSIP/107-00000045”, “OUTBOUND_GROUP=OUT_2”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:11] Set(“PJSIP/107-00000045”, “DIAL_TRUNK_OPTIONS=T”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:12] ExecIf(“PJSIP/107-00000045”, “0?Set(DIAL_TRUNK_OPTIONS=)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:13] GotoIf(“PJSIP/107-00000045”, “1?nomax”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx_builtins.c: Goto (macro-dialout-trunk,s,15)
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:15] GotoIf(“PJSIP/107-00000045”, “0?skipoutcid”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:16] Macro(“PJSIP/107-00000045”, “outbound-callerid,2”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-outbound-callerid:1] NoOp(“PJSIP/107-00000045”, “107”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-outbound-callerid:2] NoOp(“PJSIP/107-00000045”, “”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-outbound-callerid:3] NoOp(“PJSIP/107-00000045”, “off”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-outbound-callerid:4] ExecIf(“PJSIP/107-00000045”, “0?Set(CALLERPRES(name-pres)=)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-outbound-callerid:5] ExecIf(“PJSIP/107-00000045”, “0?Set(CALLERPRES(num-pres)=)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-outbound-callerid:6] Set(“PJSIP/107-00000045”, “HOTDESCKCHAN=107-00000045”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-outbound-callerid:7] Set(“PJSIP/107-00000045”, “HOTDESKEXTEN=107”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-outbound-callerid:8] Set(“PJSIP/107-00000045”, “HOTDESKCALL=0”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-outbound-callerid:9] ExecIf(“PJSIP/107-00000045”, “0?Set(HOTDESKCALL=1)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-outbound-callerid:10] ExecIf(“PJSIP/107-00000045”, “0?Set(CALLERID(name)=)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-outbound-callerid:11] Set(“PJSIP/107-00000045”, “ALLOWTHISROUTE=NO”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-outbound-callerid:12] ExecIf(“PJSIP/107-00000045”, “0?Set(ALLOWTHISROUTE=YES)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-outbound-callerid:13] ExecIf(“PJSIP/107-00000045”, “0?Hangup()”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-outbound-callerid:14] ExecIf(“PJSIP/107-00000045”, “0?Set(REALCALLERIDNUM=107)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-outbound-callerid:15] ExecIf(“PJSIP/107-00000045”, “0?Set(AMPUSER=107)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-outbound-callerid:16] GotoIf(“PJSIP/107-00000045”, “1?normcid”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx_builtins.c: Goto (macro-outbound-callerid,s,20)
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-outbound-callerid:20] Set(“PJSIP/107-00000045”, “USEROUTCID=107”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-outbound-callerid:21] Set(“PJSIP/107-00000045”, “EMERGENCYCID=”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-outbound-callerid:22] ExecIf(“PJSIP/107-00000045”, “0?Set(EMERGENCYCID=)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-outbound-callerid:23] Set(“PJSIP/107-00000045”, “TRUNKOUTCID=01474871213”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-outbound-callerid:24] GotoIf(“PJSIP/107-00000045”, “1?trunkcid”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx_builtins.c: Goto (macro-outbound-callerid,s,30)
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-outbound-callerid:30] ExecIf(“PJSIP/107-00000045”, “1?Set(CALLERID(all)=01474******)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-outbound-callerid:31] ExecIf(“PJSIP/107-00000045”, “1?Set(CALLERID(all)=107)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-outbound-callerid:32] ExecIf(“PJSIP/107-00000045”, “0?Set(CALLERID(all)=)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-outbound-callerid:33] ExecIf(“PJSIP/107-00000045”, “0?Set(CALLERID(all)=107)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-outbound-callerid:34] ExecIf(“PJSIP/107-00000045”, “0?Set(CALLERID(all)=107)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-outbound-callerid:35] Set(“PJSIP/107-00000045”, “TIOHIDE=no”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-outbound-callerid:36] ExecIf(“PJSIP/107-00000045”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-outbound-callerid:37] ExecIf(“PJSIP/107-00000045”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-outbound-callerid:38] ExecIf(“PJSIP/107-00000045”, “0?Set(CALLERPRES(name-pres)=prohib_passed_screen)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-outbound-callerid:39] ExecIf(“PJSIP/107-00000045”, “0?Set(CALLERPRES(num-pres)=prohib_passed_screen)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-outbound-callerid:40] Set(“PJSIP/107-00000045”, “CDR(outbound_cnum)=107”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-outbound-callerid:41] Set(“PJSIP/107-00000045”, “CDR(outbound_cnam)=”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:17] GosubIf(“PJSIP/107-00000045”, “0?sub-flp-2,s,1()”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:18] Set(“PJSIP/107-00000045”, “OUTNUM=xxxxxxxxxxxxx17070”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:19] Set(“PJSIP/107-00000045”, “custom=PJSIP”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:20] ExecIf(“PJSIP/107-00000045”, “0?Set(DIAL_TRUNK_OPTIONS=M(setmusic^default)T)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:21] ExecIf(“PJSIP/107-00000045”, “0?Set(DIAL_TRUNK_OPTIONS=TM(confirm))”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:22] ExecIf(“PJSIP/107-00000045”, “0?AGI(allowlist-autoadd.agi,)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:23] Macro(“PJSIP/107-00000045”, “dialout-trunk-predial-hook,”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk-predial-hook:1] MacroExit(“PJSIP/107-00000045”, “”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:24] GotoIf(“PJSIP/107-00000045”, “0?skipcrm”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:25] Set(“PJSIP/107-00000045”, “__CRM_DIRECTION=OUTBOUND”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:26] Set(“PJSIP/107-00000045”, “__CRM_DESTINATION=xxxxxxxxxxxxx17070”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:27] Set(“PJSIP/107-00000045”, “__CRM_SOURCE=107”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:28] AGI(“PJSIP/107-00000045”, “sangomacrm.agi”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] res_agi.c: <PJSIP/107-00000045>AGI Script sangomacrm.agi completed, returning 0
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:29] Set(“PJSIP/107-00000045”, “CHANNEL(hangup_handler_push)=crm-hangup,s,1”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:30] NoOp(“PJSIP/107-00000045”, “CRM Finished”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:31] GotoIf(“PJSIP/107-00000045”, “0?bypass,1”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:32] ExecIf(“PJSIP/107-00000045”, “1?Set(CONNECTEDLINE(num,i)=17070)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:33] ExecIf(“PJSIP/107-00000045”, “1?Set(CONNECTEDLINE(name,i)=CID:107)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:34] ExecIf(“PJSIP/107-00000045”, “0?Set(CONNECTEDLINE(name,i)=CID:(Hidden)107)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:35] GotoIf(“PJSIP/107-00000045”, “0?customtrunk”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:36] ExecIf(“PJSIP/107-00000045”, “0?Set(DIAL_TRUNK_OPTIONS=)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:37] Set(“PJSIP/107-00000045”, “HASH(__SIPHEADERS,Alert-Info)=unset”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:38] Dial(“PJSIP/107-00000045”, “PJSIP/xxxxxxxxxxxxx17070@Vega_SIP_Outbound,300,Tb(func-apply-sipheaders^s^1,(2))U(sub-send-obroute-email^17070^17070^2^1744023468^^107)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] app_stack.c: PJSIP/Vega_SIP_Outbound-00000046 Internal Gosub(func-apply-sipheaders,s,1(2)) start
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@func-apply-sipheaders:1] ExecIf(“PJSIP/Vega_SIP_Outbound-00000046”, “0?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@func-apply-sipheaders:2] NoOp(“PJSIP/Vega_SIP_Outbound-00000046”, “Applying SIP Headers to channel PJSIP/Vega_SIP_Outbound-00000046”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@func-apply-sipheaders:3] Set(“PJSIP/Vega_SIP_Outbound-00000046”, “localchan=Vega_SIP_Outbound-00000046”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@func-apply-sipheaders:4] Set(“PJSIP/Vega_SIP_Outbound-00000046”, “DialMCEXT=Vega_SIP_Outbound”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@func-apply-sipheaders:5] Set(“PJSIP/Vega_SIP_Outbound-00000046”, “CHANNEL(hangup_handler_push)=app-missedcall-hangup,Vega_SIP_Outbound,1”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@func-apply-sipheaders:6] Set(“PJSIP/Vega_SIP_Outbound-00000046”, “TECH=PJSIP”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@func-apply-sipheaders:7] Set(“PJSIP/Vega_SIP_Outbound-00000046”, “SIPHEADERKEYS=Alert-Info”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@func-apply-sipheaders:8] While(“PJSIP/Vega_SIP_Outbound-00000046”, “1”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@func-apply-sipheaders:9] Set(“PJSIP/Vega_SIP_Outbound-00000046”, “sipheader=unset”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@func-apply-sipheaders:10] ExecIf(“PJSIP/Vega_SIP_Outbound-00000046”, “0?SIPRemoveHeader(Alert-Info:)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@func-apply-sipheaders:11] ExecIf(“PJSIP/Vega_SIP_Outbound-00000046”, “1?Set(PJSIP_HEADER(remove,Alert-Info)=)”) in new stack
[2025-04-07 11:57:48] ERROR[4393] res_pjsip_header_funcs.c: No headers had been previously added to this session.
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@func-apply-sipheaders:12] ExecIf(“PJSIP/Vega_SIP_Outbound-00000046”, “0?Set(sipheader=http://127.0.0.1;info=unset)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@func-apply-sipheaders:13] ExecIf(“PJSIP/Vega_SIP_Outbound-00000046”, “0?Set(sipheader=http://127.0.0.1unset)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@func-apply-sipheaders:14] ExecIf(“PJSIP/Vega_SIP_Outbound-00000046”, “0?SIPAddHeader(Alert-Info:unset)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@func-apply-sipheaders:15] ExecIf(“PJSIP/Vega_SIP_Outbound-00000046”, “0?Set(PJSIP_HEADER(add,Alert-Info)=unset)”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@func-apply-sipheaders:16] EndWhile(“PJSIP/Vega_SIP_Outbound-00000046”, “”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@func-apply-sipheaders:8] While(“PJSIP/Vega_SIP_Outbound-00000046”, “0”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [s@func-apply-sipheaders:17] Return(“PJSIP/Vega_SIP_Outbound-00000046”, “”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] app_stack.c: Spawn extension (to-pstn, 17070, 1) exited non-zero on ‘PJSIP/Vega_SIP_Outbound-00000046’
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] app_stack.c: PJSIP/Vega_SIP_Outbound-00000046 Internal Gosub(func-apply-sipheaders,s,1(2)) complete GOSUB_RETVAL=
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] app_dial.c: Called PJSIP/xxxxxxxxxxxxx17070@Vega_SIP_Outbound
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] app_stack.c: PJSIP/Vega_SIP_Outbound-00000046 Internal Gosub(app-missedcall-hangup,Vega_SIP_Outbound,1) start
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [Vega_SIP_Outbound@app-missedcall-hangup:1] NoOp(“PJSIP/Vega_SIP_Outbound-00000046”, “Dialed: Vega_SIP_Outbound”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [Vega_SIP_Outbound@app-missedcall-hangup:2] NoOp(“PJSIP/Vega_SIP_Outbound-00000046”, “Caller: 107”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [Vega_SIP_Outbound@app-missedcall-hangup:3] GotoIf(“PJSIP/Vega_SIP_Outbound-00000046”, “0?exit”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [Vega_SIP_Outbound@app-missedcall-hangup:4] Set(“PJSIP/Vega_SIP_Outbound-00000046”, “EXTENNUM=Vega_SIP_Outbound”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [Vega_SIP_Outbound@app-missedcall-hangup:5] Set(“PJSIP/Vega_SIP_Outbound-00000046”, “FEXTENNUM=Vega_SIP_Outbound”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [Vega_SIP_Outbound@app-missedcall-hangup:6] GotoIf(“PJSIP/Vega_SIP_Outbound-00000046”, “0?exit”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] pbx.c: Executing [Vega_SIP_Outbound@app-missedcall-hangup:7] AGI(“PJSIP/Vega_SIP_Outbound-00000046”, “missedcallnotify.php,Vega_SIP_Outbound,Vega_SIP_Outbound,0,PJSIP/Vega_SIP_Outbound-00000046,”) in new stack
[2025-04-07 11:57:48] VERBOSE[19702][C-00000025] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/missedcallnotify.php
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] res_agi.c: <PJSIP/Vega_SIP_Outbound-00000046>AGI Script missedcallnotify.php completed, returning 0
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Executing [Vega_SIP_Outbound@app-missedcall-hangup:8] Return(“PJSIP/Vega_SIP_Outbound-00000046”, “”) in new stack
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] app_stack.c: Spawn extension (to-pstn, 17070, 1) exited non-zero on ‘PJSIP/Vega_SIP_Outbound-00000046’
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] app_stack.c: PJSIP/Vega_SIP_Outbound-00000046 Internal Gosub(app-missedcall-hangup,Vega_SIP_Outbound,1) complete GOSUB_RETVAL=
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] app_dial.c: Everyone is busy/congested at this time (1:0/0/1)
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:39] NoOp(“PJSIP/107-00000045”, “Dial failed for some reason with DIALSTATUS = CHANUNAVAIL and HANGUPCAUSE = 1”) in new stack
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-dialout-trunk:40] GotoIf(“PJSIP/107-00000045”, “0?continue,1:s-CHANUNAVAIL,1”) in new stack
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx_builtins.c: Goto (macro-dialout-trunk,s-CHANUNAVAIL,1)
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Executing [s-CHANUNAVAIL@macro-dialout-trunk:1] Set(“PJSIP/107-00000045”, “RC=1”) in new stack
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Executing [s-CHANUNAVAIL@macro-dialout-trunk:2] Goto(“PJSIP/107-00000045”, “1,1”) in new stack
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx_builtins.c: Goto (macro-dialout-trunk,1,1)
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Executing [1@macro-dialout-trunk:1] Goto(“PJSIP/107-00000045”, “s-INVALIDNMBR,1”) in new stack
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx_builtins.c: Goto (macro-dialout-trunk,s-INVALIDNMBR,1)
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Executing [s-INVALIDNMBR@macro-dialout-trunk:1] NoOp(“PJSIP/107-00000045”, “Dial failed due to trunk reporting Address Incomplete - giving up”) in new stack
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Executing [s-INVALIDNMBR@macro-dialout-trunk:2] Progress(“PJSIP/107-00000045”, “”) in new stack
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Executing [s-INVALIDNMBR@macro-dialout-trunk:3] PlayTones(“PJSIP/107-00000045”, “congestion”) in new stack
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Executing [s-INVALIDNMBR@macro-dialout-trunk:4] Busy(“PJSIP/107-00000045”, “20”) in new stack
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] app_macro.c: Spawn extension (macro-dialout-trunk, s-INVALIDNMBR, 4) exited non-zero on ‘PJSIP/107-00000045’ in macro ‘dialout-trunk’
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Spawn extension (from-internal, 17070, 12) exited non-zero on ‘PJSIP/107-00000045’
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Executing [h@from-internal:1] Macro(“PJSIP/107-00000045”, “hangupcall”) in new stack
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-hangupcall:1] Set(“PJSIP/107-00000045”, “__MCVMSTATUS=”) in new stack
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-hangupcall:2] Gosub(“PJSIP/107-00000045”, “app-missedcall-hangup,s,1()”) in new stack
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Executing [s@app-missedcall-hangup:1] NoOp(“PJSIP/107-00000045”, “Dialed: s”) in new stack
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Executing [s@app-missedcall-hangup:2] NoOp(“PJSIP/107-00000045”, “Caller: 107”) in new stack
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Executing [s@app-missedcall-hangup:3] GotoIf(“PJSIP/107-00000045”, “0?exit”) in new stack
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Executing [s@app-missedcall-hangup:4] Set(“PJSIP/107-00000045”, “EXTENNUM=s”) in new stack
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Executing [s@app-missedcall-hangup:5] Set(“PJSIP/107-00000045”, “FEXTENNUM=s”) in new stack
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Executing [s@app-missedcall-hangup:6] GotoIf(“PJSIP/107-00000045”, “0?exit”) in new stack
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Executing [s@app-missedcall-hangup:7] AGI(“PJSIP/107-00000045”, “missedcallnotify.php,s,s,0,PJSIP/107-00000045,CHANUNAVAIL,”) in new stack
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/missedcallnotify.php
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] res_agi.c: <PJSIP/107-00000045>AGI Script missedcallnotify.php completed, returning 0
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Executing [s@app-missedcall-hangup:8] Return(“PJSIP/107-00000045”, “”) in new stack
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-hangupcall:3] GotoIf(“PJSIP/107-00000045”, “1?theend”) in new stack
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx_builtins.c: Goto (macro-hangupcall,s,5)
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-hangupcall:5] ExecIf(“PJSIP/107-00000045”, “0?Set(CDR(recordingfile)=)”) in new stack
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Executing [s@macro-hangupcall:6] Hangup(“PJSIP/107-00000045”, “”) in new stack
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] app_macro.c: Spawn extension (macro-hangupcall, s, 6) exited non-zero on ‘PJSIP/107-00000045’ in macro ‘hangupcall’
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘PJSIP/107-00000045’
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] app_stack.c: PJSIP/107-00000045 Internal Gosub(crm-hangup,s,1) start
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Executing [s@crm-hangup:1] NoOp(“PJSIP/107-00000045”, “Sending Hangup to CRM”) in new stack
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Executing [s@crm-hangup:2] NoOp(“PJSIP/107-00000045”, “HANGUP CAUSE: 17”) in new stack
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Executing [s@crm-hangup:3] ExecIf(“PJSIP/107-00000045”, “0?Set(__CRM_VOICEMAIL=)”) in new stack
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Executing [s@crm-hangup:4] NoOp(“PJSIP/107-00000045”, “MASTER CHANNEL: 1744023468.83 = 1744023468.83”) in new stack
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Executing [s@crm-hangup:5] GotoIf(“PJSIP/107-00000045”, “0?return”) in new stack
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Executing [s@crm-hangup:6] Set(“PJSIP/107-00000045”, “__CRM_HANGUP=1”) in new stack
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Executing [s@crm-hangup:7] AGI(“PJSIP/107-00000045”, “sangomacrm.agi”) in new stack
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] res_agi.c: Launched AGI Script /var/lib/asterisk/agi-bin/sangomacrm.agi
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] res_agi.c: <PJSIP/107-00000045>AGI Script sangomacrm.agi completed, returning 0
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] pbx.c: Executing [s@crm-hangup:8] Return(“PJSIP/107-00000045”, “”) in new stack
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] app_stack.c: Spawn extension (from-internal, h, 1) exited non-zero on ‘PJSIP/107-00000045’
[2025-04-07 11:57:49] VERBOSE[19702][C-00000025] app_stack.c: PJSIP/107-00000045 Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=

Maybe this is a pointer;

pbx.c: Executing [s-INVALIDNMBR@macro-dialout-trunk:1] NoOp(“PJSIP/107-00000045”, “Dial failed due to trunk reporting Address Incomplete - giving up”) in new stack

This is the event log from the Vega

LOG: 07/04/2025 12:18:39.800 ROUTER (A)Rb0C00 FINDROUTE: rejected; no route
← SIP [2,1] dest=NAME:xxxxxxxxxxxxx17070,TEL:17070

LOG: 07/04/2025 12:18:39.800 ROUTER (I)R07C00 no route to destination
call ref=[01d0001f]

LOG: 07/04/2025 12:18:39.800 SIP (I)R04C10 disconnect(disc req) 1
call ref=[01d0001f]

There’s no rule in the Vega telling it that 17070 is a valid and complete number, or you are sending 17070 to it, when you shouldn’t be.

The following is the line indicating that it was trying to use port 3, not port 4:

I assume the 3 in POTS[3,1] indicates that it has decided to sent the call out through port 3.

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