<div dir="ltr">Hi,<br><div><br></div><div>I was trying to put the carrier id in the acc extra fields but Im getting</div><div><br></div><div>Jul  1 04:00:16 Opensip opensips: #011$acc_extra(carrierid) = $avp(carrier_id);<br>Jul  1 04:00:16 Opensip opensips: #011^~~~~~~~~~~~~~~~~~~~~~<br>Jul  1 04:00:16 Opensip opensips:<br>Jul  1 04:00:16 Opensip opensips: #011do_accounting("db");<br>Jul  1 04:00:16 Opensip opensips: ERROR:core:parse_opensips_cfg: bad config file (1 errors)<br>Jul  1 04:00:16 Opensip opensips: ERROR:core:main: failed to parse config file (null)<br>Jul  1 04:00:16 Opensip opensips: NOTICE:core:main: Exiting....<br></div><div><br></div><div>I have this in the config</div><div><br></div><div>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);")<br></div><div><br></div><div>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</div><div><br></div><div>where should I put this?<br><br>$acc_extra(dst_ip) = $rd;<br></div></div>