PJSIP TLS 1 Extension rings others do not

I have an Asterisk v 16.1 FPBX v14 server with PJSIP and TLS SRTP setup

I have a bunch of phones on the same lan all setup the same as far as i can tell – the phones are all either yealink t5 or t4 models

One extension rings when dialed – the rest do not

Outbound calls work fine on all the extensions as does an echo test

x118 rings and looks like this:

  == Setting global variable 'SIPDOMAIN' to 'xxx.xxx.com'
  == Using SIP RTP Audio TOS bits 184
  == Using SIP RTP Audio CoS mark 5
    -- Executing [[email protected]:1] GotoIf("PJSIP/121-0000000a", "1?ext-local,118,1:followme-check,118,1") in new stack
    -- Goto (ext-local,118,1)
    -- Executing [[email protected]:1] Set("PJSIP/121-0000000a", "__RINGTIMER=15") in new stack
    -- Executing [[email protected]:2] Macro("PJSIP/121-0000000a", "exten-vm,118,118,0,0,0") in new stack
    -- Executing [[email protected]:1] Macro("PJSIP/121-0000000a", "user-callerid,") in new stack
    -- Executing [[email protected]:1] Set("PJSIP/121-0000000a", "TOUCH_MONITOR=1544977594.10") in new stack
    -- Executing [[email protected]:2] Set("PJSIP/121-0000000a", "AMPUSER=121") in new stack
    -- Executing [[email protected]:3] GotoIf("PJSIP/121-0000000a", "0?report") in new stack
    -- Executing [[email protected]:4] ExecIf("PJSIP/121-0000000a", "1?Set(REALCALLERIDNUM=121)") in new stack
    -- Executing [[email protected]:5] Set("PJSIP/121-0000000a", "AMPUSER=121") in new stack
    -- Executing [[email protected]:6] GotoIf("PJSIP/121-0000000a", "0?limit") in new stack
    -- Executing [[email protected]:7] Set("PJSIP/121-0000000a", "AMPUSERCIDNAME=Asher Toporovsky") in new stack
    -- Executing [[email protected]:8] ExecIf("PJSIP/121-0000000a", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
    -- Executing [[email protected]:9] GotoIf("PJSIP/121-0000000a", "0?report") in new stack
    -- Executing [[email protected]:10] Set("PJSIP/121-0000000a", "AMPUSERCID=121") in new stack
    -- Executing [[email protected]:11] Set("PJSIP/121-0000000a", "__DIAL_OPTIONS=HhTtr") in new stack
    -- Executing [[email protected]:12] Set("PJSIP/121-0000000a", "CALLERID(all)="Asher Toporovsky" <121>") in new stack
    -- Executing [[email protected]:13] GotoIf("PJSIP/121-0000000a", "0?limit") in new stack
    -- Executing [[email protected]:14] ExecIf("PJSIP/121-0000000a", "0?Set(GROUP(concurrency_limit)=121)") in new stack
    -- Executing [[email protected]:15] NoOp("PJSIP/121-0000000a", "Macro Depth is 2") in new stack
    -- Executing [[email protected]:16] GotoIf("PJSIP/121-0000000a", "1?report2:macroerror") in new stack
    -- Goto (macro-user-callerid,s,17)
    -- Executing [[email protected]:17] GotoIf("PJSIP/121-0000000a", "0?continue") in new stack
    -- Executing [[email protected]:18] Set("PJSIP/121-0000000a", "__TTL=64") in new stack
    -- Executing [[email protected]:19] GotoIf("PJSIP/121-0000000a", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,35)
    -- Executing [[email protected]:35] Set("PJSIP/121-0000000a", "CALLERID(number)=121") in new stack
    -- Executing [[email protected]:36] Set("PJSIP/121-0000000a", "CALLERID(name)=Asher Toporovsky") in new stack
    -- Executing [[email protected]:37] GotoIf("PJSIP/121-0000000a", "0?cnum") in new stack
    -- Executing [[email protected]:38] Set("PJSIP/121-0000000a", "CDR(cnam)=Asher Toporovsky") in new stack
    -- Executing [[email protected]:39] Set("PJSIP/121-0000000a", "CDR(cnum)=121") in new stack
    -- Executing [[email protected]:40] Set("PJSIP/121-0000000a", "CHANNEL(language)=en") in new stack
    -- Executing [[email protected]:2] Set("PJSIP/121-0000000a", "RingGroupMethod=none") in new stack
    -- Executing [[email protected]:3] Set("PJSIP/121-0000000a", "__EXTTOCALL=118") in new stack
    -- Executing [[email protected]:4] Set("PJSIP/121-0000000a", "__PICKUPMARK=118") in new stack
    -- Executing [[email protected]:5] Set("PJSIP/121-0000000a", "RT=15") in new stack
    -- Executing [[email protected]:6] Gosub("PJSIP/121-0000000a", "sub-record-check,s,1(exten,118,dontcare)") in new stack
    -- Executing [[email protected]:1] GotoIf("PJSIP/121-0000000a", "0?initialized") in new stack
    -- Executing [[email protected]:2] Set("PJSIP/121-0000000a", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [[email protected]:3] Set("PJSIP/121-0000000a", "NOW=1544977594") in new stack
    -- Executing [[email protected]:4] Set("PJSIP/121-0000000a", "__DAY=16") in new stack
    -- Executing [[email protected]:5] Set("PJSIP/121-0000000a", "__MONTH=12") in new stack
    -- Executing [[email protected]:6] Set("PJSIP/121-0000000a", "__YEAR=2018") in new stack
    -- Executing [[email protected]:7] Set("PJSIP/121-0000000a", "__TIMESTR=20181216-112634") in new stack
    -- Executing [[email protected]:8] Set("PJSIP/121-0000000a", "__FROMEXTEN=121") in new stack
    -- Executing [[email protected]:9] Set("PJSIP/121-0000000a", "__MON_FMT=wav") in new stack
    -- Executing [[email protected]:10] NoOp("PJSIP/121-0000000a", "Recordings initialized") in new stack
    -- Executing [[email protected]:11] ExecIf("PJSIP/121-0000000a", "0?Set(ARG3=dontcare)") in new stack
    -- Executing [[email protected]:12] Set("PJSIP/121-0000000a", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [[email protected]:13] ExecIf("PJSIP/121-0000000a", "0?Set(REC_STATUS=NO)") in new stack
    -- Executing [[email protected]:14] GotoIf("PJSIP/121-0000000a", "5?checkaction") in new stack
    -- Goto (sub-record-check,s,17)
    -- Executing [[email protected]:17] GotoIf("PJSIP/121-0000000a", "1?sub-record-check,exten,1") in new stack
    -- Goto (sub-record-check,exten,1)
    -- Executing [[email protected]:1] NoOp("PJSIP/121-0000000a", "Exten Recording Check between 121 and 118") in new stack
    -- Executing [[email protected]:2] Set("PJSIP/121-0000000a", "CALLTYPE=internal") in new stack
    -- Executing [[email protected]:3] ExecIf("PJSIP/121-0000000a", "0?Set(CALLTYPE=)") in new stack
    -- Executing [[email protected]:4] Set("PJSIP/121-0000000a", "CALLEE=dontcare") in new stack
    -- Executing [[email protected]:5] ExecIf("PJSIP/121-0000000a", "0?Set(CALLEE=dontcare)") in new stack
    -- Executing [[email protected]:6] GotoIf("PJSIP/121-0000000a", "0?callee") in new stack
    -- Executing [[email protected]:7] GotoIf("PJSIP/121-0000000a", "1?caller") in new stack
    -- Goto (sub-record-check,exten,13)
    -- Executing [[email protected]:13] Set("PJSIP/121-0000000a", "RECMODE=dontcare") in new stack
    -- Executing [[email protected]:14] ExecIf("PJSIP/121-0000000a", "0?Set(RECMODE=dontcare)") in new stack
    -- Executing [[email protected]:15] ExecIf("PJSIP/121-0000000a", "1?Set(RECMODE=dontcare)") in new stack
    -- Executing [[email protected]:16] Gosub("PJSIP/121-0000000a", "recordcheck,1(dontcare,internal,118)") in new stack
    -- Executing [[email protected]:1] NoOp("PJSIP/121-0000000a", "Starting recording check against dontcare") in new stack
    -- Executing [[email protected]:2] Goto("PJSIP/121-0000000a", "dontcare") in new stack
    -- Goto (sub-record-check,recordcheck,3)
    -- Executing [[email protected]:3] Return("PJSIP/121-0000000a", "") in new stack
    -- Executing [[email protected]:17] Return("PJSIP/121-0000000a", "") in new stack
    -- Executing [[email protected]:7] GotoIf("PJSIP/121-0000000a", "1?macrodial") in new stack
    -- Goto (macro-exten-vm,s,13)
    -- Executing [[email protected]:13] GosubIf("PJSIP/121-0000000a", "0?clrheader,1()") in new stack
    -- Executing [[email protected]:14] Macro("PJSIP/121-0000000a", "dial-one,15,HhTtr,118") in new stack
    -- Executing [[email protected]:1] Set("PJSIP/121-0000000a", "DEXTEN=118") in new stack
    -- Executing [[email protected]:2] ExecIf("PJSIP/121-0000000a", "0?Set(__EXTTOCALL=118)") in new stack
    -- Executing [[email protected]:3] Set("PJSIP/121-0000000a", "DIALSTATUS_CW=") in new stack
    -- Executing [[email protected]:4] GosubIf("PJSIP/121-0000000a", "0?screen,1()") in new stack
    -- Executing [[email protected]:5] GosubIf("PJSIP/121-0000000a", "0?cf,1()") in new stack
    -- Executing [[email protected]:6] GotoIf("PJSIP/121-0000000a", "1?skip1") in new stack
    -- Goto (macro-dial-one,s,9)
    -- Executing [[email protected]:9] GotoIf("PJSIP/121-0000000a", "0?nodial") in new stack
    -- Executing [[email protected]:10] GotoIf("PJSIP/121-0000000a", "0?continue") in new stack
    -- Executing [[email protected]-one:11] Set("PJSIP/121-0000000a", "EXTHASCW=ENABLED") in new stack
    -- Executing [[email protected]:12] GotoIf("PJSIP/121-0000000a", "0?next1:cwinusebusy") in new stack
    -- Goto (macro-dial-one,s,24)
    -- Executing [[email protected]:24] GotoIf("PJSIP/121-0000000a", "0?next3:continue") in new stack
    -- Goto (macro-dial-one,s,26)
    -- Executing [[email protected]:26] GotoIf("PJSIP/121-0000000a", "0?nodial") in new stack
    -- Executing [[email protected]:27] GosubIf("PJSIP/121-0000000a", "1?dstring,1():dlocal,1()") in new stack
    -- Executing [[email protected]:1] Set("PJSIP/121-0000000a", "DSTRING=") in new stack
    -- Executing [[email protected]:2] Set("PJSIP/121-0000000a", "DEVICES=118") in new stack
    -- Executing [[email protected]:3] ExecIf("PJSIP/121-0000000a", "0?Return()") in new stack
    -- Executing [[email protected]:4] ExecIf("PJSIP/121-0000000a", "0?Set(DEVICES=18)") in new stack
    -- Executing [[email protected]:5] Set("PJSIP/121-0000000a", "LOOPCNT=1") in new stack
    -- Executing [[email protected]:6] Set("PJSIP/121-0000000a", "ITER=1") in new stack
    -- Executing [[email protected]:7] Set("PJSIP/121-0000000a", "THISDIAL=PJSIP/118") in new stack
    -- Executing [[email protected]:8] GosubIf("PJSIP/121-0000000a", "1?zap2dahdi,1()") in new stack
    -- Executing [[email protected]:1] ExecIf("PJSIP/121-0000000a", "0?Return()") in new stack
    -- Executing [[email protected]:2] Set("PJSIP/121-0000000a", "NEWDIAL=") in new stack
    -- Executing [[email protected]:3] Set("PJSIP/121-0000000a", "LOOPCNT2=1") in new stack
    -- Executing [[email protected]:4] Set("PJSIP/121-0000000a", "ITER2=1") in new stack
    -- Executing [[email protected]:5] Set("PJSIP/121-0000000a", "THISPART2=PJSIP/118") in new stack
    -- Executing [[email protected]:6] ExecIf("PJSIP/121-0000000a", "0?Set(THISPART2=DAHDIIP/118)") in new stack
    -- Executing [[email protected]:7] Set("PJSIP/121-0000000a", "NEWDIAL=PJSIP/118&") in new stack
    -- Executing [[email protected]:8] Set("PJSIP/121-0000000a", "ITER2=2") in new stack
    -- Executing [[email protected]:9] GotoIf("PJSIP/121-0000000a", "0?begin2") in new stack
    -- Executing [[email protected]:10] Set("PJSIP/121-0000000a", "THISDIAL=PJSIP/118") in new stack
    -- Executing [[email protected]:11] Return("PJSIP/121-0000000a", "") in new stack
    -- Executing [[email protected]:9] GotoIf("PJSIP/121-0000000a", "0?docheck") in new stack
    -- Executing [[email protected]:10] NoOp("PJSIP/121-0000000a", "Debug: Found PJSIP Destination PJSIP/118") in new stack
    -- Executing [[email protected]:11] GotoIf("PJSIP/121-0000000a", "0?doset") in new stack
    -- Executing [[email protected]:12] NoOp("PJSIP/121-0000000a", "Debug: Updating PJSIP Destination with PJSIP_DIAL_CONTACTS") in new stack
    -- Executing [[email protected]:13] Set("PJSIP/121-0000000a", "THISDIAL=PJSIP/118/sip:[email protected]:49396;transport=TLS") in new stack
    -- Executing [[email protected]:14] ExecIf("PJSIP/121-0000000a", "0?Set(DIALSTATUS=CHANUNAVAIL)") in new stack
    -- Executing [[email protected]:15] GotoIf("PJSIP/121-0000000a", "0?skipset") in new stack
    -- Executing [[email protected]:16] Set("PJSIP/121-0000000a", "DSTRING=PJSIP/118/sip:[email protected]:49396;transport=TLS&") in new stack
    -- Executing [[email protected]:17] Set("PJSIP/121-0000000a", "ITER=2") in new stack
    -- Executing [[email protected]:18] GotoIf("PJSIP/121-0000000a", "0?begin") in new stack
    -- Executing [[email protected]:19] ExecIf("PJSIP/121-0000000a", "0?Return()") in new stack
    -- Executing [[email protected]:20] Set("PJSIP/121-0000000a", "DSTRING=PJSIP/118/sip:[email protected]:49396;transport=TLS") in new stack
    -- Executing [[email protected]:21] Return("PJSIP/121-0000000a", "") in new stack
    -- Executing [[email protected]:28] GotoIf("PJSIP/121-0000000a", "0?nodial") in new stack
    -- Executing [[email protected]:29] GotoIf("PJSIP/121-0000000a", "0?skiptrace") in new stack
    -- Executing [[email protected]:30] GosubIf("PJSIP/121-0000000a", "1?ctset,1():ctclear,1()") in new stack
    -- Executing [[email protected]:1] Set("PJSIP/121-0000000a", "DB(CALLTRACE/118)=121") in new stack
    -- Executing [[email protected]:2] Return("PJSIP/121-0000000a", "") in new stack
    -- Executing [[email protected]:31] Set("PJSIP/121-0000000a", "D_OPTIONS=HhTtr") in new stack
    -- Executing [[email protected]:32] GosubIf("PJSIP/121-0000000a", "0?func-set-sipheader,s,1(Alert-Info,)") in new stack
    -- Executing [[email protected]:33] NoOp("PJSIP/121-0000000a", "Blind Transfer: , Attended Transfer: , User: 121, Alert Info: ") in new stack
    -- Executing [[email protected]:34] ExecIf("PJSIP/121-0000000a", "1?Set(ALERT_INFO=)") in new stack
    -- Executing [[email protected]:35] ExecIf("PJSIP/121-0000000a", "0?Set(ALERT_INFO=)") in new stack
    -- Executing [[email protected]:36] ExecIf("PJSIP/121-0000000a", "0?Set(ALERT_INFO=)") in new stack
    -- Executing [[email protected]:37] ExecIf("PJSIP/121-0000000a", "0?Set(ALERT_INFO=Normal;volume=)") in new stack
    -- Executing [[email protected]:38] ExecIf("PJSIP/121-0000000a", "0?Set(ALERT_INFO=Normal;volume=)") in new stack
    -- Executing [[email protected]:39] GosubIf("PJSIP/121-0000000a", "0?func-set-sipheader,s,1(Alert-Info,)") in new stack
    -- Executing [[email protected]:40] ExecIf("PJSIP/121-0000000a", "0?Set(CHANNEL(musicclass)=)") in new stack
    -- Executing [[email protected]:41] GosubIf("PJSIP/121-0000000a", "0?qwait,1()") in new stack
    -- Executing [[email protected]:42] Set("PJSIP/121-0000000a", "__CWIGNORE=") in new stack
    -- Executing [[email protected]:43] Set("PJSIP/121-0000000a", "__KEEPCID=TRUE") in new stack
    -- Executing [[email protected]:44] GotoIf("PJSIP/121-0000000a", "0?usegoto,1") in new stack
    -- Executing [[email protected]:45] GotoIf("PJSIP/121-0000000a", "0?godial") in new stack
    -- Executing [[email protected]:46] Gosub("PJSIP/121-0000000a", "sub-presencestate-display,s,1(118)") in new stack
    -- Executing [[email protected]:1] Goto("PJSIP/121-0000000a", "state-not_set,1") in new stack
    -- Goto (sub-presencestate-display,state-not_set,1)
    -- Executing [[email protected]:1] Set("PJSIP/121-0000000a", "PRESENCESTATE_DISPLAY=") in new stack
    -- Executing [[email protected]:2] Return("PJSIP/121-0000000a", "") in new stack
    -- Executing [[email protected]:47] Set("PJSIP/121-0000000a", "CONNECTEDLINE(name,i)=Rinaldo Toporovsky") in new stack
    -- Executing [[email protected]:48] Set("PJSIP/121-0000000a", "CONNECTEDLINE(num)=118") in new stack
    -- Executing [[email protected]:49] Set("PJSIP/121-0000000a", "D_OPTIONS=HhTtrI") in new stack
    -- Executing [[email protected]:50] Macro("PJSIP/121-0000000a", "dialout-one-predial-hook,") in new stack
    -- Executing [[email protected]:1] MacroExit("PJSIP/121-0000000a", "") in new stack
    -- Executing [[email protected]:51] ExecIf("PJSIP/121-0000000a", "0?Set(D_OPTIONS=HhtrII)") in new stack
    -- Executing [[email protected]:52] NoOp("PJSIP/121-0000000a", "") in new stack
    -- Executing [[email protected]:53] ExecIf("PJSIP/121-0000000a", "0?Set(D_OPTIONS=HhTtrIg)") in new stack
    -- Executing [[email protected]:54] Dial("PJSIP/121-0000000a", "PJSIP/118/sip:[email protected]:49396;transport=TLS,15,HhTtrIb(func-apply-sipheaders^s^1)") in new stack
    -- PJSIP/118-0000000b Internal Gosub(func-apply-sipheaders,s,1) start
    -- Executing [[email protected]:1] NoOp("PJSIP/118-0000000b", "Applying SIP Headers to channel") in new stack
    -- Executing [[email protected]:2] Set("PJSIP/118-0000000b", "SIPHEADERKEYS=") in new stack
    -- Executing [[email protected]:3] ExecIf("PJSIP/118-0000000b", "0?Set(Rheader=1)") in new stack
    -- Executing [[email protected]:4] While("PJSIP/118-0000000b", "0") in new stack
    -- Jumping to priority 8
    -- Executing [[email protected]:9] ExecIf("PJSIP/118-0000000b", "0?SIPRemoveHeader(Alert-Info:)") in new stack
    -- Executing [[email protected]:10] ExecIf("PJSIP/118-0000000b", "0?Set(PJSIP_HEADER(remove,Alert-Info)=)") in new stack
    -- Executing [[email protected]:11] Return("PJSIP/118-0000000b", "") in new stack
  == Spawn extension (from-internal, 118, 1) exited non-zero on 'PJSIP/118-0000000b'
    -- PJSIP/118-0000000b Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
    -- Called PJSIP/118/sip:[email protected]:49396;transport=TLS
  == Using SIP RTP Audio TOS bits 184
  == Using SIP RTP Audio CoS mark 5
    -- Connected line update to PJSIP/121-0000000a prevented.
    -- PJSIP/118-0000000b is ringing
    -- PJSIP/118-0000000b is ringing

Here is another extension – for example 125 which does not ring

x125 does not ring when dialed and looks like this:

== Using SIP RTP Audio TOS bits 184
  == Using SIP RTP Audio CoS mark 5
    -- Executing [[email protected]:1] GotoIf("PJSIP/121-0000000c", "1?ext-local,125,1:followme-check,125,1") in new stack
    -- Goto (ext-local,125,1)
    -- Executing [[email protected]:1] Set("PJSIP/121-0000000c", "__RINGTIMER=15") in new stack
    -- Executing [[email protected]:2] Macro("PJSIP/121-0000000c", "exten-vm,125,125,0,0,0") in new stack
    -- Executing [[email protected]:1] Macro("PJSIP/121-0000000c", "user-callerid,") in new stack
    -- Executing [[email protected]:1] Set("PJSIP/121-0000000c", "TOUCH_MONITOR=1544977742.12") in new stack
    -- Executing [[email protected]:2] Set("PJSIP/121-0000000c", "AMPUSER=121") in new stack
    -- Executing [[email protected]:3] GotoIf("PJSIP/121-0000000c", "0?report") in new stack
    -- Executing [[email protected]:4] ExecIf("PJSIP/121-0000000c", "1?Set(REALCALLERIDNUM=121)") in new stack
    -- Executing [[email protected]:5] Set("PJSIP/121-0000000c", "AMPUSER=121") in new stack
    -- Executing [[email protected]:6] GotoIf("PJSIP/121-0000000c", "0?limit") in new stack
    -- Executing [[email protected]:7] Set("PJSIP/121-0000000c", "AMPUSERCIDNAME=Asher Toporovsky") in new stack
    -- Executing [[email protected]:8] ExecIf("PJSIP/121-0000000c", "0?Set(__CIDMASQUERADING=TRUE)") in new stack
    -- Executing [[email protected]:9] GotoIf("PJSIP/121-0000000c", "0?report") in new stack
    -- Executing [[email protected]:10] Set("PJSIP/121-0000000c", "AMPUSERCID=121") in new stack
    -- Executing [[email protected]:11] Set("PJSIP/121-0000000c", "__DIAL_OPTIONS=HhTtr") in new stack
    -- Executing [[email protected]:12] Set("PJSIP/121-0000000c", "CALLERID(all)="Asher Toporovsky" <121>") in new stack
    -- Executing [[email protected]:13] GotoIf("PJSIP/121-0000000c", "0?limit") in new stack
    -- Executing [[email protected]:14] ExecIf("PJSIP/121-0000000c", "0?Set(GROUP(concurrency_limit)=121)") in new stack
    -- Executing [[email protected]:15] NoOp("PJSIP/121-0000000c", "Macro Depth is 2") in new stack
    -- Executing [[email protected]:16] GotoIf("PJSIP/121-0000000c", "1?report2:macroerror") in new stack
    -- Goto (macro-user-callerid,s,17)
    -- Executing [[email protected]:17] GotoIf("PJSIP/121-0000000c", "0?continue") in new stack
    -- Executing [[email protected]:18] Set("PJSIP/121-0000000c", "__TTL=64") in new stack
    -- Executing [[email protected]:19] GotoIf("PJSIP/121-0000000c", "1?continue") in new stack
    -- Goto (macro-user-callerid,s,35)
    -- Executing [[email protected]:35] Set("PJSIP/121-0000000c", "CALLERID(number)=121") in new stack
    -- Executing [[email protected]:36] Set("PJSIP/121-0000000c", "CALLERID(name)=Asher Toporovsky") in new stack
    -- Executing [[email protected]:37] GotoIf("PJSIP/121-0000000c", "0?cnum") in new stack
    -- Executing [[email protected]:38] Set("PJSIP/121-0000000c", "CDR(cnam)=Asher Toporovsky") in new stack
    -- Executing [[email protected]:39] Set("PJSIP/121-0000000c", "CDR(cnum)=121") in new stack
    -- Executing [[email protected]:40] Set("PJSIP/121-0000000c", "CHANNEL(language)=en") in new stack
    -- Executing [[email protected]:2] Set("PJSIP/121-0000000c", "RingGroupMethod=none") in new stack
    -- Executing [[email protected]:3] Set("PJSIP/121-0000000c", "__EXTTOCALL=125") in new stack
    -- Executing [[email protected]:4] Set("PJSIP/121-0000000c", "__PICKUPMARK=125") in new stack
    -- Executing [[email protected]:5] Set("PJSIP/121-0000000c", "RT=15") in new stack
    -- Executing [[email protected]:6] Gosub("PJSIP/121-0000000c", "sub-record-check,s,1(exten,125,dontcare)") in new stack
    -- Executing [[email protected]:1] GotoIf("PJSIP/121-0000000c", "0?initialized") in new stack
    -- Executing [[email protected]:2] Set("PJSIP/121-0000000c", "__REC_STATUS=INITIALIZED") in new stack
    -- Executing [[email protected]:3] Set("PJSIP/121-0000000c", "NOW=1544977742") in new stack
    -- Executing [[email protected]:4] Set("PJSIP/121-0000000c", "__DAY=16") in new stack
    -- Executing [[email protected]:5] Set("PJSIP/121-0000000c", "__MONTH=12") in new stack
    -- Executing [[email protected]:6] Set("PJSIP/121-0000000c", "__YEAR=2018") in new stack
    -- Executing [[email protected]:7] Set("PJSIP/121-0000000c", "__TIMESTR=20181216-112902") in new stack
    -- Executing [[email protected]:8] Set("PJSIP/121-0000000c", "__FROMEXTEN=121") in new stack
    -- Executing [[email protected]:9] Set("PJSIP/121-0000000c", "__MON_FMT=wav") in new stack
    -- Executing [[email protected]:10] NoOp("PJSIP/121-0000000c", "Recordings initialized") in new stack
    -- Executing [[email protected]:11] ExecIf("PJSIP/121-0000000c", "0?Set(ARG3=dontcare)") in new stack
    -- Executing [[email protected]:12] Set("PJSIP/121-0000000c", "REC_POLICY_MODE_SAVE=") in new stack
    -- Executing [[email protected]:13] ExecIf("PJSIP/121-0000000c", "0?Set(REC_STATUS=NO)") in new stack
    -- Executing [[email protected]:14] GotoIf("PJSIP/121-0000000c", "5?checkaction") in new stack
    -- Goto (sub-record-check,s,17)
    -- Executing [[email protected]:17] GotoIf("PJSIP/121-0000000c", "1?sub-record-check,exten,1") in new stack
    -- Goto (sub-record-check,exten,1)
    -- Executing [[email protected]:1] NoOp("PJSIP/121-0000000c", "Exten Recording Check between 121 and 125") in new stack
    -- Executing [[email protected]:2] Set("PJSIP/121-0000000c", "CALLTYPE=internal") in new stack
    -- Executing [[email protected]:3] ExecIf("PJSIP/121-0000000c", "0?Set(CALLTYPE=)") in new stack
    -- Executing [[email protected]:4] Set("PJSIP/121-0000000c", "CALLEE=dontcare") in new stack
    -- Executing [[email protected]:5] ExecIf("PJSIP/121-0000000c", "0?Set(CALLEE=dontcare)") in new stack
    -- Executing [[email protected]:6] GotoIf("PJSIP/121-0000000c", "0?callee") in new stack
    -- Executing [[email protected]:7] GotoIf("PJSIP/121-0000000c", "1?caller") in new stack
    -- Goto (sub-record-check,exten,13)
    -- Executing [[email protected]:13] Set("PJSIP/121-0000000c", "RECMODE=dontcare") in new stack
    -- Executing [[email protected]:14] ExecIf("PJSIP/121-0000000c", "0?Set(RECMODE=dontcare)") in new stack
    -- Executing [[email protected]:15] ExecIf("PJSIP/121-0000000c", "1?Set(RECMODE=dontcare)") in new stack
    -- Executing [[email protected]:16] Gosub("PJSIP/121-0000000c", "recordcheck,1(dontcare,internal,125)") in new stack
    -- Executing [[email protected]:1] NoOp("PJSIP/121-0000000c", "Starting recording check against dontcare") in new stack
    -- Executing [[email protected]:2] Goto("PJSIP/121-0000000c", "dontcare") in new stack
    -- Goto (sub-record-check,recordcheck,3)
    -- Executing [[email protected]:3] Return("PJSIP/121-0000000c", "") in new stack
    -- Executing [[email protected]:17] Return("PJSIP/121-0000000c", "") in new stack
    -- Executing [[email protected]:7] GotoIf("PJSIP/121-0000000c", "1?macrodial") in new stack
    -- Goto (macro-exten-vm,s,13)
    -- Executing [[email protected]:13] GosubIf("PJSIP/121-0000000c", "0?clrheader,1()") in new stack
    -- Executing [[email protected]:14] Macro("PJSIP/121-0000000c", "dial-one,15,HhTtr,125") in new stack
    -- Executing [[email protected]:1] Set("PJSIP/121-0000000c", "DEXTEN=125") in new stack
    -- Executing [[email protected]:2] ExecIf("PJSIP/121-0000000c", "0?Set(__EXTTOCALL=125)") in new stack
    -- Executing [[email protected]:3] Set("PJSIP/121-0000000c", "DIALSTATUS_CW=") in new stack
    -- Executing [[email protected]:4] GosubIf("PJSIP/121-0000000c", "0?screen,1()") in new stack
    -- Executing [[email protected]:5] GosubIf("PJSIP/121-0000000c", "0?cf,1()") in new stack
    -- Executing [[email protected]:6] GotoIf("PJSIP/121-0000000c", "1?skip1") in new stack
    -- Goto (macro-dial-one,s,9)
    -- Executing [[email protected]:9] GotoIf("PJSIP/121-0000000c", "0?nodial") in new stack
    -- Executing [[email protected]:10] GotoIf("PJSIP/121-0000000c", "0?continue") in new stack
    -- Executing [[email protected]:11] Set("PJSIP/121-0000000c", "EXTHASCW=ENABLED") in new stack
    -- Executing [[email protected]:12] GotoIf("PJSIP/121-0000000c", "0?next1:cwinusebusy") in new stack
    -- Goto (macro-dial-one,s,24)
    -- Executing [[email protected]:24] GotoIf("PJSIP/121-0000000c", "0?next3:continue") in new stack
    -- Goto (macro-dial-one,s,26)
    -- Executing [[email protected]:26] GotoIf("PJSIP/121-0000000c", "0?nodial") in new stack
    -- Executing [[email protected]:27] GosubIf("PJSIP/121-0000000c", "1?dstring,1():dlocal,1()") in new stack
    -- Executing [[email protected]:1] Set("PJSIP/121-0000000c", "DSTRING=") in new stack
    -- Executing [[email protected]:2] Set("PJSIP/121-0000000c", "DEVICES=125") in new stack
    -- Executing [[email protected]:3] ExecIf("PJSIP/121-0000000c", "0?Return()") in new stack
    -- Executing [[email protected]:4] ExecIf("PJSIP/121-0000000c", "0?Set(DEVICES=25)") in new stack
    -- Executing [[email protected]:5] Set("PJSIP/121-0000000c", "LOOPCNT=1") in new stack
    -- Executing [[email protected]:6] Set("PJSIP/121-0000000c", "ITER=1") in new stack
    -- Executing [[email protected]:7] Set("PJSIP/121-0000000c", "THISDIAL=PJSIP/125") in new stack
    -- Executing [[email protected]:8] GosubIf("PJSIP/121-0000000c", "1?zap2dahdi,1()") in new stack
    -- Executing [[email protected]:1] ExecIf("PJSIP/121-0000000c", "0?Return()") in new stack
    -- Executing [[email protected]:2] Set("PJSIP/121-0000000c", "NEWDIAL=") in new stack
    -- Executing [[email protected]:3] Set("PJSIP/121-0000000c", "LOOPCNT2=1") in new stack
    -- Executing [[email protected]:4] Set("PJSIP/121-0000000c", "ITER2=1") in new stack
    -- Executing [[email protected]:5] Set("PJSIP/121-0000000c", "THISPART2=PJSIP/125") in new stack
    -- Executing [[email protected]:6] ExecIf("PJSIP/121-0000000c", "0?Set(THISPART2=DAHDIIP/125)") in new stack
    -- Executing [[email protected]:7] Set("PJSIP/121-0000000c", "NEWDIAL=PJSIP/125&") in new stack
    -- Executing [[email protected]:8] Set("PJSIP/121-0000000c", "ITER2=2") in new stack
    -- Executing [[email protected]:9] GotoIf("PJSIP/121-0000000c", "0?begin2") in new stack
    -- Executing [[email protected]:10] Set("PJSIP/121-0000000c", "THISDIAL=PJSIP/125") in new stack
    -- Executing [[email protected]:11] Return("PJSIP/121-0000000c", "") in new stack
    -- Executing [[email protected]:9] GotoIf("PJSIP/121-0000000c", "0?docheck") in new stack
    -- Executing [[email protected]:10] NoOp("PJSIP/121-0000000c", "Debug: Found PJSIP Destination PJSIP/125") in new stack
    -- Executing [[email protected]:11] GotoIf("PJSIP/121-0000000c", "0?doset") in new stack
    -- Executing [[email protected]:12] NoOp("PJSIP/121-0000000c", "Debug: Updating PJSIP Destination with PJSIP_DIAL_CONTACTS") in new stack
    -- Executing [[email protected]:13] Set("PJSIP/121-0000000c", "THISDIAL=PJSIP/125/sip:[email protected]:57469;transport=TLS") in new stack
    -- Executing [[email protected]:14] ExecIf("PJSIP/121-0000000c", "0?Set(DIALSTATUS=CHANUNAVAIL)") in new stack
    -- Executing [[email protected]:15] GotoIf("PJSIP/121-0000000c", "0?skipset") in new stack
    -- Executing [[email protected]:16] Set("PJSIP/121-0000000c", "DSTRING=PJSIP/125/sip:[email protected]:57469;transport=TLS&") in new stack
    -- Executing [[email protected]:17] Set("PJSIP/121-0000000c", "ITER=2") in new stack
    -- Executing [[email protected]:18] GotoIf("PJSIP/121-0000000c", "0?begin") in new stack
    -- Executing [[email protected]:19] ExecIf("PJSIP/121-0000000c", "0?Return()") in new stack
    -- Executing [[email protected]:20] Set("PJSIP/121-0000000c", "DSTRING=PJSIP/125/sip:[email protected]:57469;transport=TLS") in new stack
    -- Executing [[email protected]:21] Return("PJSIP/121-0000000c", "") in new stack
    -- Executing [[email protected]:28] GotoIf("PJSIP/121-0000000c", "0?nodial") in new stack
    -- Executing [[email protected]:29] GotoIf("PJSIP/121-0000000c", "0?skiptrace") in new stack
    -- Executing [[email protected]:30] GosubIf("PJSIP/121-0000000c", "1?ctset,1():ctclear,1()") in new stack
    -- Executing [[email protected]:1] Set("PJSIP/121-0000000c", "DB(CALLTRACE/125)=121") in new stack
    -- Executing [[email protected]:2] Return("PJSIP/121-0000000c", "") in new stack
    -- Executing [[email protected]:31] Set("PJSIP/121-0000000c", "D_OPTIONS=HhTtr") in new stack
    -- Executing [[email protected]:32] GosubIf("PJSIP/121-0000000c", "0?func-set-sipheader,s,1(Alert-Info,)") in new stack
    -- Executing [[email protected]:33] NoOp("PJSIP/121-0000000c", "Blind Transfer: , Attended Transfer: , User: 121, Alert Info: ") in new stack
    -- Executing [[email protected]:34] ExecIf("PJSIP/121-0000000c", "1?Set(ALERT_INFO=)") in new stack
    -- Executing [[email protected]:35] ExecIf("PJSIP/121-0000000c", "0?Set(ALERT_INFO=)") in new stack
    -- Executing [[email protected]:36] ExecIf("PJSIP/121-0000000c", "0?Set(ALERT_INFO=)") in new stack
    -- Executing [[email protected]:37] ExecIf("PJSIP/121-0000000c", "0?Set(ALERT_INFO=Normal;volume=)") in new stack
    -- Executing [[email protected]:38] ExecIf("PJSIP/121-0000000c", "0?Set(ALERT_INFO=Normal;volume=)") in new stack
    -- Executing [[email protected]:39] GosubIf("PJSIP/121-0000000c", "0?func-set-sipheader,s,1(Alert-Info,)") in new stack
    -- Executing [[email protected]:40] ExecIf("PJSIP/121-0000000c", "0?Set(CHANNEL(musicclass)=)") in new stack
    -- Executing [[email protected]:41] GosubIf("PJSIP/121-0000000c", "0?qwait,1()") in new stack
    -- Executing [[email protected]:42] Set("PJSIP/121-0000000c", "__CWIGNORE=") in new stack
    -- Executing [[email protected]:43] Set("PJSIP/121-0000000c", "__KEEPCID=TRUE") in new stack
    -- Executing [[email protected]:44] GotoIf("PJSIP/121-0000000c", "0?usegoto,1") in new stack
    -- Executing [[email protected]:45] GotoIf("PJSIP/121-0000000c", "0?godial") in new stack
    -- Executing [[email protected]:46] Gosub("PJSIP/121-0000000c", "sub-presencestate-display,s,1(125)") in new stack
    -- Executing [[email protected]:1] Goto("PJSIP/121-0000000c", "state-not_set,1") in new stack
    -- Goto (sub-presencestate-display,state-not_set,1)
    -- Executing [[email protected]:1] Set("PJSIP/121-0000000c", "PRESENCESTATE_DISPLAY=") in new stack
    -- Executing [[email protected]:2] Return("PJSIP/121-0000000c", "") in new stack
    -- Executing [[email protected]:47] Set("PJSIP/121-0000000c", "CONNECTEDLINE(name,i)=Jack Sutton") in new stack
    -- Executing [[email protected]:48] Set("PJSIP/121-0000000c", "CONNECTEDLINE(num)=125") in new stack
    -- Executing [[email protected]:49] Set("PJSIP/121-0000000c", "D_OPTIONS=HhTtrI") in new stack
    -- Executing [[email protected]:50] Macro("PJSIP/121-0000000c", "dialout-one-predial-hook,") in new stack
    -- Executing [[email protected]:1] MacroExit("PJSIP/121-0000000c", "") in new stack
    -- Executing [[email protected]:51] ExecIf("PJSIP/121-0000000c", "0?Set(D_OPTIONS=HhtrII)") in new stack
    -- Executing [[email protected]:52] NoOp("PJSIP/121-0000000c", "") in new stack
    -- Executing [[email protected]:53] ExecIf("PJSIP/121-0000000c", "0?Set(D_OPTIONS=HhTtrIg)") in new stack
    -- Executing [[email protected]:54] Dial("PJSIP/121-0000000c", "PJSIP/125/sip:[email protected]:57469;transport=TLS,15,HhTtrIb(func-apply-sipheaders^s^1)") in new stack
    -- PJSIP/125-0000000d Internal Gosub(func-apply-sipheaders,s,1) start
    -- Executing [[email protected]:1] NoOp("PJSIP/125-0000000d", "Applying SIP Headers to channel") in new stack
    -- Executing [[email protected]:2] Set("PJSIP/125-0000000d", "SIPHEADERKEYS=") in new stack
    -- Executing [[email protected]:3] ExecIf("PJSIP/125-0000000d", "0?Set(Rheader=1)") in new stack
    -- Executing [[email protected]:4] While("PJSIP/125-0000000d", "0") in new stack
    -- Jumping to priority 8
    -- Executing [[email protected]:9] ExecIf("PJSIP/125-0000000d", "0?SIPRemoveHeader(Alert-Info:)") in new stack
    -- Executing [[email protected]:10] ExecIf("PJSIP/125-0000000d", "0?Set(PJSIP_HEADER(remove,Alert-Info)=)") in new stack
    -- Executing [[email protected]:11] Return("PJSIP/125-0000000d", "") in new stack
  == Spawn extension (from-internal, 125, 1) exited non-zero on 'PJSIP/125-0000000d'
    -- PJSIP/125-0000000d Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
    -- Called PJSIP/125/sip:[email protected]:57469;transport=TLS
  == 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/121-0000000c prevented.
  == Everyone is busy/congested at this time (1:0/0/1)

Please wrap all of your dialplan in code tags.

This is a SIP signalling issue, you need to figure out why your endpoint is rejecting the INVITE.

Sorry Andrew - will fix for future posts

Lorne - I have looked over the phone configuration options side by side - ie compared the working and non working phone settings - and they seem the same to me- any specific configuration option in the yealink I should focus on?

Thanks

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