Hi Kjell, 1.4 version has a lot of changes on avp usage, and because it's the first OpenSIPS version (very similar to Kamailio 1.4), take a look reading <a href="http://www.kamailio.org/dokuwiki/doku.php">http://www.kamailio.org/dokuwiki/doku.php</a> on <b>Migration</b> section. (I didn't found same docu on OpenSIPS documentation page)<br>
<br>Cheers,<br><br>Gustavo<br><div class="gmail_quote">On Sun, Dec 21, 2008 at 10:51 AM, Kjell Arild Frigstad <span dir="ltr"><<a href="mailto:kaf@cnd.no">kaf@cnd.no</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have upgraded to OpenSIPS 1.4<br>
In my old config file I used avp_aliases. This doesn't work in OpenSIPS.<br>
Get this error:<br>
Dec 21 13:33:34 iptel opensips: ERROR:core:set_mod_param_regex: parameter<br>
<avp_aliases> not found in module <avpops><br>
<br>
I can't find I way to rewrite this. What is the way to rewrite this?<br>
<br>
modparam("avpops", "avp_table", "usr_preferences")<br>
modparam("avpops", "avp_aliases", "fw_to=s:34;fw_from=s:35;utl-<br>
sperr=s:50;mob-sperr=s:51;ttorg-<br>
apnet=s:52;fwd_busy_type=i:702;fwdnoanswer=s:53;fwdoffline=s:54;skult-<br>
num=s:55")<br>
<br>
and I reference a lot of this alias - do I need any change in this?<br>
<br>
avp_write("$ruri/username","$avp(s:org_to)");<br>
avp_pushto("$ruri/username","$avp(fw_to)");<br>
<br>
Regards<br>
Kjell Arild Frigstad<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Gustavo Mistrinelli<br>