[SR-Users] xavp "contact_avp" question
Daniel-Constantin Mierla
miconda at gmail.com
Thu Nov 27 11:58:40 CET 2014
Hello,
On 27/11/14 10:16, Julia Boudniatsky wrote:
>
> Hello,
>
> We use get_redirects(*) and t_load_contacts in script.
>
> modparam("tm", "contacts_avp", "$avp(contacts)")
>
> In versions previous to 4.1
>
> print all contacts: $(avp(contacts[*])
>
> delete all contacts: $(avp(contacts[*])=$null
>
> From 4.1 this avp is changed to xavp structure.
>
> What is the structure name and value name of xavp for print in log
> $xavp(contacts=>?) ?
>
there are couple of subfileds in this xavp:
uri
dst_uri
path
sock
instance
flags
q_flag
ruid
ua
> Is it possible to delete xavp?
>
Yes, as with avp, assign $null to it.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20141127/463fe893/attachment.html>
More information about the sr-users
mailing list