<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>hello,</p>
<p>this is my solution:</p>
<p>on the OpenSIPs configuration, ACC module:</p>
<p><b>modparam("acc", "db_extra", "Gateway=$avp(gw_id)")</b><br>
</p>
drouting module:<br>
<br>
<b>modparam("drouting", "gw_id_avp", '$avp(gw_id)')</b><br>
<br>
On opensips database:<br>
<br>
<b>mysql -u root -p
</b>
<p>mysql> <b>use opensips</b></p>
<p>mysql> <b>alter table acc add Gateway char(20);</b></p>
<p id="yui_3_13_0_3_1469467289649_149">mysql> <b>alter table
missed_calls add Gateway char(20);</b></p>
Restart OpenSIPs and try.<br>
<br>
Regards<br>
<br>
<div class="moz-cite-prefix">El 25/07/2016 a las 17:31, Jim DeVito
escribió:<br>
</div>
<blockquote
cite="mid:86473949c8c3ff5ce3d4392429e148c2@mail.devito.cc"
type="cite">Sure thing!
<br>
<br>
<a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/2.2.x/drouting.html#id294247">http://www.opensips.org/html/docs/modules/2.2.x/drouting.html#id294247</a>
<br>
<br>
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.
<br>
<br>
Thanks!!
<br>
<br>
---
<br>
Jim DeVito
<br>
<br>
<br>
On 2016-07-25 08:20, Annus Fictus wrote:
<br>
<blockquote type="cite">Hello,
<br>
<br>
I'd like know if is possible save in the acc table the used
gateway
<br>
from drouting module to terminate a call.
<br>
<br>
Regards
<br>
<br>
<br>
_______________________________________________
<br>
Users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
<br>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>