[SR-Users] Kamailio-Redirect based LCR routing

Fatima Chahrour~Vanrise Support fchahrour at vanrise.com
Mon Sep 10 22:50:19 CEST 2012


Dear Daniel\List,

 

Following up to a previous post where I was able in my testing lab to
redirect call with 1st destination of lcr_gw table to another
Kamailio(acting as any SBC) with Daniels assist, I need a hand in
redirecting the call with multiple contacts , basically based on the lcr
routing rule configured in kamailio LCR module for the rerouted call. 

 

Is this possible using code 300 with multiple choices message? Or you advise
me with another method?

If 300 redirect message works, what should be the variable set as $ru to get
all lcr_gw destinations?

 

Example for clarification: 

My current redirect script used after lcr functions is :

..

$ru= $ru;                              

sl_send_reply("302","Moved Temporary");          

..

 

This script is successfully sending the 302 message with Contact:
sip:1119613454646 at 192.168.111.195. (1119613454646 is the dialed number with
prefix, 192.168.111.195 is first lcr_gw ip). Now if the call to
192.168.111.195 is failed and I need to redirect the second destination,
second lcr_gw ip, how can I achieve this?

 

Thank you for your usual response.

 

Kind Regards,

F Chahrour

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120910/a301c727/attachment.htm>


More information about the sr-users mailing list