Hi Sasmita,
Build a routing group (1, for example as this):
Put in dr_rules:
+--------+---------+--------+---------+----------+---------+--------+-------+-------------+
| ruleid | groupid | prefix | timerec | priority | routeid | gwlist |
attrs | description |
+--------+---------+--------+---------+----------+---------+--------+-------+-------------+
| 100 | 1 | | | 0 | NULL |asterisk| NULL
| |
+--------+---------+--------+---------+----------+---------+--------+-------+-------------+
and it dr_gateways:
+----+--------+------+----------------+-------+------------+-------+------------+-------+--------------------+-------------+
| id | gwid | type | address | strip | pri_prefix | attrs |
probe_mode | state | socket | description |
+----+--------+------+----------------+-------+------------+-------+------------+-------+--------------------+-------------+
| 1 |asterisk| 0 | 127.0.0.1:5080 | 0 | NULL | NULL
| 0 | 0 | NULL | |
+----+--------+------+----------------+-------+------------+-------+------------+-------+--------------------+-------------+
Best regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 22.09.2015 15:16, Sasmita Panda wrote:
Hi All ,
I am trying to upgrade opensips-1.6 to opensips-1.11 .
As everybody know opensips-1.11 uses dynamic routing in place of lcr
module .
I have a simple scenario and , I wanted to and a route and a
gateway for the particular route so that my call get routed to the gw .
In lcr tables my schema is looking like bellow :
lcr routes
+----+--------+-----------------------------+--------+----------+
| id | prefix | from_uri | grp_id | priority |
+----+--------+-----------------------------+--------+----------+
| 4 | | .*@xyz.xxx.com.* | 5 | 0 |
lcr gateways
+---------------+----------------+------+------------+-----------+--------+-------+------+-------+
| gw_name | ip_addr | port | uri_scheme | transport |
grp_id | strip | tag | flags |
+---------------+----------------+------+------------+-----------+--------+-------+------+-------+
| asterisk | 127.1.1.200 | 5080 | 1 | 1 |
5 | 0 | | 0 |
I have simply add a route and for the same grp_id I have added a gateway .
How I will do the same thing in dynamic routing ? I have gone
through the document of dynamic routing module . But I am not able to
understand the schema .
Can anyone pleas help me , how to proceed ??
*/Thanks & Regards/*
/Sasmita Panda/
/Network Testing and Software Engineer/
/3CLogic , ph:07827611765/
_______________________________________________
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