[OpenSIPS-Users] Wrong Contact in location table

Dragomir Haralambiev goup2010 at gmail.com
Fri Oct 20 18:40:17 EDT 2017


I have follow line in my script:
if (is_method("REGISTER")) {
save("location","c1", "$fu");
Opensips receive REGISTER  with

"Contact: <sip:516203 at>"

I try to see location table
opensipsctl  ul show

        AOR:: 516203
                Contact:: sip:516203 at Q=
                        ContactID:: 926418920300655256
                        Expires:: 270
                        Callid:: 509678716 at
                        Cseq:: 2
                        User-agent:: Yealink SIP-T19P
                        State:: CS_SYNC
                        Flags:: 0
                        Cflags:: NAT_BFLAG
                        Socket:: udp:
                        Methods:: 16383

Why after save("location") Contact address in location table is not fix?
How setup Opensips to write into location table fixed Contact?

Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20171021/f753163f/attachment.html>

More information about the Users mailing list