[OpenSIPS-Users] calling create_dialog() on failover

Richard Robson rrobson at greenlightcrm.com
Wed Jan 25 12:01:05 EST 2017


I may be answering my own question here, But I going to say Thay I 
should be using match_dialog to see if there is an existing dialog and 
only create one if there is not one already/

R

On 25/01/2017 16:42, Richard Robson wrote:
> I'm wanting to check rate limits and channel limits for calls over 
> several gateways. this I have working, but we are getting instances of 
> failures on upstream carriers. this is due to one carrier in paricular 
> not liking the CLIs our customers are calling from. In this case the 
> call comes back as a 403, which I want to failover from the  
> t_on_failure route to the next gateway. If I reuse my relay route it 
> it will have a subsequent create_dialog() it also does the topology 
> hiding and accounting in. Am I OK to recall the create dialog and 
> reuse the relay route or am i better to do a second route to relay the 
> call to the next gateway assuming that this will be the same dialog 
> from the original call.
>
>
> Regards,
>
>


-- 
Richard Robson
Greenlight Support
01382 843843
support at greenlightcrm.com




More information about the Users mailing list