[Asterisk-Users] Help with initial setup

matthew at burtonhosting.com matthew at burtonhosting.com
Sun May 9 15:51:15 MST 2004


Hi,

I've have followed through the help docs in trying to get an initial setup
going with two phones and the asterisk server.  Firstly, all I'm trying to
do is get the two phones actually talking to one another VIA asterisk..

I've added this to sip.conf:

[phone1]
type=friend
host=dynamic
defaultip=192.168.1.106
;username=blah
;secret=blah
dtmfmode=rfc2833 ; Choices are inband, rfc2833, or info
mailbox=1000 ; Mailbox for message waiting indicator
context=sip
callerid="Me" <2124>
 
[phone2]
type=friend
;secret=blah
host=dynamic
defaultip=192.168.1.107
dtmfmode=rfc2833 ; Choices are inband, rfc2833, or info
mailbox=1000 ; Mailbox for message waiting indicator
context=sip
callerid="Mini Me" <2123>

And in extensions.conf at the very end:

[sip]
exten => 1,1,Dial(SIP/phone1,20,tr)
exten => 2,1,Dial(SIP/phone2,20,tr)
exten => 1000,1,Dial(SIP/phone1&SIP/phone2,20,tr)

These are budgetone 102's, so I've then proceeded to their admin interface,
and told them that the sip server is: "192.168.1.13".  For phone1, all I've
set is the sip id/username as "phone1" and likewise for "phone2" on phone
number two.  Rebooted.. But I do not seem to be able to get them to talk to
asterisk.

When issuing a "sip show peers" in asterisk, it displays:

Name/username    Host                 Mask             Port     Status    
phone2/phone2    192.168.1.107   (D)  255.255.255.255  5060     Unmonitored
phone1           (Unspecified)   (D)  255.255.255.255  0        Unmonitored

And when a sip show registry is issued, nothing seems to be connected:

Host                  Username     Refresh State 

Could there be something I'm missing in order to get the very basic working
and then expand on that?

Thanks in advance.

Matthew




More information about the asterisk-users mailing list