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

Stefano Pisani stefano.pisani at omnianet.it
Wed May 29 15:49:45 CEST 2013


Use the core variables $(ct.fields(uri){uri.host}) or something like that

best regards
s

Il 29/05/2013 15.43, microx ha scritto:
> 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




More information about the Users mailing list