On 02/18/06 12:16, unplug wrote:
If I have a avp variable s:contact=
<sip:[EMAIL PROTECTED]:5060>
How can I use avp_subst to get 871966806561?
depending of used version:
In 1.0.0 use:
avp_subst("s:contact/s:contact_username", "/sip:(.*)@(.*)/\1/");
In development version use:
avp_subst("$avp(s:contact)/$avp(s:contact_username)", "/sip:(.*)@(.*)/\1/");
Cheers,
Daniel
_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users