Julian J. M. wrote:
FYI, the interval at which the device is checked is 60seconds when OK,
and 10s when not OK.
It can be changed in channels/chan_sip.c. Look for this lines:
#define DEFAULT_FREQ_OK 60 * 1000 /* How often to check
for the host to be up */
#define DEFAULT_FREQ_NOTOK 10 * 1000 /* How often to check,
if the host is down... */
If the device (hard or softphone) doesn't support keepalives and the
nat router has a short timeout (less than 60s), even when qualify=yes,
the nat mapping will timeout, thus being unable to receive calls. In
this case, you can lower that 60 to a value slightly lower than the
router timeout.
Julian J. M.
yes, but bad efect of this is, that this increase qualify check for all
devices, it should be configurable in per device basis, for eg. make new
option "qualifycheck=" in sip.conf
PJ
On 11/22/06, Pavel Jezek <[EMAIL PROTECTED]> wrote:
qualify=xxx in sip means, consider peer as OK if delay reply is bellow
xxx (ms)
qualify checks (POKE) is every 60s (and is not configurable in sip.conf)
qualify setting in iax.conf is working differently, this is how
frequently to check peer (and is not possible to set some POKE delay
threshlold as working qualify in sip)
this is quite misleading and inconsistent and should be improved ;-)
PJ
Vicky wrote:
> I doubt that . I think qualify=500 means asterisk checks every 500 ms
> if the
> other extension is available or not . Because when qualify=( value in
> ms )
> is set and you do a sip show peers in console asterisk whos how much
> latency
> is there between extension and asterisk . If i set qualify = no
then it
> shows UNKNOWN . If i set qualify=10 then it doesnt mean asterisk shows
> extension lagged if latency is less than 10 ms ... It just checks
> every 10
> ms for extension . I am not very sure though :)
>
> On 22/11/06, Eric ManxPower Wieling <[EMAIL PROTECTED]> wrote:
>>
>> Enrico Pasqualotto wrote:
>> > Enrico Pasqualotto wrote:
>> >> hi all, how can I set the interval in second from retrasmit the
magic
>> >> packets when qualify is set to on?
>> > You have to set qualify=second instead of qualify=yes|no.
>>
>> This is WRONG. qualify=500 means "consider this device lagged if
>> responses take longer than 500ms" I don't know if you can set the
>> frequency of qualify packets. If you can, I assume the option
would be
>> listed in sip.conf.sample.
>> _______________________________________________
>> --Bandwidth and Colocation provided by Easynews.com --
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>> http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users