Daniel, thank you for quick response.
After t_load_contact() i try to use
pv_printf("$var(contact)", "$xavp(contacts[0]=>dst_uri)");
xlog ("L_NOTICE", "var(contact)=$var(contact)\r\n");
and receive result null.
What is wrong?
On Thu, Nov 27, 2014 at 12:58 PM, Daniel-Constantin Mierla <
miconda(a)gmail.com> wrote:
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
Mierlahttp://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users