Hello,
as the Endpoint Manager does not support yet the Snom D385 I want to configure it manually. My FreePBX is using chan_pjsip for a trunk as well as for the extensions. At the moment, I have the phone configured to login with the extension’s credentials which work so far. But I can neither dial out nor can I transmit audio when dialling in. The phone rings, I can pick up, but that’s it :-/. Call forwarding to my mobile phone does work, though, but I guess that’s unrelated.
Here’s what asterisk is reporting during a call. As I made several test calls I hope this one is one where I picked up
== Setting global variable 'SIPDOMAIN' to '104.145.12.182'
-- Executing [[email protected]:1] Set("PJSIP/SIPGate-0000002e", "__DIRECTION=INBOUND") in new stack
-- Executing [[email protected]:2] Gosub("PJSIP/SIPGate-0000002e", "sub-record-check,s,1(in,4969348760295,dontcare)") in new stack
-- Executing [[email protected]:1] GotoIf("PJSIP/SIPGate-0000002e", "0?initialized") in new stack
-- Executing [[email protected]:2] Set("PJSIP/SIPGate-0000002e", "__REC_STATUS=INITIALIZED") in new stack
-- Executing [[email protected]:3] Set("PJSIP/SIPGate-0000002e", "NOW=1589901324") in new stack
-- Executing [[email protected]:4] Set("PJSIP/SIPGate-0000002e", "__DAY=19") in new stack
-- Executing [[email protected]:5] Set("PJSIP/SIPGate-0000002e", "__MONTH=05") in new stack
-- Executing [[email protected]:6] Set("PJSIP/SIPGate-0000002e", "__YEAR=2020") in new stack
-- Executing [[email protected]:7] Set("PJSIP/SIPGate-0000002e", "__TIMESTR=20200519-171524") in new stack
-- Executing [[email protected]:8] Set("PJSIP/SIPGate-0000002e", "__FROMEXTEN=unknown") in new stack
-- Executing [[email protected]:9] Set("PJSIP/SIPGate-0000002e", "__MON_FMT=wav") in new stack
-- Executing [[email protected]:10] NoOp("PJSIP/SIPGate-0000002e", "Recordings initialized") in new stack
-- Executing [[email protected]:11] ExecIf("PJSIP/SIPGate-0000002e", "0?Set(ARG3=dontcare)") in new stack
-- Executing [[email protected]:12] Set("PJSIP/SIPGate-0000002e", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [[email protected]:13] ExecIf("PJSIP/SIPGate-0000002e", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [[email protected]:14] GotoIf("PJSIP/SIPGate-0000002e", "2?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [[email protected]:17] GotoIf("PJSIP/SIPGate-0000002e", "1?sub-record-check,in,1") in new stack
-- Goto (sub-record-check,in,1)
-- Executing [[email protected]:1] NoOp("PJSIP/SIPGate-0000002e", "Inbound Recording Check to 4969348760295") in new stack
-- Executing [[email protected]:2] Set("PJSIP/SIPGate-0000002e", "FROMEXTEN=unknown") in new stack
-- Executing [[email protected]:3] ExecIf("PJSIP/SIPGate-0000002e", "12?Set(FROMEXTEN=015116014578)") in new stack
-- Executing [[email protected]:4] Gosub("PJSIP/SIPGate-0000002e", "recordcheck,1(dontcare,in,4969348760295)") in new stack
-- Executing [[email protected]:1] NoOp("PJSIP/SIPGate-0000002e", "Starting recording check against dontcare") in new stack
-- Executing [[email protected]:2] Goto("PJSIP/SIPGate-0000002e", "dontcare") in new stack
-- Goto (sub-record-check,recordcheck,3)
-- Executing [[email protected]:3] Return("PJSIP/SIPGate-0000002e", "") in new stack
-- Executing [[email protected]:5] Return("PJSIP/SIPGate-0000002e", "") in new stack
-- Executing [[email protected]:3] Set("PJSIP/SIPGate-0000002e", "CHANNEL(tonezone)=us") in new stack
-- Executing [[email protected]:4] Set("PJSIP/SIPGate-0000002e", "__FROM_DID=4969348760295") in new stack
-- Executing [[email protected]:5] Set("PJSIP/SIPGate-0000002e", "returnhere=1") in new stack
-- Executing [[email protected]:6] Gosub("PJSIP/SIPGate-0000002e", "app-blacklist-check,s,1()") in new stack
-- Executing [[email protected]:1] GotoIf("PJSIP/SIPGate-0000002e", "0?blacklisted") in new stack
-- Executing [[email protected]:2] Set("PJSIP/SIPGate-0000002e", "CALLED_BLACKLIST=1") in new stack
-- Executing [[email protected]:3] Return("PJSIP/SIPGate-0000002e", "") in new stack
-- Executing [[email protected]:7] Set("PJSIP/SIPGate-0000002e", "CDR(did)=4969348760295") in new stack
-- Executing [[email protected]:8] GotoIf("PJSIP/SIPGate-0000002e", "0?") in new stack
-- Executing [[email protected]:9] ExecIf("PJSIP/SIPGate-0000002e", "0 ?Set(CALLERID(name)=015116014578)") in new stack
-- Executing [[email protected]:10] Set("PJSIP/SIPGate-0000002e", "__MOHCLASS=") in new stack
-- Executing [[email protected]:11] Set("PJSIP/SIPGate-0000002e", "__REVERSAL_REJECT=FALSE") in new stack
-- Executing [[email protected]:12] GotoIf("PJSIP/SIPGate-0000002e", "1?post-reverse-charge") in new stack
-- Goto (from-pstn,4969348760295,14)
-- Executing [[email protected]:14] NoOp("PJSIP/SIPGate-0000002e", "") in new stack
-- Executing [[email protected]:15] Set("PJSIP/SIPGate-0000002e", "__CALLINGNAMEPRES_SV=allowed_not_screened") in new stack
-- Executing [[email protected]:16] Set("PJSIP/SIPGate-0000002e", "__CALLINGNUMPRES_SV=allowed_not_screened") in new stack
-- Executing [[email protected]:17] Set("PJSIP/SIPGate-0000002e", "CALLERID(name-pres)=allowed_not_screened") in new stack
-- Executing [[email protected]:18] Set("PJSIP/SIPGate-0000002e", "CALLERID(num-pres)=allowed_not_screened") in new stack
-- Executing [[email protected]:19] NoOp("PJSIP/SIPGate-0000002e", "CallerID Entry Point") in new stack
-- Executing [[email protected]:20] Set("PJSIP/SIPGate-0000002e", "__CRM_DIRECTION=INBOUND") in new stack
-- Executing [[email protected]:21] Set("PJSIP/SIPGate-0000002e", "__CRM_SOURCE=015116014578") in new stack
-- Executing [[email protected]:22] Set("PJSIP/SIPGate-0000002e", "__CRM_LINKEDID=1589901324.56") in new stack
-- Executing [[email protected]:23] AGI("PJSIP/SIPGate-0000002e", "agi://127.0.0.1/sangomacrm.agi,true") in new stack
-- <PJSIP/SIPGate-0000002e>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
-- Executing [[email protected]:24] ExecIf("PJSIP/SIPGate-0000002e", "1?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack
-- Executing [[email protected]:25] Goto("PJSIP/SIPGate-0000002e", "from-did-direct,95,1") in new stack
-- Goto (from-did-direct,95,1)
-- Executing [[email protected]:1] GotoIf("PJSIP/SIPGate-0000002e", "0?ext-local,95,1:followme-check,95,1") in new stack
-- Goto (followme-check,95,1)
-- Executing [[email protected]:1] Gosub("PJSIP/SIPGate-0000002e", "followme-sub,95,1()") in new stack
-- Executing [[email protected]:1] Macro("PJSIP/SIPGate-0000002e", "user-callerid,") in new stack
-- Executing [[email protected]:1] Set("PJSIP/SIPGate-0000002e", "TOUCH_MONITOR=1589901324.56") in new stack
-- Executing [[email protected]:2] Set("PJSIP/SIPGate-0000002e", "AMPUSER=015116014578") in new stack
-- Executing [[email protected]:3] Set("PJSIP/SIPGate-0000002e", "HOTDESCKCHAN=SIPGate-0000002e") in new stack
-- Executing [[email protected]:4] Set("PJSIP/SIPGate-0000002e", "HOTDESKEXTEN=SIPGate") in new stack
-- Executing [[email protected]:5] Set("PJSIP/SIPGate-0000002e", "HOTDESKCALL=0") in new stack
-- Executing [[email protected]:6] ExecIf("PJSIP/SIPGate-0000002e", "0?Set(HOTDESKCALL=1)") in new stack
-- Executing [[email protected]:7] ExecIf("PJSIP/SIPGate-0000002e", "0?Set(CALLERID(name)=)") in new stack
-- Executing [[email protected]:8] GotoIf("PJSIP/SIPGate-0000002e", "0?report") in new stack
-- Executing [[email protected]:9] ExecIf("PJSIP/SIPGate-0000002e", "1?Set(REALCALLERIDNUM=015116014578)") in new stack
-- Executing [[email protected]:10] Set("PJSIP/SIPGate-0000002e", "AMPUSER=") in new stack
-- Executing [[email protected]:11] GotoIf("PJSIP/SIPGate-0000002e", "0?limit") in new stack
-- Executing [[email protected]:12] Set("PJSIP/SIPGate-0000002e", "AMPUSERCIDNAME=") in new stack
-- Executing [[email protected]:13] ExecIf("PJSIP/SIPGate-0000002e", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
-- Executing [[email protected]:14] GotoIf("PJSIP/SIPGate-0000002e", "1?report") in new stack
-- Goto (macro-user-callerid,s,22)
-- Executing [[email protected]:22] NoOp("PJSIP/SIPGate-0000002e", "Macro Depth is 1") in new stack
-- Executing [[email protected]:23] GotoIf("PJSIP/SIPGate-0000002e", "1?report2:macroerror") in new stack
-- Goto (macro-user-callerid,s,24)
-- Executing [[email protected]:24] GotoIf("PJSIP/SIPGate-0000002e", "0?continue") in new stack
-- Executing [[email protected]:25] ExecIf("PJSIP/SIPGate-0000002e", "1?Set(__CALLEE_ACCOUNCODE=)") in new stack
-- Executing [[email protected]:26] Set("PJSIP/SIPGate-0000002e", "__TTL=64") in new stack
-- Executing [[email protected]:27] GotoIf("PJSIP/SIPGate-0000002e", "1?continue") in new stack
-- Goto (macro-user-callerid,s,43)
-- Executing [[email protected]:43] Set("PJSIP/SIPGate-0000002e", "CALLERID(number)=015116014578") in new stack
-- Executing [[email protected]:44] Set("PJSIP/SIPGate-0000002e", "CALLERID(name)=015116014578") in new stack
-- Executing [[email protected]:45] GotoIf("PJSIP/SIPGate-0000002e", "0?cnum") in new stack
-- Executing [[email protected]:46] Set("PJSIP/SIPGate-0000002e", "CDR(cnam)=015116014578") in new stack
-- Executing [[email protected]:47] Set("PJSIP/SIPGate-0000002e", "CDR(cnum)=015116014578") in new stack
-- Executing [[email protected]:48] Set("PJSIP/SIPGate-0000002e", "CHANNEL(language)=de_DE") in new stack
-- Executing [[email protected]:2] Set("PJSIP/SIPGate-0000002e", "DIAL_OPTIONS=HhTtrI") in new stack
-- Executing [[email protected]:3] Set("PJSIP/SIPGate-0000002e", "CONNECTEDLINE(num,i)=95") in new stack
-- Executing [[email protected]:4] Gosub("PJSIP/SIPGate-0000002e", "sub-presencestate-display,s,1(95)") in new stack
-- Executing [[email protected]:1] Goto("PJSIP/SIPGate-0000002e", "state-not_set,1") in new stack
-- Goto (sub-presencestate-display,state-not_set,1)
-- Executing [[email protected]:1] Set("PJSIP/SIPGate-0000002e", "PRESENCESTATE_DISPLAY=") in new stack
-- Executing [[email protected]:2] Return("PJSIP/SIPGate-0000002e", "") in new stack
-- Executing [[email protected]:5] Set("PJSIP/SIPGate-0000002e", "CONNECTEDLINE(name)=Masin Al-Dujaili") in new stack
-- Executing [[email protected]:6] Set("PJSIP/SIPGate-0000002e", "FM_DIALSTATUS=NOT_INUSE") in new stack
-- Executing [[email protected]:7] Set("PJSIP/SIPGate-0000002e", "__EXTTOCALL=95") in new stack
-- Executing [[email protected]:8] Set("PJSIP/SIPGate-0000002e", "__PICKUPMARK=95") in new stack
-- Executing [[email protected]:9] Macro("PJSIP/SIPGate-0000002e", "blkvm-setifempty,") in new stack
-- Executing [[email protected]:1] GotoIf("PJSIP/SIPGate-0000002e", "1?init") in new stack
-- Goto (macro-blkvm-setifempty,s,4)
-- Executing [[email protected]:4] Set("PJSIP/SIPGate-0000002e", "__BLKVM_CHANNEL=PJSIP/SIPGate-0000002e") in new stack
-- Executing [[email protected]:5] Set("PJSIP/SIPGate-0000002e", "SHARED(BLKVM,PJSIP/SIPGate-0000002e)=TRUE") in new stack
-- Executing [[email protected]:6] Set("PJSIP/SIPGate-0000002e", "GOSUB_RETVAL=TRUE") in new stack
-- Executing [[email protected]:7] MacroExit("PJSIP/SIPGate-0000002e", "") in new stack
-- Executing [[email protected]:10] GotoIf("PJSIP/SIPGate-0000002e", "1?skipov") in new stack
-- Goto (followme-sub,95,13)
-- Executing [[email protected]:13] Set("PJSIP/SIPGate-0000002e", "RRNODEST=") in new stack
-- Executing [[email protected]:14] Set("PJSIP/SIPGate-0000002e", "__NODEST=95") in new stack
-- Executing [[email protected]:15] GosubIf("PJSIP/SIPGate-0000002e", "0?sub-fmsetcid,s,1()") in new stack
-- Executing [[email protected]:16] GotoIf("PJSIP/SIPGate-0000002e", "1?skipprepend") in new stack
-- Goto (followme-sub,95,18)
-- Executing [[email protected]:18] Set("PJSIP/SIPGate-0000002e", "RecordMethod=Group") in new stack
-- Executing [[email protected]:19] Gosub("PJSIP/SIPGate-0000002e", "sub-record-check,s,1(exten,95,)") in new stack
-- Executing [[email protected]:1] GotoIf("PJSIP/SIPGate-0000002e", "12?initialized") in new stack
-- Goto (sub-record-check,s,10)
-- Executing [[email protected]:10] NoOp("PJSIP/SIPGate-0000002e", "Recordings initialized") in new stack
-- Executing [[email protected]:11] ExecIf("PJSIP/SIPGate-0000002e", "1?Set(ARG3=dontcare)") in new stack
-- Executing [[email protected]:12] Set("PJSIP/SIPGate-0000002e", "REC_POLICY_MODE_SAVE=") in new stack
-- Executing [[email protected]:13] ExecIf("PJSIP/SIPGate-0000002e", "0?Set(REC_STATUS=NO)") in new stack
-- Executing [[email protected]:14] GotoIf("PJSIP/SIPGate-0000002e", "5?checkaction") in new stack
-- Goto (sub-record-check,s,17)
-- Executing [[email protected]:17] GotoIf("PJSIP/SIPGate-0000002e", "1?sub-record-check,exten,1") in new stack
-- Goto (sub-record-check,exten,1)
-- Executing [[email protected]:1] NoOp("PJSIP/SIPGate-0000002e", "Exten Recording Check between 015116014578 and 95") in new stack
-- Executing [[email protected]:2] Set("PJSIP/SIPGate-0000002e", "CALLTYPE=external") in new stack
-- Executing [[email protected]:3] ExecIf("PJSIP/SIPGate-0000002e", "0?Set(CALLTYPE=)") in new stack
-- Executing [[email protected]:4] Set("PJSIP/SIPGate-0000002e", "CALLEE=dontcare") in new stack
-- Executing [[email protected]:5] ExecIf("PJSIP/SIPGate-0000002e", "0?Set(CALLEE=dontcare)") in new stack
-- Executing [[email protected]:6] GotoIf("PJSIP/SIPGate-0000002e", "1?callee") in new stack
-- Goto (sub-record-check,exten,11)
-- Executing [[email protected]:11] Gosub("PJSIP/SIPGate-0000002e", "recordcheck,1(dontcare,external,95)") in new stack
-- Executing [[email protected]:1] NoOp("PJSIP/SIPGate-0000002e", "Starting recording check against dontcare") in new stack
-- Executing [[email protected]:2] Goto("PJSIP/SIPGate-0000002e", "dontcare") in new stack
-- Goto (sub-record-check,recordcheck,3)
-- Executing [[email protected]:3] Return("PJSIP/SIPGate-0000002e", "") in new stack
-- Executing [[email protected]:12] Return("PJSIP/SIPGate-0000002e", "") in new stack
-- Executing [[email protected]:20] GotoIf("PJSIP/SIPGate-0000002e", "1?skipdring") in new stack
-- Goto (followme-sub,95,23)
-- Executing [[email protected]:23] Set("PJSIP/SIPGate-0000002e", "STRATEGY=ringallv2") in new stack
-- Executing [[email protected]:24] Set("PJSIP/SIPGate-0000002e", "__RVOL=") in new stack
-- Executing [[email protected]:25] GotoIf("PJSIP/SIPGate-0000002e", "1?skipsimple") in new stack
-- Goto (followme-sub,95,28)
-- Executing [[email protected]:28] Set("PJSIP/SIPGate-0000002e", "RingGroupMethod=ringallv2") in new stack
-- Executing [[email protected]:29] Set("PJSIP/SIPGate-0000002e", "_FMGRP=95") in new stack
-- Executing [[email protected]:30] GotoIf("PJSIP/SIPGate-0000002e", "1?DIALGRP") in new stack
-- Goto (followme-sub,95,34)
-- Executing [[email protected]:34] ExecIf("PJSIP/SIPGate-0000002e", "1?Set(DOPTS=HhTtrI):Set(DOPTS=m(Ring)HhTtI)") in new stack
-- Executing [[email protected]:35] Set("PJSIP/SIPGate-0000002e", "__ALT_CONFIRM_MSG=") in new stack
-- Executing [[email protected]:36] GotoIf("PJSIP/SIPGate-0000002e", "0?doconfirm") in new stack
-- Executing [[email protected]:37] GotoIf("PJSIP/SIPGate-0000002e", "1?ringallv21") in new stack
-- Goto (followme-sub,95,40)
-- Executing [[email protected]:40] Macro("PJSIP/SIPGate-0000002e", "dial,20,HhTtrI,95") in new stack
-- Executing [[email protected]:1] NoOp("PJSIP/SIPGate-0000002e", "Blind Transfer: , Attended Transfer: , User: , Alert Info: ") in new stack
-- Executing [[email protected]:2] Set("PJSIP/SIPGate-0000002e", "__CRM_SOURCE=015116014578") in new stack
-- Executing [[email protected]:3] ExecIf("PJSIP/SIPGate-0000002e", "0?Set(ALERT_INFO=)") in new stack
-- Executing [[email protected]:4] ExecIf("PJSIP/SIPGate-0000002e", "0?Set(ALERT_INFO=)") in new stack
-- Executing [[email protected]:5] ExecIf("PJSIP/SIPGate-0000002e", "0?Set(ALERT_INFO=)") in new stack
-- Executing [[email protected]:6] ExecIf("PJSIP/SIPGate-0000002e", "0?Set(CHANNEL(musicclass)=)") in new stack
-- Executing [[email protected]:7] AGI("PJSIP/SIPGate-0000002e", "agi://127.0.0.1/dialparties.agi") in new stack
agi://127.0.0.1/dialparties.agi: Starting New Dialparties.agi
agi://127.0.0.1/dialparties.agi: Caller ID name is '015116014578' number is '015116014578'
agi://127.0.0.1/dialparties.agi: CW Ignore is:
agi://127.0.0.1/dialparties.agi: CF Ignore is:
agi://127.0.0.1/dialparties.agi: CW IN_USE/BUSY is: 1
agi://127.0.0.1/dialparties.agi: Methodology of ring is 'ringallv2'
-- agi://127.0.0.1/dialparties.agi: Added extension 95 to extension map
-- agi://127.0.0.1/dialparties.agi: Extension 95 cf is disabled
-- agi://127.0.0.1/dialparties.agi: Extension 95 do not disturb is disabled
== agi://127.0.0.1/dialparties.agi: Discovered PJSIP Endpoint PJSIP/95
-- agi://127.0.0.1/dialparties.agi: Ended up with real PJSIP Dial string PJSIP/95/sip:[email protected]:56209
-- agi://127.0.0.1/dialparties.agi: dbset CALLTRACE/95 to 015116014578
-- agi://127.0.0.1/dialparties.agi: Filtered ARG3: 95
-- agi://127.0.0.1/dialparties.agi: RING ALL V2 :
agi://127.0.0.1/dialparties.agi: RVOL_MODE ''
agi://127.0.0.1/dialparties.agi: RVOL is:
agi://127.0.0.1/dialparties.agi: RVOLPARENT is:
-- <PJSIP/SIPGate-0000002e>AGI Script agi://127.0.0.1/dialparties.agi completed, returning 0
-- Executing [[email protected]:8] GotoIf("PJSIP/SIPGate-0000002e", "1?normdial") in new stack
-- Goto (macro-dial,s,11)
-- Executing [[email protected]:11] NoOp("PJSIP/SIPGate-0000002e", "Returned from dialparties with groups to dial") in new stack
-- Executing [[email protected]:12] NoOp("PJSIP/SIPGate-0000002e", "ringall array ") in new stack
-- Executing [[email protected]:13] Set("PJSIP/SIPGate-0000002e", "__FMGL_DIAL=") in new stack
-- Executing [[email protected]:14] Set("PJSIP/SIPGate-0000002e", "LOOPCNT=1") in new stack
-- Executing [[email protected]:15] Set("PJSIP/SIPGate-0000002e", "ITER=1") in new stack
-- Executing [[email protected]:16] Set("PJSIP/SIPGate-0000002e", "__EXTTOCALL=95") in new stack
-- Executing [[email protected]:17] NoOp("PJSIP/SIPGate-0000002e", "Working with 95") in new stack
-- Executing [[email protected]:18] ExecIf("PJSIP/SIPGate-0000002e", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack
-- Executing [[email protected]:19] ExecIf("PJSIP/SIPGate-0000002e", "0?Set(HASH(__SIPHEADERS,Alert-Info)=Normal;volume=)") in new stack
-- Executing [[email protected]:20] Set("PJSIP/SIPGate-0000002e", "ITER=2") in new stack
-- Executing [[email protected]:21] GotoIf("PJSIP/SIPGate-0000002e", "0?ndloopbegin") in new stack
-- Executing [[email protected]:22] Macro("PJSIP/SIPGate-0000002e", "dial-ringall-predial-hook,") in new stack
-- Executing [[email protected]:1] MacroExit("PJSIP/SIPGate-0000002e", "") in new stack
-- Executing [[email protected]:23] ExecIf("PJSIP/SIPGate-0000002e", "0?Set(CWRING=r(callwaiting)):Set(CWRING=)") in new stack
-- Executing [[email protected]:24] ExecIf("PJSIP/SIPGate-0000002e", "0?Set(ds=SIP/9995&PJSIP/95/sip:[email protected]:56209,22,HhtrIM(auto-blkvm)g)") in new stack
-- Executing [[email protected]:25] Dial("PJSIP/SIPGate-0000002e", "SIP/9995&PJSIP/95/sip:[email protected]:56209,22,HhtrIM(auto-blkvm)b(func-apply-sipheaders^s^1),") in new stack
[2020-05-19 17:15:24] WARNING[116196][C-0000001c]: app_dial.c:2576 dial_exec_full: Unable to create channel of type 'SIP' (cause 20 - Subscriber absent)
-- PJSIP/95-0000002f Internal Gosub(func-apply-sipheaders,s,1) start
-- Executing [[email protected]:1] ExecIf("PJSIP/95-0000002f", "1?Set(CHANNEL(hangup_handler_push)=crm-hangup,s,1)") in new stack
-- Executing [[email protected]:2] NoOp("PJSIP/95-0000002f", "Applying SIP Headers to channel PJSIP/95-0000002f") in new stack
-- Executing [[email protected]:3] Set("PJSIP/95-0000002f", "TECH=PJSIP") in new stack
-- Executing [[email protected]:4] Set("PJSIP/95-0000002f", "SIPHEADERKEYS=") in new stack
-- Executing [[email protected]:5] While("PJSIP/95-0000002f", "0") in new stack
-- Jumping to priority 11
-- Executing [[email protected]:12] Return("PJSIP/95-0000002f", "") in new stack
== Spawn extension (from-internal, 95, 1) exited non-zero on 'PJSIP/95-0000002f'
-- PJSIP/95-0000002f Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
-- Called PJSIP/95/sip:[email protected]:56209
== Using SIP RTP Audio TOS bits 184
== Using SIP RTP Audio TOS bits 184 in TCLASS field.
== Using SIP RTP Audio CoS mark 5
-- Connected line update to PJSIP/SIPGate-0000002e prevented.
-- PJSIP/95-0000002f is ringing
-- PJSIP/95-0000002f is ringing
-- PJSIP/95-0000002f answered PJSIP/SIPGate-0000002e
-- Executing [[email protected]:1] ExecIf("PJSIP/95-0000002f", "0?Set(CDR(recordingfile)=.wav)") in new stack
-- Executing [[email protected]:2] Set("PJSIP/95-0000002f", "__MACRO_RESULT=") in new stack
-- Executing [[email protected]:3] Set("PJSIP/95-0000002f", "CFIGNORE=") in new stack
-- Executing [[email protected]:4] Set("PJSIP/95-0000002f", "MASTER_CHANNEL(CFIGNORE)=") in new stack
-- Executing [[email protected]:5] Set("PJSIP/95-0000002f", "FORWARD_CONTEXT=from-internal") in new stack
-- Executing [[email protected]:6] Set("PJSIP/95-0000002f", "MASTER_CHANNEL(FORWARD_CONTEXT)=from-internal") in new stack
-- Executing [[email protected]:7] Macro("PJSIP/95-0000002f", "blkvm-clr,") in new stack
-- Executing [[email protected]:1] Set("PJSIP/95-0000002f", "SHARED(BLKVM,PJSIP/SIPGate-0000002e)=") in new stack
-- Executing [[email protected]:2] Set("PJSIP/95-0000002f", "GOSUB_RETVAL=") in new stack
-- Executing [[email protected]:3] MacroExit("PJSIP/95-0000002f", "") in new stack
-- Executing [[email protected]:8] ExecIf("PJSIP/95-0000002f", "0?Set(MASTER_CHANNEL(CONNECTEDLINE(num))=95/sip:[email protected]:56209)") in new stack
-- Executing [[email protected]:9] ExecIf("PJSIP/95-0000002f", "0?Set(MASTER_CHANNEL(CONNECTEDLINE(name))=)") in new stack
-- Channel PJSIP/95-0000002f joined 'simple_bridge' basic-bridge <8b9f447e-7465-449f-9a81-d0dc172968c1>
-- Channel PJSIP/SIPGate-0000002e joined 'simple_bridge' basic-bridge <8b9f447e-7465-449f-9a81-d0dc172968c1>
-- Channel PJSIP/SIPGate-0000002e left 'simple_bridge' basic-bridge <8b9f447e-7465-449f-9a81-d0dc172968c1>
== Spawn extension (macro-dial, s, 25) exited non-zero on 'PJSIP/SIPGate-0000002e' in macro 'dial'
-- Channel PJSIP/95-0000002f left 'simple_bridge' basic-bridge <8b9f447e-7465-449f-9a81-d0dc172968c1>
== Spawn extension (followme-sub, 95, 40) exited non-zero on 'PJSIP/SIPGate-0000002e'
-- PJSIP/95-0000002f Internal Gosub(crm-hangup,s,1) start
-- PJSIP/SIPGate-0000002e Internal Gosub(crm-hangup,s,1) start
-- Executing [[email protected]:1] NoOp("PJSIP/95-0000002f", "Sending Hangup to CRM") in new stack
-- Executing [[email protected]:1] NoOp("PJSIP/SIPGate-0000002e", "Sending Hangup to CRM") in new stack
-- Executing [[email protected]:2] NoOp("PJSIP/95-0000002f", "HANGUP CAUSE: 16") in new stack
-- Executing [[email protected]:2] NoOp("PJSIP/SIPGate-0000002e", "HANGUP CAUSE: 16") in new stack
-- Executing [[email protected]:3] ExecIf("PJSIP/95-0000002f", "0?Set(__CRM_VOICEMAIL=)") in new stack
-- Executing [[email protected]:3] ExecIf("PJSIP/SIPGate-0000002e", "0?Set(__CRM_VOICEMAIL=)") in new stack
-- Executing [[email protected]:4] NoOp("PJSIP/95-0000002f", "MASTER CHANNEL: 1589901324.57 = 1589901324.56") in new stack
-- Executing [[email protected]:4] NoOp("PJSIP/SIPGate-0000002e", "MASTER CHANNEL: 1589901324.56 = 1589901324.56") in new stack
-- Executing [[email protected]:5] GotoIf("PJSIP/95-0000002f", "1?return") in new stack
-- Goto (crm-hangup,s,8)
-- Executing [[email protected]:5] GotoIf("PJSIP/SIPGate-0000002e", "0?return") in new stack
-- Executing [[email protected]:8] Return("PJSIP/95-0000002f", "") in new stack
-- Executing [[email protected]:6] Set("PJSIP/SIPGate-0000002e", "__CRM_HANGUP=1") in new stack
== Spawn extension (macro-dial, s, 1) exited non-zero on 'PJSIP/95-0000002f'
-- PJSIP/95-0000002f Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
-- Executing [[email protected]:7] AGI("PJSIP/SIPGate-0000002e", "agi://127.0.0.1/sangomacrm.agi") in new stack
-- <PJSIP/SIPGate-0000002e>AGI Script agi://127.0.0.1/sangomacrm.agi completed, returning 0
-- Executing [[email protected]:8] Return("PJSIP/SIPGate-0000002e", "") in new stack
== Spawn extension (followme-sub, 95, 40) exited non-zero on 'PJSIP/SIPGate-0000002e'
-- PJSIP/SIPGate-0000002e Internal Gosub(crm-hangup,s,1) complete GOSUB_RETVAL=
Any hints will be welcome!