[OpenSIPS-Users] Carrier ID and Rule ID not populating flatstore

Vic Jolin adjolin at gmail.com
Thu Jul 2 16:13:29 EST 2020


Hello,

I have this for drouting
loadmodule "drouting.so"
modparam("drouting", "rule_prefix_avp", '$avp(dr_prefix)')
modparam("drouting", "carrier_id_avp", '$avp(carrier_id)')
modparam("drouting", "gw_id_avp", '$avp(gw_id)')
modparam("drouting", "ruri_avp", '$avp(dr_ruri)')
modparam("drouting", "gw_priprefix_avp", '$avp(gw_priprefix)')
modparam("drouting", "rule_id_avp", '$avp(rule_id)')

and for acc

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); ruleid->$avp(rule_id)")
modparam("acc", "db_url", "flatstore:/var/log/acc")

Can anyone tell me why on the flatstore files the carrierid, and ruleid is
empty?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200703/342dc348/attachment.html>


More information about the Users mailing list