Avp_aliases

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Avp_aliases

Kjell Arild Frigstad
I have upgraded to OpenSIPS 1.4
In my old config file I used avp_aliases. This doesn't work in OpenSIPS.
Get this error:
Dec 21 13:33:34 iptel opensips: ERROR:core:set_mod_param_regex: parameter
<avp_aliases> not found in module <avpops>

I can't find I way to rewrite this. What is the way to rewrite this?  

modparam("avpops", "avp_table", "usr_preferences")
modparam("avpops", "avp_aliases", "fw_to=s:34;fw_from=s:35;utl-
sperr=s:50;mob-sperr=s:51;ttorg-
apnet=s:52;fwd_busy_type=i:702;fwdnoanswer=s:53;fwdoffline=s:54;skult-
num=s:55")

and I reference a lot of this alias - do I need any change in this?
 
avp_write("$ruri/username","$avp(s:org_to)");
    avp_pushto("$ruri/username","$avp(fw_to)");

Regards
Kjell Arild Frigstad

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Avp_aliases

Gustavo Mistrinelli
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 http://www.kamailio.org/dokuwiki/doku.php on Migration section. (I didn't found same docu on OpenSIPS documentation page)

Cheers,

Gustavo
On Sun, Dec 21, 2008 at 10:51 AM, Kjell Arild Frigstad <[hidden email]> wrote:
I have upgraded to OpenSIPS 1.4
In my old config file I used avp_aliases. This doesn't work in OpenSIPS.
Get this error:
Dec 21 13:33:34 iptel opensips: ERROR:core:set_mod_param_regex: parameter
<avp_aliases> not found in module <avpops>

I can't find I way to rewrite this. What is the way to rewrite this?

modparam("avpops", "avp_table", "usr_preferences")
modparam("avpops", "avp_aliases", "fw_to=s:34;fw_from=s:35;utl-
sperr=s:50;mob-sperr=s:51;ttorg-
apnet=s:52;fwd_busy_type=i:702;fwdnoanswer=s:53;fwdoffline=s:54;skult-
num=s:55")

and I reference a lot of this alias - do I need any change in this?

avp_write("$ruri/username","$avp(s:org_to)");
   avp_pushto("$ruri/username","$avp(fw_to)");

Regards
Kjell Arild Frigstad

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



--
Gustavo Mistrinelli

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Avp_aliases

Bogdan-Andrei Iancu
In reply to this post by Kjell Arild Frigstad
Hi Kjell,

avp_aliases is not a module param, but a core param. See:
    http://www.opensips.org/index.php?n=Resources.DocsCoreFcn#toc27

Regards,
Bogdan

Kjell Arild Frigstad wrote:

> I have upgraded to OpenSIPS 1.4
> In my old config file I used avp_aliases. This doesn't work in OpenSIPS.
> Get this error:
> Dec 21 13:33:34 iptel opensips: ERROR:core:set_mod_param_regex: parameter
> <avp_aliases> not found in module <avpops>
>
> I can't find I way to rewrite this. What is the way to rewrite this?  
>
> modparam("avpops", "avp_table", "usr_preferences")
> modparam("avpops", "avp_aliases", "fw_to=s:34;fw_from=s:35;utl-
> sperr=s:50;mob-sperr=s:51;ttorg-
> apnet=s:52;fwd_busy_type=i:702;fwdnoanswer=s:53;fwdoffline=s:54;skult-
> num=s:55")
>
> and I reference a lot of this alias - do I need any change in this?
>  
> avp_write("$ruri/username","$avp(s:org_to)");
>     avp_pushto("$ruri/username","$avp(fw_to)");
>
> Regards
> Kjell Arild Frigstad
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>  


_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users