[SR-Users] lookup("location") question

Al S alirsm at outlook.com
Fri Jun 12 15:30:43 CEST 2015


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 at 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 at 10.10.10.1:5060     received: NULL         path: NULL
Any help in this regard would be greatly appreciated
Al,Thanks 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150612/d6725725/attachment.html>


More information about the sr-users mailing list