[asterisk-users] setting up phones

Danny Nicholas danny at debsinc.com
Fri Jul 10 08:48:45 CDT 2009


My bad.  Asterisk does not register with the phone.  It can send out SIP
headers to make the phones re-register.

 

  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steve Totaro
Sent: Friday, July 10, 2009 8:45 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] setting up phones

 

Asterisk registers with the phones?

Obviously I have zero experience with these sets, but that is a new one.

Thanks,
Steve

On Fri, Jul 10, 2009 at 9:40 AM, Danny Nicholas <danny at debsinc.com> wrote:

Let's draw this out and let you fill in the blanks.  Your asterisk server
has a name of foobar.com and an ip address of 192.168.23.1.  phone 1 has ip
address of 192.168.23.2.  phone 2 has ip address of 192.168.23.3.

 

Sip.conf should look  this

 

[phone1]

type=peer

context=phones

host=dynamic

fromuser=phone1

secret=secret1

canreinvite=no

directrtpsetup=no

call-limit=3

nat=no

qualify=yes

register=no

session-timers=accept

session-expires=60

session-minse=120

session-refresher=uac

register => phone1:secret1 at foobar.com/phone1

defaultip=192.168.23.2

mailbox=1001

disallow=all

allow=alaw

[phone2]

type=peer

context=phones

host=dynamic

fromuser=phone2

secret=secret2

canreinvite=no

directrtpsetup=no

call-limit=3

nat=no

qualify=yes

register=no

session-timers=accept

session-expires=60

session-minse=120

session-refresher=uac

register => phone2:secret2 at foobar.com/phone2

defaultip=192.168.23.3

mailbox=1002

disallow=all

allow=alaw

 

assuming your phones are set up to contact 192.168.23.1 with username
phone1/phone2 and proper secret, all should register and you should be good
to go.

  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Ott Rose
Sent: Friday, July 10, 2009 8:33 AM


To: asterisk-users at lists.digium.com
Subject: Re: [asterisk-users] setting up phones

 

Here is my physical network.

We have a Adtran router that is plugged into the Asterisk server and into
the circuit provided by my tel co. 

the other nic in the Asterisk box is plugged into your lan switch

the phones are plugged into the lan switch


I can ping the phones from the Asterisk server. 

  _____  

Date: Thu, 9 Jul 2009 17:42:43 -0400
From: stotaro at asteriskhelpdesk.com
To: asterisk-users at lists.digium.com
Subject: Re: [asterisk-users] setting up phones



On Thu, Jul 9, 2009 at 5:12 PM, Ott Rose <sixfourimpala at hotmail.com> wrote:

I followed it the best I could. the phones say no service. I haven't got to
setting up the SIP trunk yet I was told I could get the extensions to work
so I could test between the two phones i have. I have to nics in my server.
one is connect to the phone router the other to a network switch. which ip
should it point to? I am guess the one connected to the switch. That is the
one i can access the GUI from. Below are my users.conf setting. Notice all
the spaces. I didn't put them in there they are like that in the conf


Either you did not explain your network topology very well or that is your
problem.

Unless you are trying to segregate your VoIP traffic, plug everything into
the switch.

If using DHCP, get the IP and try pinging the phones from the Asterisk box.

I bet it is just a network issue. 


-- 
Thanks,
Steve Totaro 
+18887771888 (Toll Free)
+12409381212 (Cell)
+12024369784 (Skype)

  _____  

Windows LiveT: Keep your life in sync. Check it out.
<http://windowslive.com/explore?ocid=TXT_TAGLM_WL_BR_life_in_synch_062009> 


_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

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




-- 
Thanks,
Steve Totaro 
+18887771888 (Toll Free)
+12409381212 (Cell)
+12024369784 (Skype)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090710/9a4b16ff/attachment-0001.htm 


More information about the asterisk-users mailing list