[OpenSIPS-Users] How to get only the ip from contact?

Ovidiu Sas osas at voipembedded.com
Wed May 29 15:47:32 CEST 2013


Take a look at {uri.host}:
http://www.opensips.org/Documentation/Script-Tran#toc21

Regards,
Ovidiu Sas

On Wed, May 29, 2013 at 9:43 AM, microx <acmicrox at gmail.com> wrote:
> Hi all,
>
> An example contact uri of an INVIT looks like "sip:111 at 61.60.228.221:5060".
> OpenSIPS seems not to have a
> specific variable to store the IP part. Is there an efficient way to get
> only the IP part from contact?
> Any idea is very welcome.
>
> Best regards,
> Chen-Che
>
>
>
> --
> View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/How-to-get-only-the-ip-from-contact-tp7586612.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



-- 
VoIP Embedded, Inc.
http://www.voipembedded.com



More information about the Users mailing list