<div>Looks like km_append_branch() doesn&#39;t have all of the signatures that the original append_branch() has. I can&#39;t add q values for serial/parallel forking with km_append_branch().</div><div><br></div>Also, apparently there&#39;s no way of setting the RURI by calling a function that does that. I guess I&#39;ll have to do it using assignation on $ru pseudovariable and writing a route to manage the serial forking I need.<div>

<br></div><div>Thanks.</div><div><br></div><div>Carlos.<div><br><div class="gmail_quote">On Thu, Aug 16, 2012 at 2:17 PM, Carlos Ruiz Díaz <span dir="ltr">&lt;<a href="mailto:carlos.ruizdiaz@gmail.com" target="_blank">carlos.ruizdiaz@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">Great! I&#39;ll give it a try.<div><br></div><div>Thanks!</div><span><font color="#888888"><div><br></div>
</font></span><div><span><font color="#888888">Carlos.</font></span><div><div><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><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><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></div></div>
</blockquote></div><br></div></div>