Thanks for the answer Danny. Can you give an example of when we would setup 
peers through Method 1 & 2 as you described?

If I am using FreePBX & setup generic SIP extensions & then use Polycom phones 
& configure them to register with the SIP server (asterisk) with the 
extension/user & password, are these extensions (or maybe more correctly 
"peers") I setup via FreePBX actually "self-registration" or 
"required-registration" peers?

Thanks,
-
Doug Mortensen
Network Consultant
Impala Networks
P: 505.327.7300

From: Danny Nicholas [mailto:[email protected]]
Sent: Monday, November 14, 2011 3:26 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] How do extensions "stay registered"

Just trying to offer a little enlightenment - There are basically two methods 
of sip phone (peer/extension) registration.  Method 1 is "self-registration" 
where Asterisk does not know or care about the phone until it asks to register. 
 Method 2 is "required-registration" where Asterisk expects the phone to be 
there pretty much 24/7 and will attempt to register the phone and verify that 
it is still there at whatever frequency is specified.  I personally record 
method 1 phones in users.conf and method 2 phones in sip.conf.

From: [email protected] 
[mailto:[email protected]] On Behalf Of eherr
Sent: Monday, November 14, 2011 4:19 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] How do extensions "stay registered"

I think the question is more along the lines of how does asterisk know 
immediately when a sip phone becomes on line and when you unplug the phone from 
the network, how does asterisk essentially know immediately that it status is 
"UNKNOWN"

If I am not mistaken.

--E

From: 
[email protected]<mailto:[email protected]>
 
[mailto:[email protected]]<mailto:[mailto:[email protected]]>
 On Behalf Of Danny Nicholas
Sent: Monday, November 14, 2011 5:01 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] How do extensions "stay registered"

"Extensions" do not register - peers do.  A peer can register itself or be 
registered by Asterisk.  In most cases the "extension" is equivalent to the 
"peer" (301 = 301) but it can be quite different (301 = sipuser1) or (301 = 
[email protected]<mailto:[email protected]>).

From: 
[email protected]<mailto:[email protected]>
 
[mailto:[email protected]]<mailto:[mailto:[email protected]]>
 On Behalf Of Douglas Mortensen
Sent: Monday, November 14, 2011 3:52 PM
To: '[email protected]'
Subject: [asterisk-users] How do extensions "stay registered"

I know this is probably a very basic question for many on this list. But in 
troubleshooting an issue, I wanted to take a step back & ask the question. In 
Asterisk (or maybe all SIP), how do extensions stay registered with the SIP 
server?

Do the extensions simply register repeatedly as a means of telling asterisk 
"I'm still here", or are there actual keepalive packets that are transmitted to 
actually keep a TCP session alive? My guess is the former.

But am I oversimplifying it? Is there more to the process?

Thanks,
-
Doug Mortensen
Network Consultant
Impala Networks Inc
CCNA, MCSA, Security+, A+
Linux+, Network+, Server+
.
www.impalanetworks.com<http://www.impalanetworks.com>
P: (505) 327-7300
F: (505) 327-7545
.

--
_____________________________________________________________________
-- 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

Reply via email to