[OpenSIPS-Users] drouting

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Sep 20 13:20:12 CEST 2016


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 at sbc-msk opensips]# opensipsctl fifo dr_number_routing 1 79182220222
> Matched Prefix:: 7.
> What is wrong?
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>




More information about the Users mailing list