Has anyone experienced this problem where lcr only works when from_uri is null. When I change it to .* the match fails.
Thanks Ben
Ben WIlliams writes:
Has anyone experienced this problem where lcr only works when from_uri is null. When I change it to .* the match fails.
i just tested with latest master the case where from uri is .* and it worked as expected. check that the rule is enabled in lcr_rule table and that a gw is defined for the rule in rule_target table.
-- juha
Thanks for checking. It was the only rule I had and it was working but only when from_uri was null.
On Tue, Feb 28, 2012 at 2:59 PM, Juha Heinanen jh@tutpro.com wrote:
Ben WIlliams writes:
Has anyone experienced this problem where lcr only works when from_uri is null. When I change it to .* the match fails.
i just tested with latest master the case where from uri is .* and it worked as expected. check that the rule is enabled in lcr_rule table and that a gw is defined for the rule in rule_target table.
-- juha
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Its 3.2.2 from http://download.opensuse.org/repositories/home:/kamailio:/telephony/CentOS_C...
On Tue, Feb 28, 2012 at 3:37 PM, Juha Heinanen jh@tutpro.com wrote:
Ben WIlliams writes:
Thanks for checking. It was the only rule I had and it was working but only when from_uri was null.
which version of kamailio are you using?
-- juha
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Ben WIlliams writes:
Its 3.2.2 from http://download.opensuse.org/repositories/home:/kamailio:/telephony/CentOS_C...
can you post dump of your lcr tables and i'll give a try with them?
-- juha
Hi Juha, here is the dump, prefix 8 should use gateway number 2. Its not a big issue, I've managed to do it without LCR now.
INSERT INTO `lcr_gw` VALUES (1,1,'chc','1.1.1.1',NULL,NULL,NULL,1,1,NULL,NULL,NULL,1,NULL),(2,1,'ak','2.2.2.2',NULL,NULL,NULL,1,1,NULL,NULL,NULL,1,NULL); INSERT INTO `lcr_rule` VALUES (1,1,'8','.*',1,1); INSERT INTO `lcr_rule_target` VALUES (1,1,1,2,1,1);
Thanks Ben
On Wed, Feb 29, 2012 at 3:20 PM, Juha Heinanen jh@tutpro.com wrote:
Ben WIlliams writes:
Its 3.2.2 from http://download.opensuse.org/repositories/home:/kamailio:/telephony/CentOS_C...
can you post dump of your lcr tables and i'll give a try with them?
-- juha
Ben WIlliams writes:
here is the dump, prefix 8 should use gateway number 2. Its not a big issue, I've managed to do it without LCR now.
INSERT INTO `lcr_gw` VALUES (1,1,'chc','1.1.1.1',NULL,NULL,NULL,1,1,NULL,NULL,NULL,1,NULL),(2,1,'ak','2.2.2.2',NULL,NULL,NULL,1,1,NULL,NULL,NULL,1,NULL); INSERT INTO `lcr_rule` VALUES (1,1,'8','.*',1,1); INSERT INTO `lcr_rule_target` VALUES (1,1,1,2,1,1);
i tried the above records using master branch, and they worked ok. i don't currently have opportunity to try with 3.2.
-- juha
Hello,
I experience the same issue in 3.1.5
best regards,
Antanas Masevicius
On 2012.03.01 08:07, Juha Heinanen wrote:
Ben WIlliams writes:
here is the dump, prefix 8 should use gateway number 2. Its not a big issue, I've managed to do it without LCR now.
INSERT INTO `lcr_gw` VALUES (1,1,'chc','1.1.1.1',NULL,NULL,NULL,1,1,NULL,NULL,NULL,1,NULL),(2,1,'ak','2.2.2.2',NULL,NULL,NULL,1,1,NULL,NULL,NULL,1,NULL); INSERT INTO `lcr_rule` VALUES (1,1,'8','.*',1,1); INSERT INTO `lcr_rule_target` VALUES (1,1,1,2,1,1);
i tried the above records using master branch, and they worked ok. i don't currently have opportunity to try with 3.2.
-- juha
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users