[asterisk-users] Qualify=yes and queues

2017-03-16 Thread Антон Сацкий
Hi list got  small question

for example i got 1  queue and 3  agents
but  there is no qualify in sip.conf for this users


IS there some influence  if I will use  qualify or not   on queue

-- 
Best regards
Antony
tel.   +380669197533
tel2. +380636564340
Paypal http://paypal.me/Satskiy

satski...@gmail.com 
-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] qualify=yes outboundproxy

2014-01-22 Thread Nick Lemberger
I am sure I need outboundproxy :)

We use Kamailio in front of our softswitch as a type of firewall and
because not all sip endpoints can set the headers such that they will
work with said softswitch.  Calling messages (and calling!) work just
fine through the proxy - that setting just doesn't seem to be honored
by the qualify=yes messaging.

This isn't a particular problem, but when we setup backup trunks that
go through a different proxy, for redundancy without the monitoring,
it takes a fair amount of time before the calls go through while it
waits for the problem trunk to timeout on it's own.

-Nick

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] qualify=yes outboundproxy

2014-01-22 Thread Nick Cameo
We use opensips as a type of firewall as well and don't need to set
qualify=yes.

N

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] qualify=yes outboundproxy

2014-01-22 Thread Nick Lemberger
 We use opensips as a type of firewall as well and don't need to set
 qualify=yes.

As I said, I don't *need* to set qualify=yes for things to work.  It's
just that trunk failover takes ~30 seconds.  If the first/main trunk
in an outbound route is down, outbound calls just sit with dead air
for a ~30 second timeout before the next trunk in the outbound route
is tried.

With qualify=yes, if the trunk is down, asterisk will mark it as such
and will skip that trunk until it starts responding to the options
ping again.

-Nick

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] qualify=yes outboundproxy

2014-01-22 Thread Nick Lemberger
 We use opensips as a type of firewall as well and don't need to set
 qualify=yes.

As I said, I don't *need* to set qualify=yes for things to work.  It's
just that trunk failover takes ~30 seconds.  If the first/main trunk
in an outbound route is down, outbound calls just sit with dead air
for a ~30 second timeout before the next trunk in the outbound route
is tried.

With qualify=yes, if the trunk is down, asterisk will mark it as such
and not try that trunk until it starts responding to the options ping
again.  Of course, the fact that it doesn't seem to work properly is
the problem.

-Nick

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] qualify=yes outboundproxy

2014-01-21 Thread Nick Lemberger
I'm having some trouble turning with trunk monitoring while using an
outbound proxy.

While all other sip messaging (e.g. calls) respects the outboundproxy
setting, Options packets from setting qualify=yes do not.  Asterisk
tried to send the Options message directly to the host= IP, instead
of the outboundproxy= IP as it should, verified with tcpdump.

I've done a search of the mailing list and didn't turn up anything relevant.
Is there a setting I'm missing, is this a bug, or just something that
won't work.  It seemed appropriate to check here before I filed a bug
report!

Best Regards,
Nicholas Lemberger

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] qualify=yes outboundproxy

2014-01-21 Thread Eric Wieling
Are you absolutely sure you need to use the outboundproxy setting rather than 
using a peer/friend?

-Original Message-
From: asterisk-users-boun...@lists.digium.com 
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Nick Lemberger
Sent: Tuesday, January 21, 2014 7:53 PM
To: asterisk-users@lists.digium.com
Subject: [asterisk-users] qualify=yes  outboundproxy

I'm having some trouble turning with trunk monitoring while using an outbound 
proxy.

While all other sip messaging (e.g. calls) respects the outboundproxy setting, 
Options packets from setting qualify=yes do not.  Asterisk tried to send the 
Options message directly to the host= IP, instead of the outboundproxy= IP 
as it should, verified with tcpdump.

I've done a search of the mailing list and didn't turn up anything relevant.
Is there a setting I'm missing, is this a bug, or just something that won't 
work.  It seemed appropriate to check here before I filed a bug report!

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[asterisk-users] qualify=yes: OPTIONS: How to Change?: `From: asterisk`

2013-05-09 Thread Brian LaVallee
My Google-Fu skills have failed me, I have not been able to find a solution
to the problem I am facing.

asterisk + from + asterisk + options +  qualify != what I am looking for

--

When qualify is enabled on a trunk, the From line shows asterisk.  See the
SIP message below.

I would like to keep qualify enabled without sending the other end any
reference to asterisk.
Can anyone point me to a setting that will change or remove `²asterisk²`
from `FROM:` in the OPTIONS message?


Thanks,
Brian LaVallee

--

/etc/asterisk/sip.conf (Asterisk 1.8.15-cert1)
[general]
; - Truncated
[TRUNK]
; - Truncated
qualify=yes
;
; end

--

IP 4.4.4.4.sip  3.3.3.3.sip: UDP, length 573
OPTIONS sip:server.carrier.tld SIP/2.0
Via: SIP/2.0/UDP 4.4.4.4:5060;branch=aBcDeFgHiJkLmNo;rport
Max-Forwards: 70
From: asterisk sip:accountid@4.4.4.4;tag=as1832334c
To: sip:server.carrier.tld
Contact: sip:accountid@4.4.4.4:5060
Call-ID: f80a4ad87fee7c9fdc19b7769495fdb5@4.4.4.4:5060
CSeq: 102 OPTIONS
Date: Thu, 09 May 2013 07:22:30 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO,
PUBLISH
Supported: replaces, timer
Content-Length: 0



--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [asterisk-users] qualify=yes: OPTIONS: How to Change?: `From: asterisk`

2013-05-09 Thread Jeremy Kister

On 5/9/13 8:21 PM, Brian LaVallee wrote:

When qualify is enabled on a trunk, the From line shows asterisk.  See the
SIP message below.


I had the same annoyance/issue.  fixed it in 
https://issues.asterisk.org/jira/browse/ASTERISK-17616


the patch was included in 1.8.9 rc1.

--

Jeremy Kister
http://jeremy.kister.net./


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
  http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] qualify=yes: OPTIONS: How to Change?: `From: asterisk`

2013-05-09 Thread Nathan Anderson
On Thursday, May 09, 2013 8:23 PM, Jeremy Kister wrote:

 On 5/9/13 8:21 PM, Brian LaVallee wrote:
 When qualify is enabled on a trunk, the From line shows asterisk.  See
 the SIP message below.
 
 I had the same annoyance/issue.  fixed it in
 https://issues.asterisk.org/jira/browse/ASTERISK-17616
 
 the patch was included in 1.8.9 rc1.

Interesting.  I hadn't noticed this bug or its inclusion into 1.8.x.

IIRC, pretty sure I worked around this myself in the past by setting a global 
callerid= value in sip.conf, so if you have a good (!) reason not to upgrade, 
the OP might give that a shot.

-- 
Nathan Anderson
First Step Internet, LLC
nath...@fsr.com

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
   http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [asterisk-users] qualify=yes

2006-11-23 Thread Pavel Jezek


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


[asterisk-users] qualify=yes

2006-11-22 Thread Enrico Pasqualotto
hi all, how can I set the interval in second from retrasmit the magic
packets when qualify is set to on?
I want to view whitch voip-phone is connected but I don't want to DOS my
adsl connection ;)

Thanks Enrico P.
-- 
Pasqualotto 'Pasqu' Enrico
enrico AT pasqualotto DOT org
web: http://www.pasqualotto.org
skype: epasqualotto
___
--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


Re: [asterisk-users] qualify=yes

2006-11-22 Thread Enrico Pasqualotto
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.

Eheheheh
-- 
Pasqualotto 'Pasqu' Enrico
enrico AT pasqualotto DOT org
web: http://www.pasqualotto.org
skype: epasqualotto
___
--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


Re: [asterisk-users] qualify=yes

2006-11-22 Thread Eric \ManxPower\ Wieling

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


Re: [asterisk-users] qualify=yes

2006-11-22 Thread Vicky

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


Re: [asterisk-users] qualify=yes

2006-11-22 Thread Eric \ManxPower\ Wieling

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 :)


Try it.  Set qualify=1 in sip.conf.
___
--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


Re: [asterisk-users] qualify=yes

2006-11-22 Thread Pavel Jezek
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


Re: [asterisk-users] qualify=yes

2006-11-22 Thread Julian J. M.

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.



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


[Asterisk-Users] qualify=yes

2005-09-21 Thread Manny A. Wise








I was just wondering if I can leave qualify=yes set on all
my trunks??? Originally I had it only setup in one.



Is nice to see the ms reported back..



Is a bad idea? Is that hammering the other servers? Or mine?



Thanks





Manny A. Wise

EL OBELISCO, Inc.

www.calltheus.com

TollFree: (800)230-0106

Tampa: (813)283-0265

Miami: (786)347-5725

NewYork State:
(631)492-3212

Washington Sate: (360)469-0317

FAX: 1.512.597.1779

FWD: 68346








___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Re: [Asterisk-Users] qualify=yes (new subject)

2003-10-16 Thread Olle E. Johansson
I've added info on qualify=yes and how this can help the NAT dilemma to the
wiki:
http://www.voip-info.org/tiki-index.php?page=Asterisk+sip+qualify
As Wipeout stated, this is extremely useful and an important part of
the undocumented Asterisk features we're trying to document on the Wiki ;-)
I can't find a setting for how often Asterisk sends the Qualify/Options request,
but vaguely remember there being one. Any help?
/O

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] qualify=yes (new subject)

2003-10-16 Thread duncan

I've added info on qualify=yes and how this can help the NAT dilemma to the
wiki:
http://www.voip-info.org/tiki-index.php?page=Asterisk+sip+qualify
As Wipeout stated, this is extremely useful and an important part of
the undocumented Asterisk features we're trying to document on the Wiki ;-)
I can't find a setting for how often Asterisk sends the Qualify/Options 
request,
but vaguely remember there being one. Any help?
qualify=yes i think means the request gets sent every 60 seconds.  you can 
of course make qualify=600 to make it send every 10 minutes.

duncan

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] qualify=yes (new subject)

2003-10-16 Thread WipeOut
Olle E. Johansson wrote:

I've added info on qualify=yes and how this can help the NAT dilemma 
to the
wiki:
http://www.voip-info.org/tiki-index.php?page=Asterisk+sip+qualify

As Wipeout stated, this is extremely useful and an important part of
the undocumented Asterisk features we're trying to document on the 
Wiki ;-)

I can't find a setting for how often Asterisk sends the 
Qualify/Options request,
but vaguely remember there being one. Any help?

In my testing with it this morning it sent the OPTIONS request every 60 
seconds..

Later..

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] qualify=yes (new subject)

2003-10-16 Thread WipeOut
duncan wrote:


I've added info on qualify=yes and how this can help the NAT dilemma 
to the
wiki:
http://www.voip-info.org/tiki-index.php?page=Asterisk+sip+qualify

As Wipeout stated, this is extremely useful and an important part of
the undocumented Asterisk features we're trying to document on the 
Wiki ;-)

I can't find a setting for how often Asterisk sends the 
Qualify/Options request,
but vaguely remember there being one. Any help?


qualify=yes i think means the request gets sent every 60 seconds.  you 
can of course make qualify=600 to make it send every 10 minutes.

duncan
If you set qualify=600 Asterisk will wait 600ms for a response to the 
OPTIONS request.. If a reply is not received by Asterisk within 600ms 
then the UA is thought to be unreachable.. The OPTIONS request interval 
seems to be hard coded to 60 seconds..



___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] qualify=yes (new subject)

2003-10-16 Thread Olle E. Johansson
WipeOut wrote:

duncan wrote:


I've added info on qualify=yes and how this can help the NAT dilemma 
to the
wiki:
http://www.voip-info.org/tiki-index.php?page=Asterisk+sip+qualify

As Wipeout stated, this is extremely useful and an important part of
the undocumented Asterisk features we're trying to document on the 
Wiki ;-)

I can't find a setting for how often Asterisk sends the 
Qualify/Options request,
but vaguely remember there being one. Any help?

qualify=yes i think means the request gets sent every 60 seconds.  you 
can of course make qualify=600 to make it send every 10 minutes.

If you set qualify=600 Asterisk will wait 600ms for a response to the 
OPTIONS request.. If a reply is not received by Asterisk within 600ms 
then the UA is thought to be unreachable.. The OPTIONS request interval 
seems to be hard coded to 60 seconds..
Thank you!

And if you set qualify=yes, the hardcoded timeout is 2000 ms. I did not
find the 60 seconds, thought it was configurable. I'll think I'll add
it as a feature request, since different NATs have different timeouts.
Btw, here's a snippet from chan_sip.c
---
#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... */
---
It seems to me that it checks every 60 seconds by default and if the host doesn't 
answer,
it checks every 10 seconds if it's coming back.
I did not see clearly that this timer was connected to qualify,
even though there are source code comments here. Must be the cold fall weather
here in Stockholm that slows my brain. It starts hibernating ;-)
/O

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users