[OpenSIPS-Users] Save gateway used on ACC Table when using drouting
Annus Fictus
annusfictus at gmail.com
Mon Jul 25 18:01:51 CEST 2016
hello,
I tried with:
if (do_routing(,,,,"$avp(gw_id)")) {
xlog("L_NOTICE","Gateway $avp(gw_id)");
But $avp(gw_id) is always empty.
On the module parameters:
modparam("drouting", "gw_id_avp", '$avp(gw_id)')
Any hint?
Regards
El 25/07/2016 a las 17:31, Jim DeVito escribió:
> Sure thing!
>
> http://www.opensips.org/html/docs/modules/2.2.x/drouting.html#id294247
>
> Then just add to the acc module *_extra
> "carrier_id=$avp(carrier_id_avp)" carrier_id being the column in your
> acc database or log.
>
> Thanks!!
>
> ---
> Jim DeVito
>
>
> On 2016-07-25 08:20, Annus Fictus wrote:
>> Hello,
>>
>> I'd like know if is possible save in the acc table the used gateway
>> from drouting module to terminate a call.
>>
>> Regards
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
More information about the Users
mailing list