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@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