I am running Asterisk 16.0.0 and Freepbx 14.0.5.2
My current setup is as follows – Asterisk is hosted on a cloud VM with a public IP
Asterisk is running fine as are the endpoints
All endpoints connect to Asterisk via PJSIP and i am able to make outbound calls and complete an echo test from each endpoint
Here is an example of what my endpoints look like in the CLI
Endpoint: 121/121 Not in use 0 of inf
InAuth: 121-auth/121
Aor: 121 1
Contact: 121/sip:[email protected]:47329;transport=TL c0eea25396 Avail 17.906
Transport: 0.0.0.0-tls tls 3 96 0.0.0.0:5061
Fine
My issue is that when i try to call from extension to extension or if i make a call to my DID and then try to connect to an extension the result is straight to VM
Here is the call log:
== Using SIP RTP Audio TOS bits 184
== Using SIP RTP Audio CoS mark 5
– Executing [[email protected]:1] GotoIf(“PJSIP/121-0000000d”, “1?ext-local,125,1:followme-check,125,1”) in new stack
– Goto (ext-local,125,1)
– Executing [[email protected]:1] Set(“PJSIP/121-0000000d”, “__RINGTIMER=15”) in new stack
– Executing [[email protected]:2] Macro(“PJSIP/121-0000000d”, “exten-vm,125,125,0,0,0”) in new stack
– Executing [[email protected]:1] Macro(“PJSIP/121-0000000d”, “user-callerid,”) in new stack
– Executing [[email protected]:1] Set(“PJSIP/121-0000000d”, “TOUCH_MONITOR=1544208882.13”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/121-0000000d”, “AMPUSER=121”) in new stack
– Executing [[email protected]:3] GotoIf(“PJSIP/121-0000000d”, “0?report”) in new stack
– Executing [[email protected]:4] ExecIf(“PJSIP/121-0000000d”, “1?Set(REALCALLERIDNUM=121)”) in new stack
– Executing [[email protected]:5] Set(“PJSIP/121-0000000d”, “AMPUSER=121”) in new stack
– Executing [[email protected]:6] GotoIf(“PJSIP/121-0000000d”, “0?limit”) in new stack
– Executing [[email protected]:7] Set(“PJSIP/121-0000000d”, “AMPUSERCIDNAME=xxx”) in new stack
– Executing [[email protected]:8] ExecIf(“PJSIP/121-0000000d”, “0?Set(__CIDMASQUERADING=TRUE)”) in new stack
– Executing [[email protected]:9] GotoIf(“PJSIP/121-0000000d”, “0?report”) in new stack
– Executing [[email protected]:10] Set(“PJSIP/121-0000000d”, “AMPUSERCID=121”) in new stack
– Executing [[email protected]:11] Set(“PJSIP/121-0000000d”, “__DIAL_OPTIONS=HhTtr”) in new stack
– Executing [[email protected]:12] Set(“PJSIP/121-0000000d”, “CALLERID(all)=“Asher Toporovsky” <121>”) in new stack
– Executing [[email protected]:13] GotoIf(“PJSIP/121-0000000d”, “0?limit”) in new stack
– Executing [[email protected]:14] ExecIf(“PJSIP/121-0000000d”, “0?Set(GROUP(concurrency_limit)=121)”) in new stack
– Executing [[email protected]:15] NoOp(“PJSIP/121-0000000d”, “Macro Depth is 2”) in new stack
– Executing [[email protected]:16] GotoIf(“PJSIP/121-0000000d”, “1?report2:macroerror”) in new stack
– Goto (macro-user-callerid,s,17)
– Executing [[email protected]:17] GotoIf(“PJSIP/121-0000000d”, “0?continue”) in new stack
– Executing [[email protected]:18] Set(“PJSIP/121-0000000d”, “__TTL=64”) in new stack
– Executing [[email protected]:19] GotoIf(“PJSIP/121-0000000d”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,35)
– Executing [[email protected]:35] Set(“PJSIP/121-0000000d”, “CALLERID(number)=121”) in new stack
– Executing [[email protected]:36] Set(“PJSIP/121-0000000d”, “CALLERID(name)=Asher Toporovsky”) in new stack
– Executing [[email protected]:37] GotoIf(“PJSIP/121-0000000d”, “0?cnum”) in new stack
– Executing [[email protected]:38] Set(“PJSIP/121-0000000d”, “CDR(cnam)=Asher Toporovsky”) in new stack
– Executing [[email protected]:39] Set(“PJSIP/121-0000000d”, “CDR(cnum)=121”) in new stack
– Executing [[email protected]:40] Set(“PJSIP/121-0000000d”, “CHANNEL(language)=en”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/121-0000000d”, “RingGroupMethod=none”) in new stack
– Executing [[email protected]:3] Set(“PJSIP/121-0000000d”, “__EXTTOCALL=125”) in new stack
– Executing [[email protected]:4] Set(“PJSIP/121-0000000d”, “__PICKUPMARK=125”) in new stack
– Executing [[email protected]:5] Set(“PJSIP/121-0000000d”, “RT=15”) in new stack
– Executing [[email protected]:6] Gosub(“PJSIP/121-0000000d”, “sub-record-check,s,1(exten,125,dontcare)”) in new stack
– Executing [[email protected]:1] GotoIf(“PJSIP/121-0000000d”, “0?initialized”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/121-0000000d”, “__REC_STATUS=INITIALIZED”) in new stack
– Executing [[email protected]:3] Set(“PJSIP/121-0000000d”, “NOW=1544208882”) in new stack
– Executing [[email protected]:4] Set(“PJSIP/121-0000000d”, “__DAY=07”) in new stack
– Executing [[email protected]:5] Set(“PJSIP/121-0000000d”, “__MONTH=12”) in new stack
– Executing [[email protected]:6] Set(“PJSIP/121-0000000d”, “__YEAR=2018”) in new stack
– Executing [[email protected]:7] Set(“PJSIP/121-0000000d”, “__TIMESTR=20181207-135442”) in new stack
– Executing [[email protected]:8] Set(“PJSIP/121-0000000d”, “__FROMEXTEN=121”) in new stack
– Executing [[email protected]:9] Set(“PJSIP/121-0000000d”, “__MON_FMT=wav”) in new stack
– Executing [[email protected]:10] NoOp(“PJSIP/121-0000000d”, “Recordings initialized”) in new stack
– Executing [[email protected]:11] ExecIf(“PJSIP/121-0000000d”, “0?Set(ARG3=dontcare)”) in new stack
– Executing [[email protected]:12] Set(“PJSIP/121-0000000d”, “REC_POLICY_MODE_SAVE=”) in new stack
– Executing [[email protected]:13] ExecIf(“PJSIP/121-0000000d”, “0?Set(REC_STATUS=NO)”) in new stack
– Executing [[email protected]:14] GotoIf(“PJSIP/121-0000000d”, “5?checkaction”) in new stack
– Goto (sub-record-check,s,17)
– Executing [[email protected]:17] GotoIf(“PJSIP/121-0000000d”, “1?sub-record-check,exten,1”) in new stack
– Goto (sub-record-check,exten,1)
– Executing [[email protected]:1] NoOp(“PJSIP/121-0000000d”, “Exten Recording Check between 121 and 125”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/121-0000000d”, “CALLTYPE=internal”) in new stack
– Executing [[email protected]:3] ExecIf(“PJSIP/121-0000000d”, “0?Set(CALLTYPE=)”) in new stack
– Executing [[email protected]:4] Set(“PJSIP/121-0000000d”, “CALLEE=dontcare”) in new stack
– Executing [[email protected]:5] ExecIf(“PJSIP/121-0000000d”, “0?Set(CALLEE=dontcare)”) in new stack
– Executing [[email protected]:6] GotoIf(“PJSIP/121-0000000d”, “0?callee”) in new stack
– Executing [[email protected]:7] GotoIf(“PJSIP/121-0000000d”, “1?caller”) in new stack
– Goto (sub-record-check,exten,13)
– Executing [[email protected]:13] Set(“PJSIP/121-0000000d”, “RECMODE=dontcare”) in new stack
– Executing [[email protected]:14] ExecIf(“PJSIP/121-0000000d”, “0?Set(RECMODE=dontcare)”) in new stack
– Executing [[email protected]:15] ExecIf(“PJSIP/121-0000000d”, “1?Set(RECMODE=dontcare)”) in new stack
– Executing [[email protected]:16] Gosub(“PJSIP/121-0000000d”, “recordcheck,1(dontcare,internal,125)”) in new stack
– Executing [[email protected]:1] NoOp(“PJSIP/121-0000000d”, “Starting recording check against dontcare”) in new stack
– Executing [[email protected]:2] Goto(“PJSIP/121-0000000d”, “dontcare”) in new stack
– Goto (sub-record-check,recordcheck,3)
– Executing [[email protected]:3] Return(“PJSIP/121-0000000d”, “”) in new stack
– Executing [[email protected]:17] Return(“PJSIP/121-0000000d”, “”) in new stack
– Executing [[email protected]:7] GotoIf(“PJSIP/121-0000000d”, “1?macrodial”) in new stack
– Goto (macro-exten-vm,s,13)
– Executing [[email protected]:13] GosubIf(“PJSIP/121-0000000d”, “0?clrheader,1()”) in new stack
– Executing [[email protected]:14] Macro(“PJSIP/121-0000000d”, “dial-one,15,HhTtr,125”) in new stack
– Executing [[email protected]:1] Set(“PJSIP/121-0000000d”, “DEXTEN=125”) in new stack
– Executing [[email protected]:2] ExecIf(“PJSIP/121-0000000d”, “0?Set(__EXTTOCALL=125)”) in new stack
– Executing [[email protected]:3] Set(“PJSIP/121-0000000d”, “DIALSTATUS_CW=”) in new stack
– Executing [[email protected]:4] GosubIf(“PJSIP/121-0000000d”, “0?screen,1()”) in new stack
– Executing [[email protected]:5] GosubIf(“PJSIP/121-0000000d”, “0?cf,1()”) in new stack
– Executing [[email protected]:6] GotoIf(“PJSIP/121-0000000d”, “1?skip1”) in new stack
– Goto (macro-dial-one,s,9)
– Executing [[email protected]:9] GotoIf(“PJSIP/121-0000000d”, “0?nodial”) in new stack
– Executing [[email protected]:10] GotoIf(“PJSIP/121-0000000d”, “0?continue”) in new stack
– Executing [[email protected]:11] Set(“PJSIP/121-0000000d”, “EXTHASCW=ENABLED”) in new stack
– Executing [[email protected]:12] GotoIf(“PJSIP/121-0000000d”, “0?next1:cwinusebusy”) in new stack
– Goto (macro-dial-one,s,24)
– Executing [[email protected]:24] GotoIf(“PJSIP/121-0000000d”, “0?next3:continue”) in new stack
– Goto (macro-dial-one,s,26)
– Executing [[email protected]:26] GotoIf(“PJSIP/121-0000000d”, “0?nodial”) in new stack
– Executing [[email protected]:27] GosubIf(“PJSIP/121-0000000d”, “1?dstring,1():dlocal,1()”) in new stack
– Executing [[email protected]:1] Set(“PJSIP/121-0000000d”, “DSTRING=”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/121-0000000d”, “DEVICES=125”) in new stack
– Executing [[email protected]:3] ExecIf(“PJSIP/121-0000000d”, “0?Return()”) in new stack
– Executing [[email protected]:4] ExecIf(“PJSIP/121-0000000d”, “0?Set(DEVICES=25)”) in new stack
– Executing [[email protected]:5] Set(“PJSIP/121-0000000d”, “LOOPCNT=1”) in new stack
– Executing [[email protected]:6] Set(“PJSIP/121-0000000d”, “ITER=1”) in new stack
– Executing [[email protected]:7] Set(“PJSIP/121-0000000d”, “THISDIAL=PJSIP/125”) in new stack
– Executing [[email protected]:8] GosubIf(“PJSIP/121-0000000d”, “1?zap2dahdi,1()”) in new stack
– Executing [[email protected]:1] ExecIf(“PJSIP/121-0000000d”, “0?Return()”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/121-0000000d”, “NEWDIAL=”) in new stack
– Executing [[email protected]:3] Set(“PJSIP/121-0000000d”, “LOOPCNT2=1”) in new stack
– Executing [[email protected]:4] Set(“PJSIP/121-0000000d”, “ITER2=1”) in new stack
– Executing [[email protected]:5] Set(“PJSIP/121-0000000d”, “THISPART2=PJSIP/125”) in new stack
– Executing [[email protected]:6] ExecIf(“PJSIP/121-0000000d”, “0?Set(THISPART2=DAHDIIP/125)”) in new stack
– Executing [[email protected]:7] Set(“PJSIP/121-0000000d”, “NEWDIAL=PJSIP/125&”) in new stack
– Executing [[email protected]:8] Set(“PJSIP/121-0000000d”, “ITER2=2”) in new stack
– Executing [[email protected]:9] GotoIf(“PJSIP/121-0000000d”, “0?begin2”) in new stack
– Executing [[email protected]:10] Set(“PJSIP/121-0000000d”, “THISDIAL=PJSIP/125”) in new stack
– Executing [[email protected]:11] Return(“PJSIP/121-0000000d”, “”) in new stack
– Executing [[email protected]:9] GotoIf(“PJSIP/121-0000000d”, “0?docheck”) in new stack
– Executing [[email protected]:10] NoOp(“PJSIP/121-0000000d”, “Debug: Found PJSIP Destination PJSIP/125”) in new stack
– Executing [[email protected]:11] GotoIf(“PJSIP/121-0000000d”, “0?doset”) in new stack
– Executing [[email protected]:12] NoOp(“PJSIP/121-0000000d”, “Debug: Updating PJSIP Destination with PJSIP_DIAL_CONTACTS”) in new stack
– Executing [[email protected]:13] Set(“PJSIP/121-0000000d”, “THISDIAL=PJSIP/125/sip:[email protected]:62349;transport=TLS”) in new stack
– Executing [[email protected]:14] ExecIf(“PJSIP/121-0000000d”, “0?Set(DIALSTATUS=CHANUNAVAIL)”) in new stack
– Executing [[email protected]:15] GotoIf(“PJSIP/121-0000000d”, “0?skipset”) in new stack
– Executing [[email protected]:16] Set(“PJSIP/121-0000000d”, “DSTRING=PJSIP/125/sip:[email protected]:62349;transport=TLS&”) in new stack
– Executing [[email protected]:17] Set(“PJSIP/121-0000000d”, “ITER=2”) in new stack
– Executing [[email protected]:18] GotoIf(“PJSIP/121-0000000d”, “0?begin”) in new stack
– Executing [[email protected]:19] ExecIf(“PJSIP/121-0000000d”, “0?Return()”) in new stack
– Executing [[email protected]:20] Set(“PJSIP/121-0000000d”, “DSTRING=PJSIP/125/sip:[email protected]:62349;transport=TLS”) in new stack
– Executing [[email protected]:21] Return(“PJSIP/121-0000000d”, “”) in new stack
– Executing [[email protected]:28] GotoIf(“PJSIP/121-0000000d”, “0?nodial”) in new stack
– Executing [[email protected]:29] GotoIf(“PJSIP/121-0000000d”, “0?skiptrace”) in new stack
– Executing [[email protected]:30] GosubIf(“PJSIP/121-0000000d”, “1?ctset,1():ctclear,1()”) in new stack
– Executing [[email protected]:1] Set(“PJSIP/121-0000000d”, “DB(CALLTRACE/125)=121”) in new stack
– Executing [[email protected]:2] Return(“PJSIP/121-0000000d”, “”) in new stack
– Executing [[email protected]:31] Set(“PJSIP/121-0000000d”, “D_OPTIONS=HhTtr”) in new stack
– Executing [[email protected]:32] GosubIf(“PJSIP/121-0000000d”, “0?func-set-sipheader,s,1(Alert-Info,)”) in new stack
– Executing [[email protected]:33] NoOp(“PJSIP/121-0000000d”, "Blind Transfer: , Attended Transfer: , User: 121, Alert Info: ") in new stack
– Executing [[email protected]:34] ExecIf(“PJSIP/121-0000000d”, “1?Set(ALERT_INFO=)”) in new stack
– Executing [[email protected]:35] ExecIf(“PJSIP/121-0000000d”, “0?Set(ALERT_INFO=)”) in new stack
– Executing [[email protected]:36] ExecIf(“PJSIP/121-0000000d”, “0?Set(ALERT_INFO=)”) in new stack
– Executing [[email protected]:37] ExecIf(“PJSIP/121-0000000d”, “0?Set(ALERT_INFO=Normal;volume=)”) in new stack
– Executing [[email protected]:38] ExecIf(“PJSIP/121-0000000d”, “0?Set(ALERT_INFO=Normal;volume=)”) in new stack
– Executing [[email protected]:39] GosubIf(“PJSIP/121-0000000d”, “0?func-set-sipheader,s,1(Alert-Info,)”) in new stack
– Executing [[email protected]:40] ExecIf(“PJSIP/121-0000000d”, “0?Set(CHANNEL(musicclass)=)”) in new stack
– Executing [[email protected]:41] GosubIf(“PJSIP/121-0000000d”, “0?qwait,1()”) in new stack
– Executing [[email protected]:42] Set(“PJSIP/121-0000000d”, “__CWIGNORE=”) in new stack
– Executing [[email protected]:43] Set(“PJSIP/121-0000000d”, “__KEEPCID=TRUE”) in new stack
– Executing [[email protected]:44] GotoIf(“PJSIP/121-0000000d”, “0?usegoto,1”) in new stack
– Executing [[email protected]:45] GotoIf(“PJSIP/121-0000000d”, “0?godial”) in new stack
– Executing [[email protected]:46] Gosub(“PJSIP/121-0000000d”, “sub-presencestate-display,s,1(125)”) in new stack
– Executing [[email protected]:1] Goto(“PJSIP/121-0000000d”, “state-not_set,1”) in new stack
– Goto (sub-presencestate-display,state-not_set,1)
– Executing [[email protected]:1] Set(“PJSIP/121-0000000d”, “PRESENCESTATE_DISPLAY=”) in new stack
– Executing [[email protected]:2] Return(“PJSIP/121-0000000d”, “”) in new stack
– Executing [[email protected]:47] Set(“PJSIP/121-0000000d”, “CONNECTEDLINE(name,i)=Jack Sutton”) in new stack
– Executing [[email protected]:48] Set(“PJSIP/121-0000000d”, “CONNECTEDLINE(num)=125”) in new stack
– Executing [[email protected]:49] Set(“PJSIP/121-0000000d”, “D_OPTIONS=HhTtrI”) in new stack
– Executing [[email protected]:50] Macro(“PJSIP/121-0000000d”, “dialout-one-predial-hook,”) in new stack
– Executing [[email protected]:1] MacroExit(“PJSIP/121-0000000d”, “”) in new stack
– Executing [[email protected]:51] ExecIf(“PJSIP/121-0000000d”, “0?Set(D_OPTIONS=HhtrII)”) in new stack
– Executing [[email protected]:52] NoOp(“PJSIP/121-0000000d”, “”) in new stack
– Executing [[email protected]:53] ExecIf(“PJSIP/121-0000000d”, “0?Set(D_OPTIONS=HhTtrIg)”) in new stack
– Executing [[email protected]:54] Dial(“PJSIP/121-0000000d”, “PJSIP/125/sip:[email protected]:62349;transport=TLS,15,HhTtrIb(func-apply-sipheaders^s^1)”) in new stack
– PJSIP/125-0000000e Internal Gosub(func-apply-sipheaders,s,1) start
– Executing [[email protected]:1] NoOp(“PJSIP/125-0000000e”, “Applying SIP Headers to channel”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/125-0000000e”, “SIPHEADERKEYS=”) in new stack
– Executing [[email protected]:3] ExecIf(“PJSIP/125-0000000e”, “0?Set(Rheader=1)”) in new stack
– Executing [[email protected]:4] While(“PJSIP/125-0000000e”, “0”) in new stack
– Jumping to priority 8
– Executing [[email protected]:9] ExecIf(“PJSIP/125-0000000e”, “0?SIPRemoveHeader(Alert-Info:)”) in new stack
– Executing [[email protected]:10] ExecIf(“PJSIP/125-0000000e”, “0?Set(PJSIP_HEADER(remove,Alert-Info)=)”) in new stack
– Executing [[email protected]:11] Return(“PJSIP/125-0000000e”, “”) in new stack
== Spawn extension (from-internal, 125, 1) exited non-zero on ‘PJSIP/125-0000000e’
– PJSIP/125-0000000e Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
– Called PJSIP/125/sip:[email protected]:62349;transport=TLS
== Using SIP RTP Audio TOS bits 184
== Using SIP RTP Audio CoS mark 5
– Connected line update to PJSIP/121-0000000d prevented.
== Everyone is busy/congested at this time (1:0/0/1)
– Executing [[email protected]:55] ExecIf(“PJSIP/121-0000000d”, “0?MacroExit()”) in new stack
– Executing [[email protected]:56] ExecIf(“PJSIP/121-0000000d”, “0?Set(DIALSTATUS=)”) in new stack
– Executing [[email protected]:57] GosubIf(“PJSIP/121-0000000d”, “0?s-CHANUNAVAIL,1()”) in new stack
– Executing [[email protected]:58] MacroExit(“PJSIP/121-0000000d”, “”) in new stack
– Executing [[email protected]:15] Set(“PJSIP/121-0000000d”, “SV_DIALSTATUS=CHANUNAVAIL”) in new stack
– Executing [[email protected]:16] GosubIf(“PJSIP/121-0000000d”, “0?docfu,1()”) in new stack
– Executing [[email protected]:17] GosubIf(“PJSIP/121-0000000d”, “0?docfb,1()”) in new stack
– Executing [[email protected]:18] Set(“PJSIP/121-0000000d”, “DIALSTATUS=CHANUNAVAIL”) in new stack
– Executing [[email protected]:19] ExecIf(“PJSIP/121-0000000d”, “0?MacroExit()”) in new stack
– Executing [[email protected]:20] GotoIf(“PJSIP/121-0000000d”, “0?s-CHANUNAVAIL,1”) in new stack
– Executing [[email protected]:21] Macro(“PJSIP/121-0000000d”, “vm,125,CHANUNAVAIL,”) in new stack
– Executing [[email protected]:1] Macro(“PJSIP/121-0000000d”, “user-callerid,SKIPTTL”) in new stack
– Executing [[email protected]:1] Set(“PJSIP/121-0000000d”, “TOUCH_MONITOR=1544208882.13”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/121-0000000d”, “AMPUSER=121”) in new stack
– Executing [[email protected]:3] GotoIf(“PJSIP/121-0000000d”, “16?report”) in new stack
– Goto (macro-user-callerid,s,15)
– Executing [[email protected]:15] NoOp(“PJSIP/121-0000000d”, “Macro Depth is 3”) in new stack
– Executing [[email protected]:16] GotoIf(“PJSIP/121-0000000d”, “1?report2:macroerror”) in new stack
– Goto (macro-user-callerid,s,17)
– Executing [[email protected]:17] GotoIf(“PJSIP/121-0000000d”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,35)
– Executing [[email protected]:35] Set(“PJSIP/121-0000000d”, “CALLERID(number)=121”) in new stack
– Executing [[email protected]:36] Set(“PJSIP/121-0000000d”, “CALLERID(name)=Asher Toporovsky”) in new stack
– Executing [[email protected]:37] GotoIf(“PJSIP/121-0000000d”, “0?cnum”) in new stack
– Executing [[email protected]:38] Set(“PJSIP/121-0000000d”, “CDR(cnam)=Asher Toporovsky”) in new stack
– Executing [[email protected]:39] Set(“PJSIP/121-0000000d”, “CDR(cnum)=121”) in new stack
– Executing [[email protected]:40] Set(“PJSIP/121-0000000d”, “CHANNEL(language)=en”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/121-0000000d”, “VMGAIN=”) in new stack
– Executing [[email protected]:3] Macro(“PJSIP/121-0000000d”, “blkvm-check,”) in new stack
– Executing [[email protected]:1] Set(“PJSIP/121-0000000d”, “GOSUB_RETVAL=”) in new stack
– Executing [[email protected]:2] ExecIf(“PJSIP/121-0000000d”, “0?Set(GOSUB_RETVAL=TRUE)”) in new stack
– Executing [[email protected]:3] MacroExit(“PJSIP/121-0000000d”, “”) in new stack
– Executing [[email protected]:4] GotoIf(“PJSIP/121-0000000d”, “1?vmx,1”) in new stack
– Goto (macro-vm,vmx,1)
– Executing [[email protected]:1] Set(“PJSIP/121-0000000d”, “MEXTEN=125”) in new stack
– Executing [[email protected]:2] Set(“PJSIP/121-0000000d”, “MMODE=CHANUNAVAIL”) in new stack
– Executing [[email protected]:3] Set(“PJSIP/121-0000000d”, “RETVM=”) in new stack
– Executing [[email protected]:4] Set(“PJSIP/121-0000000d”, “MODE=unavail”) in new stack
– Executing [[email protected]:5] Macro(“PJSIP/121-0000000d”, “get-vmcontext,125”) in new stack
– Executing [[email protected]:1] Set(“PJSIP/121-0000000d”, “VMCONTEXT=default”) in new stack
– Executing [[email protected]:2] GotoIf(“PJSIP/121-0000000d”, “0?200:300”) in new stack
– Goto (macro-get-vmcontext,s,300)
– Executing [[email protected]:300] NoOp(“PJSIP/121-0000000d”, “”) in new stack
– Executing [[email protected]:6] Set(“PJSIP/121-0000000d”, “MODE=unavail”) in new stack
– Executing [[email protected]:7] NoOp(“PJSIP/121-0000000d”, “MODE IS: unavail”) in new stack
– Executing [[email protected]:8] GotoIf(“PJSIP/121-0000000d”, “1?chknomsg”) in new stack
– Goto (macro-vm,vmx,10)
– Executing [[email protected]:10] GotoIf(“PJSIP/121-0000000d”, “0?s-CHANUNAVAIL,1”) in new stack
– Executing [[email protected]:11] GotoIf(“PJSIP/121-0000000d”, “1?notdirect”) in new stack
– Goto (macro-vm,vmx,13)
– Executing [[email protected]:13] NoOp(“PJSIP/121-0000000d”, "Checking if ext 125 is enabled: ") in new stack
– Executing [[email protected]:14] GotoIf(“PJSIP/121-0000000d”, “1?s-CHANUNAVAIL,1”) in new stack
– Goto (macro-vm,s-CHANUNAVAIL,1)
– Executing [[email protected]:1] Macro(“PJSIP/121-0000000d”, “get-vmcontext,125”) in new stack
– Executing [[email protected]:1] Set(“PJSIP/121-0000000d”, “VMCONTEXT=default”) in new stack
– Executing [[email protected]:2] GotoIf(“PJSIP/121-0000000d”, “0?200:300”) in new stack
– Goto (macro-get-vmcontext,s,300)
– Executing [[email protected]:300] NoOp(“PJSIP/121-0000000d”, “”) in new stack
– Executing [[email protected]:2] VoiceMail(“PJSIP/121-0000000d”, “[email protected],u”) in new stack
> 0x7ff2bc31e6a0 – Strict RTP learning after remote address set to: 192.168.2.15:12744
> 0x7ff2bc31e6a0 – Strict RTP qualifying stream type: audio
> 0x7ff2bc31e6a0 – Strict RTP switching source address to 68.195.13.5:44971
– <PJSIP/121-0000000d> Playing ‘/var/spool/asterisk/voicemail/default/125/unavail.slin’ (language ‘en’)
> 0x7ff2bc31e6a0 – Strict RTP learning complete - Locking on source address 68.195.13.5:44971
== Spawn extension (macro-vm, s-CHANUNAVAIL, 2) exited non-zero on ‘PJSIP/121-0000000d’ in macro ‘vm’
== Spawn extension (macro-exten-vm, s, 21) exited non-zero on ‘PJSIP/121-0000000d’ in macro ‘exten-vm’
== Spawn extension (ext-local, 125, 2) exited non-zero on ‘PJSIP/121-0000000d’
– Executing [[email protected]:1] Macro(“PJSIP/121-0000000d”, “hangupcall,”) in new stack
– Executing [[email protected]:1] GotoIf(“PJSIP/121-0000000d”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,3)
– Executing [[email protected]:3] ExecIf(“PJSIP/121-0000000d”, “0?Set(CDR(recordingfile)=)”) in new stack
– Executing [[email protected]:4] NoOp(“PJSIP/121-0000000d”, " monior file= ") in new stack
– Executing [[email protected]:5] AGI(“PJSIP/121-0000000d”, “attendedtransfer-rec-restart.php,”) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/attendedtransfer-rec-restart.php
– <PJSIP/121-0000000d>AGI Script attendedtransfer-rec-restart.php completed, returning 0
– Executing [[email protected]:6] Hangup(“PJSIP/121-0000000d”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 6) exited non-zero on ‘PJSIP/121-0000000d’ in macro ‘hangupcall’
== Spawn extension (ext-local, h, 1) exited non-zero on ‘PJSIP/121-0000000d’
I am sure its some minor configuration issue in my PJSIP settings – but for the life of me i cannot zero in on it
If someone can help lend an extra hand to get this working i would really appreciate it
thanks