[OpenSIPS-Users] usage of setdsturi
Ramachandran, Agalya (Contractor)
Agalya_Ramachandran at comcast.com
Thu Nov 10 22:35:15 CET 2016
Hi team,
I have a question in usage of setdsturi().
When I hardcode the uri in the function, such as setdsturi("sip:test at test.com:5060") - this works.
But why I try to use script variable, it complains as bad_uri.
$var(test) = "sip:"+$var(Fqdn)+ ":5060";
setdsturi("$var(test)");
How do I setdsturi() dynamically, with the value in script variable and not by hardcoding?
Regards,
Agalya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20161110/1147ecdb/attachment.htm>
More information about the Users
mailing list