Re: [SR-Users] LCR routing, and finaly route to media gateway if not found

2016-09-26 Thread Daniel Tryba
On Fri, Sep 23, 2016 at 03:59:20PM +0200, Loic Chabert wrote: > - I have some sbc for one destination. If one destination fail, kamailio > try to second one etc.. > - If no SBC is available for this destination (for exemple, all are down), > i want to send my call to an error server (asterisk), pla

Re: [SR-Users] LCR routing, and finaly route to media gateway if not found

2016-09-23 Thread Juha Heinanen
Loic Chabert writes: > In fact, kamailio is out from lcr at this point, no more gateway to try > (all gateways are down). > I just want to send call to a static server for playing sound. > > To be more specific, if no gateways are not set on database, a sound must > be played. > > Should i chang

Re: [SR-Users] LCR routing, and finaly route to media gateway if not found

2016-09-23 Thread Loic Chabert
In fact, kamailio is out from lcr at this point, no more gateway to try (all gateways are down). I just want to send call to a static server for playing sound. To be more specific, if no gateways are not set on database, a sound must be played. Should i change $du and $ru to make it work ? Le 23

[SR-Users] LCR routing, and finaly route to media gateway if not found

2016-09-23 Thread Juha Heinanen
Loic Chabert writes: > To accomplish this, i re-write the RURI: "sip:error1@errorserver.local", > and launch RELAY route. But kamailio dont make a DNS query to find IP of > "errorserver.local", only change RURI and try to send to the last LCR > gateway. > > I have also try to add a new branch, bu

[SR-Users] LCR routing, and finaly route to media gateway if not found

2016-09-23 Thread Loic Chabert
Hello List, I'm finishing my implementation of LCR with kamailio for outgoing calls but one use case does not work. Let me explain: - I have some sbc for one destination. If one destination fail, kamailio try to second one etc.. - If no SBC is available for this destination (for exemple, all are d