[OpenSIPS-Users] How to pass a variable in sethostport function .

Liviu Chircu liviu at opensips.org
Mon Jul 20 10:52:45 EST 2020


On 20.07.2020 13:43, Sasmita Panda wrote:
> Any help on this .
>
>
> */Thanks & Regards/*
> /Sasmita Panda/
> /Senior Network Testing and Software Engineer/
> /3CLogic , ph:07827611765/
>
>
> On Thu, Jul 16, 2020 at 4:40 PM Sasmita Panda <spanda at 3clogic.com 
> <mailto:spanda at 3clogic.com>> wrote:
>
>     Hi ,
>
>     I have parse a header and saved the value in a variable .
>     something like "$var(y)" has the value  "domain.i3clogic.com:5507
>     <http://domain.i3clogic.com:5507>" .
>
Hi,

What OpenSIPS are you using?  I don't think this will work with 3.0 or 
under, if I remember correctly.  If you want to call 
sethostport($var(y)), you must upgrade to 3.1.

Regards,

-- 
Liviu Chircu
www.twitter.com/liviuchircu | www.opensips-solutions.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200720/76ecdec3/attachment.html>


More information about the Users mailing list