Great! I&#39;ll give it a try.<div><br></div><div>Thanks!</div><div><br></div><div>Carlos.<br><br><div class="gmail_quote">On Thu, Aug 16, 2012 at 12:13 PM, Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<div><div class="h5"><br>
<br>
<br>
On 8/16/12 5:25 PM, Carlos Ruiz Díaz wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello guys,<br>
<br>
Why I can only append_branch() a SIP URI as a literal constant string? Why not from a pseudovariable? It&#39;s the same for most of the core functions.<br>
<br>
My intention is to do something like this:<br>
<br>
append_branch(&quot;$cnx3a(route1)&quot;<u></u>);<br>
t_relay();<br>
<br>
where cnx3a is a variable containing the SIP URIs.<br>
<br>
The only &quot;fix&quot; I have found for this is by doing it as follows:<br>
<br>
$ru = $cnx3a(route1);<br>
append_branch();<br>
t_relay();<br>
<br>
Is there any other (and more elegant) way?<br>
</blockquote>
<br></div></div>
you can use km_append_branch:<br>
<br>
<a href="http://kamailio.org/docs/modules/stable/modules_k/kex.html#id2551404" target="_blank">http://kamailio.org/docs/<u></u>modules/stable/modules_k/kex.<u></u>html#id2551404</a><br>
<br>
Cheers,<br>
Daniel<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Daniel-Constantin Mierla - <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a><br>
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/<u></u>miconda</a><br>
Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 - <a href="http://asipto.com/u/katu" target="_blank">http://asipto.com/u/katu</a><br>
Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 - <a href="http://asipto.com/u/kpw" target="_blank">http://asipto.com/u/kpw</a><br>
<br>
</font></span></blockquote></div><br></div>