<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
<br>
<div class="moz-cite-prefix">On 27/11/14 10:16, Julia Boudniatsky
wrote:<br>
</div>
<blockquote
cite="mid:CAASaakbPD3YfWyKGYtxX7A3-5A2GwA+WymAtpQ-NjMzTymChng@mail.gmail.com"
type="cite">
<div dir="ltr">
<p class="">Hello, </p>
<p class="">We use get_redirects(*) and t_load_contacts in
script.</p>
<p class="">modparam("tm", "contacts_avp",
"$avp(contacts)")</p>
<p class="">In versions previous to 4.1 <br>
</p>
<p class="" style="margin-left:36pt"><span
style="font-stretch:normal;font-size:7pt;font-family:'Times
New Roman'"> </span><span dir="LTR"></span>print all
contacts: $(avp(contacts[*])</p>
<p class=""> <span
style="font-stretch:normal;font-size:7pt;font-family:'Times
New Roman'"> </span><span dir="LTR" style=""></span><span
style="">delete all contacts:</span><span style="">
</span><span style="">$(avp(contacts[*])=$null</span></p>
<p class="">From 4.1 this avp is changed to xavp structure.</p>
<p class="">What is the structure name and value name of xavp
for print in log $xavp(contacts=>?) ?</p>
</div>
</blockquote>
<br>
there are couple of subfileds in this xavp:<br>
<br>
uri<br>
dst_uri<br>
path<br>
sock<br>
instance<br>
flags<br>
q_flag<br>
ruid<br>
ua<br>
<br>
<br>
<blockquote
cite="mid:CAASaakbPD3YfWyKGYtxX7A3-5A2GwA+WymAtpQ-NjMzTymChng@mail.gmail.com"
type="cite">
<div dir="ltr">
<p class="">Is it possible to delete xavp?</p>
</div>
</blockquote>
<br>
Yes, as with avp, assign $null to it.<br>
<br>
Cheers,<br>
Daniel<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
</body>
</html>