[OpenSIPS-Users] How to modify the value of avp

朱彬 foreverscmd at gmail.com
Tue Feb 5 12:30:04 CET 2013


Hi:
I occur some problems during modifing the opensips.cfg. I have got the
username from the database and stored it in the avp(username), but i want
to use modify the value of avp(username) as"sip: username at domain". I tried
to change it like  $avp(uri) = "sip:"+$avp(username)+"@domain"; so that i
can use the function avp_pushto("$ru", "$avp(uri)"), but it doesn't work.
Is there any other ways reach this target?

PS: i do want to use avp_pushto("$ru/username", "$avp(username)"), because
the domain is different.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130205/d5228956/attachment-0001.htm>


More information about the Users mailing list