[OpenSIPS-Users] Save function with "s" flag
Muhammad Shahzad
shaheryarkh at gmail.com
Mon Feb 18 13:37:05 CET 2013
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 <acmicrox at gmail.com> 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
> Users at lists.opensips.org
> 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: shari_786pk at hotmail.com
Email: shaheryarkh at googlemail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130218/0affc64d/attachment.htm>
More information about the Users
mailing list