[OpenSIPS-Users] Set Acc Module in 2.3

Dragomir Haralambiev goup2010 at gmail.com
Sat Apr 29 07:50:45 EDT 2017


Hello,

I try to move from 2.2.3 to 2.3.
In 2.3 modparam("acc", "aaa_extra",... is removed.

In 2.2.3 I use extra data with:
modparam("acc", "aaa_extra",   "MV-System=$avp(system_name);
  MV-UserName=$fU;
  MV-Number=$rU;
  MV-Timestamp=$avp(timestamp)")

For 2.3 I rewrite to:
modparam("acc", "extra_fields", "aaa:$avp(system_name)->MV-System;
$fU->MV-UserName;
$rU->MV-Number;
$avp(timestamp)->MV-Timestamp")

When try to start 2.3 I receive follow message:

ERROR:acc:init_acc_aaa: acc: can't get code for the MV-System;.......

How to use correct extra_fields in 2.3?

Regards,
Dragomir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170429/1b359092/attachment.html>


More information about the Users mailing list