[OpenSIPS-Users] How to get only the ip from contact?
microx
acmicrox at gmail.com
Wed May 29 16:04:01 CEST 2013
Hi all,
Thanks for the comments of you both. I just achieved my goal by using
$var(callerip) = $ct.fields(uri);
$var(sendip) = $(var(callerip){s.select,-1,@});
$var(sendip2) = $(var(sendip){s.select,0,:});.
Obviously, $(ct.fields(uri){uri.host}) is a much better solution. Thanks
again.
Best wishes,
Chen-Che
--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/How-to-get-only-the-ip-from-contact-tp7586612p7586615.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
More information about the Users
mailing list