Ok Bogdan. I'll try 2016-09-20 22:57 GMT+03:00 Bogdan-Andrei Iancu <bog...@opensips.org>: > Hi Kirill, > > The logs says that a rule was found, but now GW (destination) was selected > to be used. > > I see you checked the status of the GWs, but please check the status of the > carriers also: > http://www.opensips.org/html/docs/modules/2.2.x/drouting.html#id296588 > > Regards, > > Bogdan-Andrei Iancu > OpenSIPS Founder and Developer > http://www.opensips-solutions.com > > On 20.09.2016 15:44, Kirill Galinurov wrote: >> >> Hello Bogdan. I try drouting() without any parameters. >> >> 2016-09-20 14:20 GMT+03:00 Bogdan-Andrei Iancu <bog...@opensips.org>: >>> >>> Hello Kirill, >>> >>> I see the MI command succeeded, right? but the scrip do_routing() fails ? >>> what are the parameters you pass to do_routing() ? >>> >>> Best regards, >>> >>> Bogdan-Andrei Iancu >>> OpenSIPS Founder and Developer >>> http://www.opensips-solutions.com >>> >>> >>> On 19.09.2016 15:50, Kirill Galinurov wrote: >>>> >>>> Hi all I try to use drouting module. >>>> >>>> Sep 19 17:18:28 [37245] DBG:drouting:do_routing: using dr group 1, >>>> rule_idx 0, username 79632780099 >>>> Sep 19 17:18:28 [37245] DBG:drouting:internal_check_rt: found rgid 1 >>>> (rule list 0x7fe60616b800) >>>> Sep 19 17:18:28 [37245] INFO:drouting:do_routing: no destination for >>>> dr group 1, rule_idx 0, username 79632780099 >>>> L_INFOdo_routing: No rules matching the URI >>>> In dr_rules >>>> ruleid | groupid | prefix | timerec | priority | routeid | gwlist | >>>> attrs | description >>>> >>>> >>>> --------+---------+--------+---------+----------+---------+--------+-------+---------------- >>>> 0 | 1 | 7 | | 1 | | #cr1 | >>>> | outgoing calls >>>> >>>> dr_carriers >>>> id | carrierid | gwlist | flags | state | attrs | description >>>> ----+-----------+--------+-------+-------+-------+------------- >>>> 1 | cr1 | gw1; | 0 | 2 | 0x2 | OUT >>>> >>>> dr_gateways >>>> id | gwid | type | address | strip | pri_prefix | attrs | >>>> probe_mode | state | socket | description >>>> >>>> >>>> ----+------+------+-------------------+-------+------------+-------+------------+-------+-------------------------+------------- >>>> 1 | gw1 | 1 | sip:out_voip.ru | 0 | | | >>>> 0 | 0 | udp:XX.XX.XX.XX:5060 | out >>>> >>>> opensipsctl fifo dr_gw_status >>>> ID:: gw1 IP=XX.XXX.XXX.XX State=Active >>>> >>>> [root@sbc-msk opensips]# opensipsctl fifo dr_number_routing 1 >>>> 79182220222 >>>> Matched Prefix:: 7. >>>> What is wrong? >>>> >>>> _______________________________________________ >>>> Users mailing list >>>> Users@lists.opensips.org >>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>>> >
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users