[OpenSIPS-Users] Change Contact info in REGISTER messages

Miguel Oyarzo miguelaustro at gmail.com
Thu Jun 19 08:10:14 CEST 2014


Hi,

How can I change the Contact info in REGISTER messages?

I have tried
if (is_method("REGISTER"))
{

if (!save("location","","sip:61370000000 at 10.10.1.120:5090")) { .... }
- and -
$avp(aor)="sip:$tU@$si:5092";
if (!save("location","f","$avp(aor))") { ... }

}

But doesn't work.

Any suggestion?



-- 
"Efficiency is doing things right; effectiveness is doing the right things
(Peter Drucker)"

Miguel Oyarzo
DevOps & VoIP Engineer
Linux User: # 483188 - counter.li.org
http://au.linkedin.com/in/mikeaustralia
Melbourne, Australia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140619/c8098221/attachment.htm>


More information about the Users mailing list