PJSIP dual phone problem


#1

I have 2 phones registered with PJSIP (ext 2022)
The 2 phones are not playing well together…
It’s 1 working the other not, or both not working.
Sometimes it just goes directly to Voice Mail…
As I was talking to that ext (when it decided to work), I got this (while still on the phone):

-- Contact 2022/sip:2022@192.168.111.156:5060 is now Unreachable.  RTT: 0.000 msec
-- Contact 2022/sip:2022@192.168.110.67:5060 is now Unreachable.  RTT: 0.000 msec

== Endpoint 2022 is now Unreachable

After that there was no post until we hung up the phone.
Then I tried calling it again, it went directly to Voice Mail (twice - in a space of 5min)
Then it worked again…
Max Contacts is set to 6.

Here is the full log:

[2021-02-15 13:46:09] SECURITY[2289]: res_security_log.c:116 security_event_stasis_cb: SecurityEvent=“SuccessfulAuth”,EventTV=“2021-02-15T13:46:09.538-0500”,Severity=“Informational”,Service=“SIP”,EventVersion=“1”,AccountID=“2022”,SessionID=“0x7fcce8051ec8”,LocalAddress=“IPV4/UDP/192.168.110.2/5160”,RemoteAddress=“IPV4/UDP/192.168.110.20/5160”,UsingPassword=“1”
– Executing [2022@from-internal:1] GotoIf(“SIP/2035-0000bad5”, “1?ext-local,2022,1:followme-check,2022,1”) in new stack
– Goto (ext-local,2022,1)
– Executing [2022@ext-local:1] Set(“SIP/2035-0000bad5”, “__RINGTIMER=25”) in new stack
– Executing [2022@ext-local:2] ExecIf(“SIP/2035-0000bad5”, “0?Set(__CWIGNORE=)”) in new stack
– Executing [2022@ext-local:3] Macro(“SIP/2035-0000bad5”, “exten-vm,2022,2022,0,0,0”) in new stack
– Executing [s@macro-user-callerid:18] ExecIf(“SIP/2035-0000bad5”, “0?Set(CUSDIAL=2022)”) in new stack
– Executing [s@macro-exten-vm:3] Set(“SIP/2035-0000bad5”, “__EXTTOCALL=2022”) in new stack
– Executing [s@macro-exten-vm:4] Set(“SIP/2035-0000bad5”, “__PICKUPMARK=2022”) in new stack
– Executing [s@macro-exten-vm:6] ExecIf(“SIP/2035-0000bad5”, “0?Macro(vm,2022,DIRECTDIAL,)”) in new stack
– Executing [s@macro-exten-vm:8] ExecIf(“SIP/2035-0000bad5”, “0?Gosub(ext-intercom,*802022,1())”) in new stack
– Executing [s@macro-exten-vm:10] ExecIf(“SIP/2035-0000bad5”, “0?ChanSpy(PJSIP/2022,q)”) in new stack
– Executing [s@macro-exten-vm:12] ExecIf(“SIP/2035-0000bad5”, “0?Macro(vm,2022,DIRECTDIAL,)”) in new stack
– Executing [s@macro-exten-vm:14] ExecIf(“SIP/2035-0000bad5”, “0?Gosub(ext-intercom,*802022,1())”) in new stack
– Executing [s@macro-exten-vm:16] ExecIf(“SIP/2035-0000bad5”, “0?ChanSpy(PJSIP/2022,q)”) in new stack
– Executing [s@macro-exten-vm:18] Gosub(“SIP/2035-0000bad5”, “sub-record-check,s,1(exten,2022,dontcare)”) in new stack
– Executing [exten@sub-record-check:1] NoOp(“SIP/2035-0000bad5”, “Exten Recording Check between 2035 and 2022”) in new stack
– Executing [exten@sub-record-check:16] Gosub(“SIP/2035-0000bad5”, “recordcheck,1(dontcare,internal,2022)”) in new stack
– Executing [s@macro-exten-vm:26] Macro(“SIP/2035-0000bad5”, “dial-one,25,Ttr,2022”) in new stack
– Executing [s@macro-dial-one:1] Set(“SIP/2035-0000bad5”, “DEXTEN=2022”) in new stack
– Executing [s@macro-dial-one:2] ExecIf(“SIP/2035-0000bad5”, “0?Set(__EXTTOCALL=2022)”) in new stack
– Executing [dstring@macro-dial-one:2] Set(“SIP/2035-0000bad5”, “DEVICES=2022”) in new stack
– Executing [dstring@macro-dial-one:7] Set(“SIP/2035-0000bad5”, “THISDIAL=PJSIP/2022”) in new stack
– Executing [dstring@macro-dial-one:9] NoOp(“SIP/2035-0000bad5”, “Debug: Found PJSIP Destination PJSIP/2022”) in new stack
– Executing [dstring@macro-dial-one:12] Set(“SIP/2035-0000bad5”, “THISDIAL=PJSIP/2022/sip:2022@192.168.110.67:5060&PJSIP/2022/sip:2022@192.168.111.156:5060”) in new stack
– Executing [dstring@macro-dial-one:15] Set(“SIP/2035-0000bad5”, “DSTRING=PJSIP/2022/sip:2022@192.168.110.67:5060&PJSIP/2022/sip:2022@192.168.111.156:5060&”) in new stack
– Executing [dstring@macro-dial-one:19] Set(“SIP/2035-0000bad5”, “DSTRING=PJSIP/2022/sip:2022@192.168.110.67:5060&PJSIP/2022/sip:2022@192.168.111.156:5060”) in new stack
– Executing [ctset@macro-dial-one:1] Set(“SIP/2035-0000bad5”, “DB(CALLTRACE/2022)=2035”) in new stack
– Executing [s@macro-dial-one:46] Gosub(“SIP/2035-0000bad5”, “sub-presencestate-display,s,1(2022)”) in new stack
– Executing [s@macro-dial-one:48] Set(“SIP/2035-0000bad5”, “CONNECTEDLINE(num)=2022”) in new stack
– Executing [s@macro-dial-one:55] Dial(“SIP/2035-0000bad5”, “PJSIP/2022/sip:2022@192.168.110.67:5060&PJSIP/2022/sip:2022@192.168.111.156:5060,25,Ttrb(func-apply-sipheaders^s^1)”) in new stack
– PJSIP/2022-000010d1 Internal Gosub(func-apply-sipheaders,s,1) start
– Executing [s@func-apply-sipheaders:1] NoOp(“PJSIP/2022-000010d1”, “Applying SIP Headers to channel PJSIP/2022-000010d1”) in new stack
– Executing [s@func-apply-sipheaders:2] Set(“PJSIP/2022-000010d1”, “TECH=PJSIP”) in new stack
– Executing [s@func-apply-sipheaders:3] Set(“PJSIP/2022-000010d1”, “SIPHEADERKEYS=”) in new stack
– Executing [s@func-apply-sipheaders:4] While(“PJSIP/2022-000010d1”, “0”) in new stack
– Executing [s@func-apply-sipheaders:13] Return(“PJSIP/2022-000010d1”, “”) in new stack
== Spawn extension (from-internal, 2022, 1) exited non-zero on ‘PJSIP/2022-000010d1’
– PJSIP/2022-000010d1 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
– PJSIP/2022-000010d2 Internal Gosub(func-apply-sipheaders,s,1) start
– Executing [s@func-apply-sipheaders:1] NoOp(“PJSIP/2022-000010d2”, “Applying SIP Headers to channel PJSIP/2022-000010d2”) in new stack
– Executing [s@func-apply-sipheaders:2] Set(“PJSIP/2022-000010d2”, “TECH=PJSIP”) in new stack
– Executing [s@func-apply-sipheaders:3] Set(“PJSIP/2022-000010d2”, “SIPHEADERKEYS=”) in new stack
– Executing [s@func-apply-sipheaders:4] While(“PJSIP/2022-000010d2”, “0”) in new stack
– Executing [s@func-apply-sipheaders:13] Return(“PJSIP/2022-000010d2”, “”) in new stack
== Spawn extension (from-internal, 2022, 1) exited non-zero on ‘PJSIP/2022-000010d2’
– PJSIP/2022-000010d2 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
– Called PJSIP/2022/sip:2022@192.168.110.67:5060
– Called PJSIP/2022/sip:2022@192.168.111.156:5060
– PJSIP/2022-000010d1 connected line has changed. Saving it until answer for SIP/2035-0000bad5
– PJSIP/2022-000010d2 connected line has changed. Saving it until answer for SIP/2035-0000bad5
– PJSIP/2022-000010d2 is ringing
– PJSIP/2022-000010d1 is ringing
– PJSIP/2022-000010d2 answered SIP/2035-0000bad5
– Channel PJSIP/2022-000010d2 joined ‘simple_bridge’ basic-bridge <332b5fe9-f0ff-47fc-a571-7b6cad75ec73>
[2021-02-15 13:46:25] SECURITY[2289]: res_security_log.c:116 security_event_stasis_cb: SecurityEvent=“ChallengeSent”,EventTV=“2021-02-15T13:46:25.820-0500”,Severity=“Informational”,Service=“PJSIP”,EventVersion=“1”,AccountID=“2022”,SessionID="346f9017-953b0140-3bfacb23-38b4843d@192.168.111.156",LocalAddress=“IPV4/UDP/192.168.110.2/5060”,RemoteAddress=“IPV4/UDP/192.168.111.156/5060”,Challenge=""
[2021-02-15 13:46:25] SECURITY[2289]: res_security_log.c:116 security_event_stasis_cb: SecurityEvent=“SuccessfulAuth”,EventTV=“2021-02-15T13:46:25.826-0500”,Severity=“Informational”,Service=“PJSIP”,EventVersion=“1”,AccountID=“2022”,SessionID="346f9017-953b0140-3bfacb23-38b4843d@192.168.111.156",LocalAddress=“IPV4/UDP/192.168.110.2/5060”,RemoteAddress=“IPV4/UDP/192.168.111.156/5060”,UsingPassword=“1”
– Contact 2022/sip:2022@192.168.111.156:5060 is now Unreachable. RTT: 0.000 msec
– Contact 2022/sip:2022@192.168.110.67:5060 is now Unreachable. RTT: 0.000 msec
== Endpoint 2022 is now Unreachable
– Channel PJSIP/2022-000010d2 left ‘simple_bridge’ basic-bridge <332b5fe9-f0ff-47fc-a571-7b6cad75ec73>
== Spawn extension (ext-local, 2022, 3) exited non-zero on ‘SIP/2035-0000bad5’
– Executing [s@macro-hangupcall:4] NoOp(“SIP/2035-0000bad5”, "PJSIP/2022-000010d2 montior file= ") in new stack
[2021-02-15 13:47:16] SECURITY[2289]: res_security_log.c:116 security_event_stasis_cb: SecurityEvent=“SuccessfulAuth”,EventTV=“2021-02-15T13:47:16.246-0500”,Severity=“Informational”,Service=“SIP”,EventVersion=“1”,AccountID=“2022”,SessionID=“0x7fcce8256828”,LocalAddress=“IPV4/UDP/192.168.110.2/5160”,RemoteAddress=“IPV4/UDP/192.168.111.31/5160”,UsingPassword=“1”
– Executing [2022@from-internal:1] GotoIf(“SIP/2030-0000bad8”, “1?ext-local,2022,1:followme-check,2022,1”) in new stack
– Goto (ext-local,2022,1)
– Executing [2022@ext-local:1] Set(“SIP/2030-0000bad8”, “__RINGTIMER=25”) in new stack
– Executing [2022@ext-local:2] ExecIf(“SIP/2030-0000bad8”, “0?Set(__CWIGNORE=)”) in new stack
– Executing [2022@ext-local:3] Macro(“SIP/2030-0000bad8”, “exten-vm,2022,2022,0,0,0”) in new stack
– Executing [s@macro-user-callerid:18] ExecIf(“SIP/2030-0000bad8”, “0?Set(CUSDIAL=2022)”) in new stack
– Executing [s@macro-exten-vm:3] Set(“SIP/2030-0000bad8”, “__EXTTOCALL=2022”) in new stack
– Executing [s@macro-exten-vm:4] Set(“SIP/2030-0000bad8”, “__PICKUPMARK=2022”) in new stack
– Executing [s@macro-exten-vm:6] ExecIf(“SIP/2030-0000bad8”, “0?Macro(vm,2022,DIRECTDIAL,)”) in new stack
– Executing [s@macro-exten-vm:8] ExecIf(“SIP/2030-0000bad8”, “0?Gosub(ext-intercom,*802022,1())”) in new stack
– Executing [s@macro-exten-vm:10] ExecIf(“SIP/2030-0000bad8”, “0?ChanSpy(PJSIP/2022,q)”) in new stack
– Executing [s@macro-exten-vm:12] ExecIf(“SIP/2030-0000bad8”, “0?Macro(vm,2022,DIRECTDIAL,)”) in new stack
– Executing [s@macro-exten-vm:14] ExecIf(“SIP/2030-0000bad8”, “0?Gosub(ext-intercom,*802022,1())”) in new stack
– Executing [s@macro-exten-vm:16] ExecIf(“SIP/2030-0000bad8”, “0?ChanSpy(PJSIP/2022,q)”) in new stack
– Executing [s@macro-exten-vm:18] Gosub(“SIP/2030-0000bad8”, “sub-record-check,s,1(exten,2022,dontcare)”) in new stack
– Executing [exten@sub-record-check:1] NoOp(“SIP/2030-0000bad8”, “Exten Recording Check between 2030 and 2022”) in new stack
– Executing [exten@sub-record-check:16] Gosub(“SIP/2030-0000bad8”, “recordcheck,1(dontcare,internal,2022)”) in new stack
– Executing [s@macro-exten-vm:26] Macro(“SIP/2030-0000bad8”, “dial-one,25,Ttr,2022”) in new stack
– Executing [s@macro-dial-one:1] Set(“SIP/2030-0000bad8”, “DEXTEN=2022”) in new stack
– Executing [s@macro-dial-one:2] ExecIf(“SIP/2030-0000bad8”, “0?Set(__EXTTOCALL=2022)”) in new stack
– Executing [dstring@macro-dial-one:2] Set(“SIP/2030-0000bad8”, “DEVICES=2022”) in new stack
– Executing [dstring@macro-dial-one:7] Set(“SIP/2030-0000bad8”, “THISDIAL=PJSIP/2022”) in new stack
– Executing [dstring@macro-dial-one:9] NoOp(“SIP/2030-0000bad8”, “Debug: Found PJSIP Destination PJSIP/2022”) in new stack
– Executing [s@macro-exten-vm:33] Macro(“SIP/2030-0000bad8”, “vm,2022,CHANUNAVAIL,”) in new stack
– Executing [vmx@macro-vm:1] Set(“SIP/2030-0000bad8”, “MEXTEN=2022”) in new stack
– Executing [vmx@macro-vm:5] Macro(“SIP/2030-0000bad8”, “get-vmcontext,2022”) in new stack
– Executing [vmx@macro-vm:13] NoOp(“SIP/2030-0000bad8”, "Checking if ext 2022 is enabled: ") in new stack
– Executing [s-CHANUNAVAIL@macro-vm:1] Macro(“SIP/2030-0000bad8”, “get-vmcontext,2022”) in new stack
– Executing [s-CHANUNAVAIL@macro-vm:2] VoiceMail(“SIP/2030-0000bad8”, “2022@default,u”) in new stack
== Spawn extension (ext-local, 2022, 3) exited non-zero on ‘SIP/2030-0000bad8’
[2021-02-15 13:47:32] SECURITY[2289]: res_security_log.c:116 security_event_stasis_cb: SecurityEvent=“SuccessfulAuth”,EventTV=“2021-02-15T13:47:32.919-0500”,Severity=“Informational”,Service=“SIP”,EventVersion=“1”,AccountID=“2022”,SessionID=“0x7fcce8325bb8”,LocalAddress=“IPV4/UDP/192.168.110.2/5160”,RemoteAddress=“IPV4/UDP/192.168.110.20/5160”,UsingPassword=“1”
– Executing [2022@from-internal:1] GotoIf(“SIP/2035-0000badb”, “1?ext-local,2022,1:followme-check,2022,1”) in new stack
– Goto (ext-local,2022,1)
– Executing [2022@ext-local:1] Set(“SIP/2035-0000badb”, “__RINGTIMER=25”) in new stack
– Executing [2022@ext-local:2] ExecIf(“SIP/2035-0000badb”, “0?Set(__CWIGNORE=)”) in new stack
– Executing [2022@ext-local:3] Macro(“SIP/2035-0000badb”, “exten-vm,2022,2022,0,0,0”) in new stack
– Executing [s@macro-user-callerid:18] ExecIf(“SIP/2035-0000badb”, “0?Set(CUSDIAL=2022)”) in new stack
– Executing [s@macro-exten-vm:3] Set(“SIP/2035-0000badb”, “__EXTTOCALL=2022”) in new stack
– Executing [s@macro-exten-vm:4] Set(“SIP/2035-0000badb”, “__PICKUPMARK=2022”) in new stack
– Executing [s@macro-exten-vm:6] ExecIf(“SIP/2035-0000badb”, “0?Macro(vm,2022,DIRECTDIAL,)”) in new stack
– Executing [s@macro-exten-vm:8] ExecIf(“SIP/2035-0000badb”, “0?Gosub(ext-intercom,*802022,1())”) in new stack
– Executing [s@macro-exten-vm:10] ExecIf(“SIP/2035-0000badb”, “0?ChanSpy(PJSIP/2022,q)”) in new stack
– Executing [s@macro-exten-vm:12] ExecIf(“SIP/2035-0000badb”, “0?Macro(vm,2022,DIRECTDIAL,)”) in new stack
– Executing [s@macro-exten-vm:14] ExecIf(“SIP/2035-0000badb”, “0?Gosub(ext-intercom,*802022,1())”) in new stack
– Executing [s@macro-exten-vm:16] ExecIf(“SIP/2035-0000badb”, “0?ChanSpy(PJSIP/2022,q)”) in new stack
– Executing [s@macro-exten-vm:18] Gosub(“SIP/2035-0000badb”, “sub-record-check,s,1(exten,2022,dontcare)”) in new stack
– Executing [exten@sub-record-check:1] NoOp(“SIP/2035-0000badb”, “Exten Recording Check between 2035 and 2022”) in new stack
– Executing [exten@sub-record-check:16] Gosub(“SIP/2035-0000badb”, “recordcheck,1(dontcare,internal,2022)”) in new stack
– Executing [s@macro-exten-vm:26] Macro(“SIP/2035-0000badb”, “dial-one,25,Ttr,2022”) in new stack
– Executing [s@macro-dial-one:1] Set(“SIP/2035-0000badb”, “DEXTEN=2022”) in new stack
– Executing [s@macro-dial-one:2] ExecIf(“SIP/2035-0000badb”, “0?Set(__EXTTOCALL=2022)”) in new stack
– Executing [dstring@macro-dial-one:2] Set(“SIP/2035-0000badb”, “DEVICES=2022”) in new stack
– Executing [dstring@macro-dial-one:7] Set(“SIP/2035-0000badb”, “THISDIAL=PJSIP/2022”) in new stack
– Executing [dstring@macro-dial-one:9] NoOp(“SIP/2035-0000badb”, “Debug: Found PJSIP Destination PJSIP/2022”) in new stack
– Executing [s@macro-exten-vm:33] Macro(“SIP/2035-0000badb”, “vm,2022,CHANUNAVAIL,”) in new stack
– Executing [vmx@macro-vm:1] Set(“SIP/2035-0000badb”, “MEXTEN=2022”) in new stack
– Executing [vmx@macro-vm:5] Macro(“SIP/2035-0000badb”, “get-vmcontext,2022”) in new stack
– Executing [vmx@macro-vm:13] NoOp(“SIP/2035-0000badb”, "Checking if ext 2022 is enabled: ") in new stack
– Executing [s-CHANUNAVAIL@macro-vm:1] Macro(“SIP/2035-0000badb”, “get-vmcontext,2022”) in new stack
– Executing [s-CHANUNAVAIL@macro-vm:2] VoiceMail(“SIP/2035-0000badb”, “2022@default,u”) in new stack
– Contact 2022/sip:2022@192.168.111.156:5060 is now Reachable. RTT: 6.387 msec
== Endpoint 2022 is now Reachable
== Spawn extension (ext-local, 2022, 3) exited non-zero on ‘SIP/2035-0000badb’
– Contact 2022/sip:2022@192.168.110.67:5060 is now Reachable. RTT: 9.045 msec
[2021-02-15 13:49:13] SECURITY[2289]: res_security_log.c:116 security_event_stasis_cb: SecurityEvent=“SuccessfulAuth”,EventTV=“2021-02-15T13:49:13.666-0500”,Severity=“Informational”,Service=“SIP”,EventVersion=“1”,AccountID=“2022”,SessionID=“0x7fcce80da9e8”,LocalAddress=“IPV4/UDP/192.168.110.2/5160”,RemoteAddress=“IPV4/UDP/192.168.110.20/5160”,UsingPassword=“1”
– Executing [2022@from-internal:1] GotoIf(“SIP/2035-0000bade”, “1?ext-local,2022,1:followme-check,2022,1”) in new stack
– Goto (ext-local,2022,1)
– Executing [2022@ext-local:1] Set(“SIP/2035-0000bade”, “__RINGTIMER=25”) in new stack
– Executing [2022@ext-local:2] ExecIf(“SIP/2035-0000bade”, “0?Set(__CWIGNORE=)”) in new stack
– Executing [2022@ext-local:3] Macro(“SIP/2035-0000bade”, “exten-vm,2022,2022,0,0,0”) in new stack
– Executing [s@macro-user-callerid:18] ExecIf(“SIP/2035-0000bade”, “0?Set(CUSDIAL=2022)”) in new stack
– Executing [s@macro-exten-vm:3] Set(“SIP/2035-0000bade”, “__EXTTOCALL=2022”) in new stack
– Executing [s@macro-exten-vm:4] Set(“SIP/2035-0000bade”, “__PICKUPMARK=2022”) in new stack
– Executing [s@macro-exten-vm:6] ExecIf(“SIP/2035-0000bade”, “0?Macro(vm,2022,DIRECTDIAL,)”) in new stack
– Executing [s@macro-exten-vm:8] ExecIf(“SIP/2035-0000bade”, “0?Gosub(ext-intercom,*802022,1())”) in new stack
– Executing [s@macro-exten-vm:10] ExecIf(“SIP/2035-0000bade”, “0?ChanSpy(PJSIP/2022,q)”) in new stack
– Executing [s@macro-exten-vm:12] ExecIf(“SIP/2035-0000bade”, “0?Macro(vm,2022,DIRECTDIAL,)”) in new stack
– Executing [s@macro-exten-vm:14] ExecIf(“SIP/2035-0000bade”, “0?Gosub(ext-intercom,*802022,1())”) in new stack
– Executing [s@macro-exten-vm:16] ExecIf(“SIP/2035-0000bade”, “0?ChanSpy(PJSIP/2022,q)”) in new stack
– Executing [s@macro-exten-vm:18] Gosub(“SIP/2035-0000bade”, “sub-record-check,s,1(exten,2022,dontcare)”) in new stack
– Executing [exten@sub-record-check:1] NoOp(“SIP/2035-0000bade”, “Exten Recording Check between 2035 and 2022”) in new stack
– Executing [exten@sub-record-check:16] Gosub(“SIP/2035-0000bade”, “recordcheck,1(dontcare,internal,2022)”) in new stack
– Executing [s@macro-exten-vm:26] Macro(“SIP/2035-0000bade”, “dial-one,25,Ttr,2022”) in new stack
– Executing [s@macro-dial-one:1] Set(“SIP/2035-0000bade”, “DEXTEN=2022”) in new stack
– Executing [s@macro-dial-one:2] ExecIf(“SIP/2035-0000bade”, “0?Set(__EXTTOCALL=2022)”) in new stack
– Executing [dstring@macro-dial-one:2] Set(“SIP/2035-0000bade”, “DEVICES=2022”) in new stack
– Executing [dstring@macro-dial-one:7] Set(“SIP/2035-0000bade”, “THISDIAL=PJSIP/2022”) in new stack
– Executing [dstring@macro-dial-one:9] NoOp(“SIP/2035-0000bade”, “Debug: Found PJSIP Destination PJSIP/2022”) in new stack
– Executing [dstring@macro-dial-one:12] Set(“SIP/2035-0000bade”, “THISDIAL=PJSIP/2022/sip:2022@192.168.110.67:5060&PJSIP/2022/sip:2022@192.168.111.156:5060”) in new stack
– Executing [dstring@macro-dial-one:15] Set(“SIP/2035-0000bade”, “DSTRING=PJSIP/2022/sip:2022@192.168.110.67:5060&PJSIP/2022/sip:2022@192.168.111.156:5060&”) in new stack
– Executing [dstring@macro-dial-one:19] Set(“SIP/2035-0000bade”, “DSTRING=PJSIP/2022/sip:2022@192.168.110.67:5060&PJSIP/2022/sip:2022@192.168.111.156:5060”) in new stack
– Executing [ctset@macro-dial-one:1] Set(“SIP/2035-0000bade”, “DB(CALLTRACE/2022)=2035”) in new stack
– Executing [s@macro-dial-one:46] Gosub(“SIP/2035-0000bade”, “sub-presencestate-display,s,1(2022)”) in new stack
– Executing [s@macro-dial-one:48] Set(“SIP/2035-0000bade”, “CONNECTEDLINE(num)=2022”) in new stack
– Executing [s@macro-dial-one:55] Dial(“SIP/2035-0000bade”, “PJSIP/2022/sip:2022@192.168.110.67:5060&PJSIP/2022/sip:2022@192.168.111.156:5060,25,Ttrb(func-apply-sipheaders^s^1)”) in new stack
– PJSIP/2022-000010d4 Internal Gosub(func-apply-sipheaders,s,1) start
– Executing [s@func-apply-sipheaders:1] NoOp(“PJSIP/2022-000010d4”, “Applying SIP Headers to channel PJSIP/2022-000010d4”) in new stack
– Executing [s@func-apply-sipheaders:2] Set(“PJSIP/2022-000010d4”, “TECH=PJSIP”) in new stack
– Executing [s@func-apply-sipheaders:3] Set(“PJSIP/2022-000010d4”, “SIPHEADERKEYS=”) in new stack
– Executing [s@func-apply-sipheaders:4] While(“PJSIP/2022-000010d4”, “0”) in new stack
– Executing [s@func-apply-sipheaders:13] Return(“PJSIP/2022-000010d4”, “”) in new stack
== Spawn extension (from-internal, 2022, 1) exited non-zero on ‘PJSIP/2022-000010d4’
– PJSIP/2022-000010d4 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
– PJSIP/2022-000010d5 Internal Gosub(func-apply-sipheaders,s,1) start
– Executing [s@func-apply-sipheaders:1] NoOp(“PJSIP/2022-000010d5”, “Applying SIP Headers to channel PJSIP/2022-000010d5”) in new stack
– Executing [s@func-apply-sipheaders:2] Set(“PJSIP/2022-000010d5”, “TECH=PJSIP”) in new stack
– Executing [s@func-apply-sipheaders:3] Set(“PJSIP/2022-000010d5”, “SIPHEADERKEYS=”) in new stack
– Executing [s@func-apply-sipheaders:4] While(“PJSIP/2022-000010d5”, “0”) in new stack
– Executing [s@func-apply-sipheaders:13] Return(“PJSIP/2022-000010d5”, “”) in new stack
== Spawn extension (from-internal, 2022, 1) exited non-zero on ‘PJSIP/2022-000010d5’
– PJSIP/2022-000010d5 Internal Gosub(func-apply-sipheaders,s,1) complete GOSUB_RETVAL=
– Called PJSIP/2022/sip:2022@192.168.110.67:5060
– Called PJSIP/2022/sip:2022@192.168.111.156:5060
– PJSIP/2022-000010d4 connected line has changed. Saving it until answer for SIP/2035-0000bade
– PJSIP/2022-000010d5 connected line has changed. Saving it until answer for SIP/2035-0000bade
– PJSIP/2022-000010d5 is ringing
– PJSIP/2022-000010d4 is ringing
– PJSIP/2022-000010d5 answered SIP/2035-0000bade
– Channel PJSIP/2022-000010d5 joined ‘simple_bridge’ basic-bridge
– Channel PJSIP/2022-000010d5 left ‘simple_bridge’ basic-bridge
== Spawn extension (ext-local, 2022, 3) exited non-zero on ‘SIP/2035-0000bade’
– Executing [s@macro-hangupcall:4] NoOp(“SIP/2035-0000bade”, "PJSIP/2022-000010d5 montior file= ") in new stack

Thanks for the help


(Jared Busch) #2

I assume the PBX is local since the contact is showing a local IP?

I have been using multiple contacts for my personal extension ever since Asterisk 13 and I converted it to PJSIP. I’ve never had a problem with things being registered.

I have more than a few people using this functionality since then and no one has had this problem. Other problems that turned out to be NAT issues in their config, yes. But nothing for a basic multi registration.


#3

Thanks for your reply.
Yes, it’s a local setup.
I don’t think it’s a NAT issue since the IP range 192.168.110.0/23 is on Local trusted network, and I have 3 more contacts set this way with no issue…
Or maybe it’s not configured correctly… (I’m not sure if I know how to configure the NAT…)