Hi, lookup("location") functions extracts username from Request-URI and relay INVITE without any username, causing UAC sends a CANCEL message. Is the function suppose to replace uri with "contact" field in the found entry in "location" table? INVITE uri arrives at Kamailio:Request-Line: INVITE sip:8181111111@example.net:5060 SIP/2.0 INVITE uri leaves Kamilio:Request-Line: INVITE sip:10.10.10.1:5060 SIP/2.0 lookup("location") function finding match and returns 1: $rc=1
entry in "location" table for this call:*************************** 1. row *************************** id: 104 ruid: uloc-557ad93a-2d6-1 username: 8181111111 domain: NULL contact: sip:8181111111@10.10.10.1:5060 received: NULL path: NULL Any help in this regard would be greatly appreciated Al,Thanks
Hello Al,
I would agree that, at first glance, this is not the expected behaviour. Is it possible that we are missing some subtlety here, such as another contact in the location table that doesn't have a user part in the Contact URI?
-- Alex
Yes, There was another entry in the table.It is fixed now. Thank you very much. Al
Date: Fri, 12 Jun 2015 10:48:15 -0400 From: abalashov@evaristesys.com To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] lookup("location") question
Hello Al,
I would agree that, at first glance, this is not the expected behaviour. Is it possible that we are missing some subtlety here, such as another contact in the location table that doesn't have a user part in the Contact URI?
-- Alex
-- Alex Balashov | Principal | Evariste Systems LLC 303 Perimeter Center North, Suite 300 Atlanta, GA 30346 United States
Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users