[OpenSIPS-Users] Opensips drouting probing

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Mar 20 10:20:46 EDT 2017


Failure route does not help you if your routing does not start at all - 
if do_routing() returns negative. Again, in request route, test the 
return code for do_routing() - it will return a negative code if no 
destination is available for routing.

Regards,

Bogdan-Andrei Iancu
   OpenSIPS Founder and Developer
   http://www.opensips-solutions.com

OpenSIPS Summit May 2017 Amsterdam
   http://www.opensips.org/events/Summit-2017Amsterdam.html

On 03/20/2017 02:28 PM, Denis wrote:
> Hello, Bogdan!
> Yes, i know about that.
> In failure_route i have
> if (($DLG_status == 1) && t_check_status("408"))
> action. And it works if i have multiple direction (using alternative 
> mode) for the prefix.
> But when i use only one direction for the prefix i have the problem 
> described below.
> Thank you.
> -- 
> С уважением, Денис.
> Best regards, Denis
> 20.03.2017, 15:24, "Bogdan-Andrei Iancu" <bogdan at opensips.org>:
>> Hi Denis,
>>
>> I suspect a scripting error on your side. If all the destinations are 
>> disabled, the do_routing() returns a negative code into the script - 
>> you need to handle this case and send back whatever negative reply 
>> you want. The Drouting modules does not do any SIP signalling for you.
>>
>> Best regards,
>> Bogdan-Andrei Iancu
>>    OpenSIPS Founder and Developer
>>    http://www.opensips-solutions.com <http://www.opensips-solutions.com/>
>>
>> OpenSIPS Summit May 2017 Amsterdam
>>    http://www.opensips.org/events/Summit-2017Amsterdam.html
>> On 03/17/2017 07:50 AM, Denis via Users wrote:
>>> Hello!
>>> According to drouting module documentation i am trying to introduce 
>>> a probing feature to control destination SIP UA access.
>>> Almost everything works correct, besides one thing.
>>> If i have only one destination, which became inaccessible, Opensips 
>>> "freezes" a call, i.e. it sends 100 trying (script logging) and 
>>> after does not sent any code (i expected, that Opensips will sent 
>>> 408 code in such situation after fr_timeout triggering).
>>> Inaccessible destination has "probing" status and i see OPTIONS sent 
>>> by Opensis to destination.
>>> Server:: OpenSIPS (2.2.3 (x86_64/linux))
>>> Thank you for any help.
>>> -- 
>>> С уважением, Денис.
>>> Best regards, Denis
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170320/ec7c18c2/attachment.html>


More information about the Users mailing list