Hey
I'm having a weird issue, possibly a BUG, using opensips 3.2.8.
The carrier_id_avp is not being written, when I enabled partitions or
drouting module. Everything else works, just this value is not written to
the AVP setted. Routing works fine using carriers, just the AVP is not
written.
When I disable partitions, it works fine writting to carrier_id_avp. =|
Configuration:
modparam("drouting", "carrier_id_avp", "$avp(carrier_id)")
Example of call
My dr_rule has gwlist = #651
Carrier 651
carrierid=651
gwlist=651 (yes, same id)
Applied routing with partition:
do_routing(2222,"F",,,$avp(gw_attrs),,"partition1")
Log:
Feb 22 01:14:51 sbc4 /usr/local/sbin/opensips[856]:
DBG:drouting:push_gw_for_usage: adding gw [651] as "sip:[email protected]"
in order 0
Feb 22 01:14:51 sbc4 /usr/local/sbin/opensips[856]:
DBG:drouting:push_gw_for_usage: setting GW id [651] as avp
Feb 22 01:14:51 sbc4 /usr/local/sbin/opensips[856]:
DBG:drouting:push_gw_for_usage: setting GW attr [1] as avp
The gateway 651 does exist, it's the same name of Carrier but it shouldn't
be a problem.
Checking logs, $avp(carrier_id) is null:
Carrier:yy.yy.yy.yy(<null>)
Do you guys have any clues on how to solve it? Maybe a bug?
This works fine when not using partitions.
Thanks
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users