note that the prefix fields from GW and LCR tables are not the same:
- in GW, the prefix is something to be added to the calls sent to that GW
- in LCR, the prefix is the RURI prefix used to match the routing rule.
regards,
bogdan
Emerson Oatis wrote:
Hi list,
I am new with openser configuration, as of now i have only one gateway
directly terminated on USA (PSTN) :
- is it possible to use the LCR module w/c is base on prefix i enter
in gw table route base on my priority? (for now is same priority)
here is my initial config for mysql gw and lcr table :
# GW Table
# gw_name | grp_id | ip-addr | port | uri_scheme | transport | prefix
insert into gw values('gw1',1,4563720857,5060,NULL,1,'1001');
insert into gw values('gw2',2,4563720857,5060,NULL,1,'1003');
# LCR Table
# prefix | from_uri | grp_id | priority
insert into lcr values('1001','%',1,1);
insert into lcr values('1003','%',2,1);
Regards,
remesitao
------------------------------------------------------------------------
_______________________________________________
Users mailing list
Users(a)openser.org
http://openser.org/cgi-bin/mailman/listinfo/users