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
From another thread with similar issue at
https://groups.google.com/g/sip_js/c/uiaXS_qc2n8
it could be that JsSIP is not recognizing the GRUU is pointing towards it.
In the INVITE message I can see a line "Record-Route:
<mailto:sip:Stg-CQD0r2-10020005@erx-staging-q01.mydomain.com
<mailto:sip:Stg-CQD0r2-10020005@erx-staging-q01.mydomain.com
<
<mailto:sip:Stg-CQD0r2-10020005@erx-staging-q01.mydomain.com
<mailto:sip:Stg-CQD0r2-10020005@erx-staging-q01.mydomain.com
mailto:;expires=600;received=mailto:;gr=urn:uuid:b8a691ff-f678-4866-8cf0-780d670e7e33
<
<mailto:sip:9747815015@erx-staging-q01.mydomain.com
<mailto:sip:Stg-CQD0r2-10020005@10.10.1.9
<mailto:sip:Stg-CQD0r2-10020005@10.10.1.9
<mailto:sip:9747815015@erx-staging-q01.mydomain.com
<mailto:sip:Stg-CQD0r2-10020005@10.10.1.9
<mailto:sip:9747815015@erx-staging-q01.mydomain.com
<mailto:sip:stg-cqd0r2-10020005@erx-staging-q01.mydomain.com
<mailto:sip:Stg-CQD0r2-10020005@10.10.1.9
<mailto:sip:9747815015@erx-staging-q01.mydomain.com
<mailto:sip:stg-cqd0r2-10020005@erx-staging-q01.mydomain.com
<
mailto:sip:stg-cqd0r2-10020005@erx-staging-q01.mydomain.com
<mailto:sip:9747815015@erx-staging-q01.mydomain.com
<mailto:sip:Stg-CQD0r2-10020005@10.10.1.9
<
mailto:sip:stg-cqd0r2-10020005@erx-staging-q01.mydomain.com
<mailto:sip:9747815015@erx-staging-q01.mydomain.com
<mailto:sip:Stg-CQD0r2-10020005@10.10.1.9
<mailto:sip:Stg-CQD0r2-10020005@10.10.1.9
<mailto:sip:9747815015@erx-staging-q01.mydomain.com