I have configured Kamailio for websockets support and I'm having issues whenever I try to lookup a WS registered uac on the location table, it never finds the contact even though the contact is present when I dump the list via kamcmd. This issue only happens with WS, I tested using another user agent with a different protocol and it works fine, not sure if this is related to the fact that WS RURI doesn't really contain the AoR username.
The AoR is something like 104-p4f578, but the contact's address stored is something like: sip:f0ck9vph@sjm8i3la4i7n.invalid;transport=ws;
-- Sent from: http://sip-router.1086192.n5.nabble.com/Users-f3.html
Hello,
the lookup location is not done on contact, but on the AoR, so be sure the r-uri is like sip:user@domain and not the WS contact address.
To troubleshoot, maybe you can set debug=3 in kamailio.cfg and then watch the DEBUG messages, they can provide further details about what happens when processing the sip traffic.
Cheers, Daniel
On 08.03.21 14:17, moisesynfante wrote:
I have configured Kamailio for websockets support and I'm having issues whenever I try to lookup a WS registered uac on the location table, it never finds the contact even though the contact is present when I dump the list via kamcmd. This issue only happens with WS, I tested using another user agent with a different protocol and it works fine, not sure if this is related to the fact that WS RURI doesn't really contain the AoR username.
The AoR is something like 104-p4f578, but the contact's address stored is something like: sip:f0ck9vph@sjm8i3la4i7n.invalid;transport=ws;
-- Sent from: http://sip-router.1086192.n5.nabble.com/Users-f3.html
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users