<div dir="ltr">I am using opensips-2.2 . If it wont take any variable that means this function will take only fix value which must be a "domain:port "or "IP:port " . Am I right ?<div><br></div><div>Is there any way I can fill this dynamically while processing the INVITE ?</div><div><br><div><br></div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><b><i>Thanks & Regards</i></b><div><i>Sasmita Panda</i></div><div><i>Senior Network Testing and Software Engineer</i></div><div><i>3CLogic , ph:07827611765</i></div></div></div></div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 20, 2020 at 4:22 PM Liviu Chircu <<a href="mailto:liviu@opensips.org">liviu@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div>On 20.07.2020 13:43, Sasmita Panda
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Any help on this .
<div><br>
</div>
<div><br clear="all">
<div>
<div dir="ltr">
<div dir="ltr">
<div>
<div dir="ltr"><b><i>Thanks & Regards</i></b>
<div><i>Sasmita Panda</i></div>
<div><i>Senior Network Testing and Software Engineer</i></div>
<div><i>3CLogic , ph:07827611765</i></div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Jul 16, 2020 at 4:40
PM Sasmita Panda <<a href="mailto:spanda@3clogic.com" target="_blank">spanda@3clogic.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Hi ,
<div><br>
</div>
<div>I have parse a header and saved the value in a variable
. </div>
<div>something like "$var(y)" has the value "<a href="http://domain.i3clogic.com:5507" target="_blank">domain.i3clogic.com:5507</a>" . </div>
</div>
</blockquote>
</div>
</blockquote>
<p><tt>Hi,</tt></p>
<p><tt>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.</tt></p>
<p><tt>Regards,<br>
</tt></p>
<pre cols="72">--
Liviu Chircu
<a href="http://www.twitter.com/liviuchircu" target="_blank">www.twitter.com/liviuchircu</a> | <a href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre>
</div>
</blockquote></div>