I have been at this for over a week now and if someone could help me it would be unbelievable… I just setup a new server with Redhat Linux and I downloaded and installed Asterisk on it. Everything seems to have downloaded and installed correctly. I am tring to ge two internal phones on the same network to talk to each other thru this utility. The IP’s and names of the phones are [phone1 = 18.7.10.107 and phone2 = 18.7.10.108] and they are static. The IP of the server is 18.7.10.106. I edited the two config files with the info below and when I do a ‘sip show peers’ i just get a screen that doesn’t recognize the hosts for phone1 and phone2… what am i doing wrong??
sip.conf:
general]
bindport=5060
bindaddr=0.0.0.0
context=sip ;default
register => matt@playpen.mit.edu/1000
[playpen.mit.edu]
type=peer
host=18.7.10.106
fromuser=matt
secret=*********
fromdomain=playpen.mit.edu
[phone1]
type=friend
host=dynamic
defaultip=18.7.10.107
dtmfmode=rfc2833
mailbox=1000
context=sip
collerid=“Phone 1” <2124>
[phone2]
type=friend
host=dynamic
defaultip=18.7.10.108
dtmfmode=rfc2833
mailbox=1000
context=sip
callerid=“Phone 2” <2123>
extensions.conf:
[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)
Thank you so much if anyone has any ideas…