Hello guys,

Why I can only append_branch() a SIP URI as a literal constant string? Why
not from a pseudovariable? It's the same for most of the core functions.

My intention is to do something like this:

append_branch("$cnx3a(route1)");
t_relay();

where cnx3a is a variable containing the SIP URIs.

The only "fix" I have found for this is by doing it as follows:

$ru = $cnx3a(route1);
append_branch();
t_relay();

Is there any other (and more elegant) way?

Regards.

Carlos.
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to