Hello all,
I am facing an issue with JsSIP not recognizing replies from Kamailio. the call sequence goes as follows:
INVITE ----------------------------->
<-------------------------------SIP/2.0 100 Trying
<-------------------------------SIP/2.0 180 Ringing
<-------------------------------SIP/2.0 200 OK
ACK -------------------------------->
<-------------------------------SIP/2.0 200 OK
ACK -------------------------------->
<-------------------------------SIP/2.0 200 OK
ACK -------------------------------->
<-------------------------------SIP/2.0 200 OK
ACK -------------------------------->
<-------------------------------SIP/2.0 200 OK
ACK -------------------------------->
<-------------------------------SIP/2.0 200 OK
ACK -------------------------------->
<-------------------------------SIP/2.0 200 OK
ACK -------------------------------->
<-------------------------------BYE
404 Not Found ---------------------->
When JsSIP receives ACK it prints an error: JsSIP:UA Request-URI does not point to us
In the INVITE message I can see a line "Record-Route: " Is this normal?
I am at a loss to figure this out, and any help or hint to find out what could be wrong here would be very helpful.
The SIP messages are as follows, as seen from JsSIP:
Send ->
REGISTER sip:erx-staging-q01.mydomain.com SIP/2.0
Via: SIP/2.0/WSS ol3dhprvu7jv.invalid;branch=z9hG4bK3674021
Max-Forwards: 69
Call-ID: b624vmbvuioma46354gmi5
CSeq: 1 REGISTER
Contact: ;+sip.ice;reg-id=1;+sip.instance="";expires=600
Expires: 600
Allow: INVITE,ACK,CANCEL,BYE,UPDATE,MESSAGE,OPTIONS,REFER,INFO,NOTIFY
Supported: path,gruu,outbound
User-Agent: JsSIP 3.9.0
Content-Length: 0
Receive <-
SIP/2.0 200 OK
Via: SIP/2.0/WSS ol3dhprvu7jv.invalid;branch=z9hG4bK3674021;rport=23618;received=145.15.191.170
Call-ID: b624vmbvuioma46354gmi5
CSeq: 1 REGISTER
Server: TLS Kamailio Server
Content-Length: 0
Receive <-
INVITE sip:93he4k0p@ol3dhprvu7jv.invalid;transport=ws SIP/2.0
Record-Route:
Record-Route:
Via: SIP/2.0/WSS 68.19.159.72:443;branch=z9hG4bKc3f.2a0c8eb470c9427d6def7b8eaa3e3f8b.0
Via: SIP/2.0/UDP 127.0.0.8;branch=z9hG4bKsr-j4IPOlV7MGQKatycM.y7M.y7MmZfMxvwMxyAzweI36KYpEKqH.FAOBFAOBF7M.yXKFcQgSI6zweAowe4H.NAMxyX3heroEWvH9vsCFN43q1PCEKIMxWr3BN6O.gqMlq1WxerMJ4ZW6aqO.MszSV6z.PwMlqAgc**
Contact:
Call-ID: 518500d1-9813-4af8-a249-981ca2ee8a4b
CSeq: 19353 INVITE
Allow: OPTIONS, REGISTER, SUBSCRIBE, NOTIFY, PUBLISH, INVITE, ACK, BYE, CANCEL, UPDATE, PRACK, MESSAGE, REFER
Supported: 100rel, timer, replaces, norefersub, histinfo
Session-Expires: 1800
Min-SE: 90
Max-Forwards: 69
User-Agent: Asterisk PBX 18.8.0
Content-Type: application/sdp
Content-Length: 881
Send ->
SIP/2.0 100 Trying
Via: SIP/2.0/WSS 68.19.159.72:443;branch=z9hG4bKc3f.2a0c8eb470c9427d6def7b8eaa3e3f8b.0
Via: SIP/2.0/UDP 127.0.0.8;branch=z9hG4bKsr-j4IPOlV7MGQKatycM.y7M.y7MmZfMxvwMxyAzweI36KYpEKqH.FAOBFAOBF7M.yXKFcQgSI6zweAowe4H.NAMxyX3heroEWvH9vsCFN43q1PCEKIMxWr3BN6O.gqMlq1WxerMJ4ZW6aqO.MszSV6z.PwMlqAgc**
Call-ID: 518500d1-9813-4af8-a249-981ca2ee8a4b
CSeq: 19353 INVITE
Supported: timer,gruu,ice,replaces,outbound
Content-Length: 0
Send ->
SIP/2.0 180 Ringing
Record-Route:
Record-Route:
Via: SIP/2.0/WSS 68.19.159.72:443;branch=z9hG4bKc3f.2a0c8eb470c9427d6def7b8eaa3e3f8b.0
Via: SIP/2.0/UDP 127.0.0.8;branch=z9hG4bKsr-j4IPOlV7MGQKatycM.y7M.y7MmZfMxvwMxyAzweI36KYpEKqH.FAOBFAOBF7M.yXKFcQgSI6zweAowe4H.NAMxyX3heroEWvH9vsCFN43q1PCEKIMxWr3BN6O.gqMlq1WxerMJ4ZW6aqO.MszSV6z.PwMlqAgc**
Call-ID: 518500d1-9813-4af8-a249-981ca2ee8a4b
CSeq: 19353 INVITE
Supported: timer,gruu,ice,replaces,outbound
Content-Length: 0
Send ->
SIP/2.0 200 OK
Record-Route:
Record-Route:
Via: SIP/2.0/WSS 68.19.159.72:443;branch=z9hG4bKc3f.2a0c8eb470c9427d6def7b8eaa3e3f8b.0
Via: SIP/2.0/UDP 127.0.0.8;branch=z9hG4bKsr-j4IPOlV7MGQKatycM.y7M.y7MmZfMxvwMxyAzweI36KYpEKqH.FAOBFAOBF7M.yXKFcQgSI6zweAowe4H.NAMxyX3heroEWvH9vsCFN43q1PCEKIMxWr3BN6O.gqMlq1WxerMJ4ZW6aqO.MszSV6z.PwMlqAgc**
Call-ID: 518500d1-9813-4af8-a249-981ca2ee8a4b
CSeq: 19353 INVITE
Session-Expires: 1800;refresher=uas
Supported: timer,gruu,ice,replaces,outbound
Content-Type: application/sdp
Content-Length: 947
Receive <-
Via: SIP/2.0/WSS 68.19.159.72:443;branch=z9hG4bKc3f.244f565f3d688006fb9c33138458f554.0
Via: SIP/2.0/UDP 127.0.0.8;branch=z9hG4bKsr-j4IPOlV7MGQKatycM.y7M.y7MmZfMxvwMxyAzweI36KYpEKqH.FAOBFAOBF7M.yXKFcQgSW6zweAowe4H.NAMxyX3heroEWvH9vsCFN43q1PCEjuMlWEWB0rO.aJgBc1WSPAMG4Z3RjLO.pqWSPlMRFwWEergc**
Call-ID: 518500d1-9813-4af8-a249-981ca2ee8a4b
CSeq: 19353 ACK
Max-Forwards: 69
User-Agent: Asterisk PBX 18.8.0
Content-Length: 0
tryit-jssip.js:8 JsSIP:UA Request-URI does not point to us +40s
Receive <-
Via: SIP/2.0/WSS 68.19.159.72:443;branch=z9hG4bK93f.8fbee7f4747c4d72cc73b403fe51c081.0
Via: SIP/2.0/UDP 127.0.0.8;branch=z9hG4bKsr-j4IPOlV7MGQKatycM.y7M.y7MmZfMxvwMxyAzweI36KYpEKqH.FAOBFAOBF7M.yXKFcQgSW6zweAowe4H.NAMxyX3heroEWvH9vsCFN43q1PCBKq36PfMBysO.cA3631Wx3fMmuJ36FuO.PuWEFsgxc4MSKB3A**
Call-ID: 518500d1-9813-4af8-a249-981ca2ee8a4b
CSeq: 19354 BYE
Reason: Q.850;cause=16
Max-Forwards: 69
User-Agent: Asterisk PBX 18.8.0
Content-Length: 0
tryit-jssip.js:8 JsSIP:UA Request-URI does not point to us +3s
Send ->
SIP/2.0 404 Not Found
Via: SIP/2.0/WSS 68.19.159.72:443;branch=z9hG4bK93f.8fbee7f4747c4d72cc73b403fe51c081.0
Via: SIP/2.0/UDP 127.0.0.8;branch=z9hG4bKsr-j4IPOlV7MGQKatycM.y7M.y7MmZfMxvwMxyAzweI36KYpEKqH.FAOBFAOBF7M.yXKFcQgSW6zweAowe4H.NAMxyX3heroEWvH9vsCFN43q1PCBKq36PfMBysO.cA3631Wx3fMmuJ36FuO.PuWEFsgxc4MSKB3A**
Call-ID: 518500d1-9813-4af8-a249-981ca2ee8a4b
CSeq: 19354 BYE
Content-Length: 0