[asterisk-users] nat and qualify questions
Alyed Tzompa
alyed.tzompa at simitel.com
Tue Aug 1 09:58:52 MST 2006
from
http://www.voip-info.org/wiki/view/Asterisk+sip+qualify
> qualify=xxx|no|yes
>where XXX is the number of milliseconds used. If yes the default timeout is used, 2 seconds.
>If you turn on qualify in the configuration of a SIP device in sip.conf, Asterisk will send a SIP OPTIONS
command regularly to check that the device
>is still online. If the
device does not answer within the configured (or default) period (in
ms) Asterisk considers the device off-line for future calls.
What happens if you use nat=yes is that Asterisk will consider the IP
for communicating with the SIP user agent (UA) as the IP from where the
SIP invite comes from instead of taking the one included in the SDP
message. Hence if you are using phones inside a LAN this 2 addresses
will be the same, but if your SIP UA is outside they will not.
Having all your phones set with nat=yes and qualify =yes, will not
affect the behaviour of your phones if your network is not really full,
but will be a bad and dirty way to do it :)
Alyed
----------------------------------------
Return-Path: <asterisk-users-bounces at lists.digium.com> Tue Aug 01 08:35:05 2006
Received: from digium-69-16-138-164.phx1.puregig.net [69.16.138.164] by mail11.webcontrolcenter.com with SMTP;
Tue, 1 Aug 2006 08:35:05 -0700
Received: from digium-69-16-138-164.phx1.puregig.net (localhost [127.0.0.1])
by lists.digium.com (Postfix) with ESMTP id A1691C3F6;
As
far as i know qualify=yes will increase you network traffic, this will
make asterisk to communicate with all sip friends every X seconds, not
sure the default value.
On 8/1/06,
BerkHolz, Steven <StevenBerkHolz at tescogroup.com> wrote:Are there any
problems with always having nat=yes and qualify=yes? We just opened up
our server to be accessible to SIP from the internet. (used to require
VPN) I had to set the SIP
setting for my test softphone to nat=yes and qualify=yes. This makes
sense. Some of these phone
will never leave our building. Some of these phone
will come and go. (laptops) Is the any negatives
to just have all phones set to nat=yes and qualify=yes? If not, why is it
not the default?
Thank You,Steven
BerkHolz
- MCSA
- MCSE -
Manager of Information Systems
TESCO Group
Companies
Fax. 248-836-5101
www.TESCOGroup.comBoard member
of
www.glimasoutheast.org
_______________________________________________
--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
--
Com os melhores cumprimentos,
Marco Mouta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060801/dd6cfef4/attachment.htm
More information about the asterisk-users
mailing list