[OpenSIPS-Users] Save gateway used on ACC Table when using drouting [SOLVED]
Annus Fictus
annusfictus at gmail.com
Mon Jul 25 19:24:41 CEST 2016
hello,
this is my solution:
on the OpenSIPs configuration, ACC module:
*modparam("acc", "db_extra", "Gateway=$avp(gw_id)")*
drouting module:
*modparam("drouting", "gw_id_avp", '$avp(gw_id)')*
On opensips database:
*mysql -u root -p *
mysql> *use opensips*
mysql> *alter table acc add Gateway char(20);*
mysql> *alter table missed_calls add Gateway char(20);*
Restart OpenSIPs and try.
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160725/8628d603/attachment.htm>
More information about the Users
mailing list