[asterisk-dev] RFC: Refactor qualify and res_pjsip/endpt_send_request

Joshua Colp jcolp at digium.com
Sat Mar 28 20:06:29 CDT 2015


George Joseph wrote:
>> The fact that it goes to unavailable would be a bug. Why does it do so?
>
> Mark should probably chime in here but I think it's because the
> earliest you could get a response from pjsip when a contact isn't
> reachable is the unconfigurable 32 seconds.   As I said that's a long
> time to leave a contact available when it really isn't.   Without
> implementing our own timer setting the contact to unavailable was
> probably the lesser of 2 evils.

No matter what there's going to be a period where you are potentially 
wrong. I don't think making it unavailable was done on purpose.

-- 
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - US
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-dev mailing list