<div dir="ltr"><div><div><div><div><br></div>Hi,<br><br></div>How can I change the Contact info in REGISTER messages?<br><br></div>I have tried<br>if (is_method(&quot;REGISTER&quot;)) <br>{<br><br>if (!save(&quot;location&quot;,&quot;&quot;,&quot;<a href="http://sip:61370000000@10.10.1.120:5090">sip:61370000000@10.10.1.120:5090</a>&quot;)) { .... }<br>
</div>- and -<br>$avp(aor)=&quot;sip:$tU@$si:5092&quot;;<br>if (!save(&quot;location&quot;,&quot;f&quot;,&quot;$avp(aor))&quot;) { ... }<br><div><br>}<br><br></div><div>But doesn&#39;t work.<br></div><div><br></div><div>Any suggestion?<br>
</div><div><div><div><div><br><br clear="all"><br>-- <br><div dir="ltr"><div><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">&quot;Efficiency is doing things right; effectiveness is doing the right things</span><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"> (Peter Drucker)</span>&quot;<br>
</span></div><br><div><span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Miguel Oyarzo</span><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">DevOps &amp; VoIP Engineer</span><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Linux User: # 483188 - </span><font color="#888888" face="arial, sans-serif"><a href="http://counter.li.org" target="_blank">counter.li.org</a></font><br style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="background-color:rgb(255,255,255)"><font color="#888888" face="arial, sans-serif"><a href="http://au.linkedin.com/in/mikeaustralia" target="_blank">http://au.linkedin.com/in/mikeaustralia</a> </font><br><font color="#888888" face="arial, sans-serif">Melbourne, Australia</font></span>
</div></div>
</div></div></div></div></div>