[SR-Users] Kamailio- Redirect message 300 with LCR reroute

Fatima Chahrour~Vanrise Support fchahrour at vanrise.com
Tue Oct 30 13:40:41 CET 2012


Hi Juha,

The priority field is already set correctly in lcr_rule_target but though
the call is starting by last gw instead of the first.

Herby more details:
In Lcr_gw table I have:
1, 1, 'S1', '192.168.111.195', '192.168.111.195', 5060, '', 1, 1, 0, '0', 0,
0, '111'
2, 1, 'S2', '192.168.111.11', '192.168.111.11', 5060, '', 1, 1, 0, '0', 0,
0, ''
3, 1, 'S3', '192.168.111.19', '192.168.111.19', 5060, '', 1, 1, 0, '0', 0,
0, ''
4, 1, 'S4', '192.168.111.17', '192.168.111.17', 5060, '', 1, 1, 0, '0', 0,
0, ''
5, 1, 'S5', '192.168.111.18', '192.168.111.18', 5060, '', 1, 1, 0, '0', 0,
0, ''

In lcr_rule_target:
1, 1, 1, 1, 1, 1
2, 1, 1, 2, 2, 1
3, 1, 1, 3, 3, 1
4, 1, 1, 4, 4, 1
5, 1, 1, 5, 5, 1

Thanks,
F Chahrour

-----Original Message-----
From: sr-users-bounces at lists.sip-router.org
[mailto:sr-users-bounces at lists.sip-router.org] On Behalf Of Juha Heinanen
Sent: Tuesday, October 30, 2012 12:24 PM
To: SIP Router - Kamailio (OpenSER) and SIP Express Router (SER) - Users
Mailing List
Subject: Re: [SR-Users] Kamailio- Redirect message 300 with LCR reroute

Fatima Chahrour~Vanrise Support writes:

> I can see in the sip trace that contacts redirected correctly but starting
> from the last gateway(192.168.111.18) then to 192.168.111.195, etc.; 
> 
> Please help me to know what can I do so that Contacts in the redirect
starts
> from my first gateway not the last one?

you can adjust the order by lcr_rule_target priority field.

-- juha

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users at lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users




More information about the sr-users mailing list