Make sure you set sock_hdr_name,

http://www.opensips.org/html/docs/modules/devel/registrar.html#id250401

Thank you.


On Mon, Feb 18, 2013 at 1:34 PM, microx <[email protected]> wrote:

> Hi all,
>
> From registrar module, I find that the save function with "s" flag is able
> to store the socket specified in the REGISTER
> request. I use insert_hf("Sock: udp:127.0.0.1:5060") and
> insert_hf("udp:127.0.0.1:5060") in the header
> of REGISTER requests. When a SIP server receives such REGISTER requests, it
> invokes the save("location", "s")
> function. However, the SIP server still stores the received socket into the
> location table rather than "udp:127.0.0.1".
> How can I let the SIP server store "udp:127.0.0.1" when receiving a
> REGISTER
> request?
> Please help me resolve this issue. Thanks so much in advance.
>
> Best wishes,
> Chen-Che
>
>
>
> --
> View this message in context:
> http://opensips-open-sip-server.1449251.n2.nabble.com/Save-function-with-s-flag-tp7584789.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



-- 
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: [email protected]
Email: [email protected]
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to