Hello,
On 13.11.24 15:35, dries--- via sr-users wrote:
Hi James,
The BYE was indeed broken after the NOTIFY had failed. After some time, it was working again. The RR route header did contain the public FQDN though.
After some more tinkering, I finally got it working by enabling the "Use Actual Ephemeral Port in Contact with TCP/TLS" option on the Grandstream. This modifies the source port in the phone's Contact header so Kamailio replies to this one instead of default 5062 (which the phone does probably not allow).
such case should be also fixed by using set_contact_alias() in kamailio.cfg for subscribe -- if I got it right, the contact is different that what is the source ip/port of the connection, which is valid is SIP (in such case the server should open a connection to the contact ip/port when sending requests), but doesn't really work for most of the UAs, especially if they are behind the nat.
Cheers, Daniel