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
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to