<p dir="ltr">Use the group 1 you created in the command drouting(1) to send out using group 1. </p>
<p dir="ltr">Thanks</p>
<p dir="ltr">Jeff Wilkie<br>
USIP Communications</p>
<div class="gmail_extra"><br><div class="gmail_quote">On Sep 20, 2016 8:45 AM, "Kirill Galinurov" <<a href="mailto:k.galinurov@gmail.com">k.galinurov@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Bogdan. I try drouting() without any parameters.<br>
<br>
2016-09-20 14:20 GMT+03:00 Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>>:<br>
> Hello Kirill,<br>
><br>
> I see the MI command succeeded, right? but the scrip do_routing() fails ?<br>
> what are the parameters you pass to do_routing() ?<br>
><br>
> Best regards,<br>
><br>
> Bogdan-Andrei Iancu<br>
> OpenSIPS Founder and Developer<br>
> <a href="http://www.opensips-solutions.com" rel="noreferrer" target="_blank">http://www.opensips-solutions.<wbr>com</a><br>
><br>
><br>
> On 19.09.2016 15:50, Kirill Galinurov wrote:<br>
>><br>
>> Hi all I try to use drouting module.<br>
>><br>
>> Sep 19 17:18:28 [37245] DBG:drouting:do_routing: using dr group 1,<br>
>> rule_idx 0, username 79632780099<br>
>> Sep 19 17:18:28 [37245] DBG:drouting:internal_check_<wbr>rt: found rgid 1<br>
>> (rule list 0x7fe60616b800)<br>
>> Sep 19 17:18:28 [37245] INFO:drouting:do_routing: no destination for<br>
>> dr group 1, rule_idx 0, username 79632780099<br>
>> L_INFOdo_routing: No rules matching the URI<br>
>> In dr_rules<br>
>> ruleid | groupid | prefix | timerec | priority | routeid | gwlist |<br>
>> attrs | description<br>
>><br>
>> --------+---------+--------+--<wbr>-------+----------+---------+-<wbr>-------+-------+--------------<wbr>--<br>
>> 0 | 1 | 7 | | 1 | | #cr1 |<br>
>> | outgoing calls<br>
>><br>
>> dr_carriers<br>
>> id | carrierid | gwlist | flags | state | attrs | description<br>
>> ----+-----------+--------+----<wbr>---+-------+-------+----------<wbr>---<br>
>> 1 | cr1 | gw1; | 0 | 2 | 0x2 | OUT<br>
>><br>
>> dr_gateways<br>
>> id | gwid | type | address | strip | pri_prefix | attrs |<br>
>> probe_mode | state | socket | description<br>
>><br>
>> ----+------+------+-----------<wbr>--------+-------+------------+<wbr>-------+------------+-------+-<wbr>------------------------+-----<wbr>--------<br>
>> 1 | gw1 | 1 | sip:<a href="http://out_voip.ru" rel="noreferrer" target="_blank">out_voip.ru</a> | 0 | | |<br>
>> 0 | 0 | udp:XX.XX.XX.XX:5060 | out<br>
>><br>
>> opensipsctl fifo dr_gw_status<br>
>> ID:: gw1 IP=XX.XXX.XXX.XX State=Active<br>
>><br>
>> [root@sbc-msk opensips]# opensipsctl fifo dr_number_routing 1 79182220222<br>
>> Matched Prefix:: 7.<br>
>> What is wrong?<br>
>><br>
>> ______________________________<wbr>_________________<br>
>> Users mailing list<br>
>> <a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
>> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
>><br>
><br>
<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a><br>
</blockquote></div></div>