Hi,

I was trying to put the carrier id in the acc extra fields but Im getting

Jul  1 04:00:16 Opensip opensips: #011$acc_extra(carrierid) =
$avp(carrier_id);
Jul  1 04:00:16 Opensip opensips: #011^~~~~~~~~~~~~~~~~~~~~~
Jul  1 04:00:16 Opensip opensips:
Jul  1 04:00:16 Opensip opensips: #011do_accounting("db");
Jul  1 04:00:16 Opensip opensips: ERROR:core:parse_opensips_cfg: bad config
file (1 errors)
Jul  1 04:00:16 Opensip opensips: ERROR:core:main: failed to parse config
file (null)
Jul  1 04:00:16 Opensip opensips: NOTICE:core:main: Exiting....

I have this in the config

modparam("acc", "extra_fields", "db: callerid->callerid; ani->ani;
prefix->prefix; src_ip->src_ip; dst_ip->dst_ip; acctid->acctid;
carrierid=$avp(carrier_id);")

Also, I would like to put the IP address of the gateway that last tried to
make the call, either missed or not, but sometimes I am also getting the IP
address of the originating call

where should I put this?

$acc_extra(dst_ip) = $rd;
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to