I’m setting up a test server with two SIP phones and an asterisk box. So far I installed CentOS 5, asterisk 1.4.22, libpri-1.4.8 and zaptel-1.2.27
I installed everything using the instructions from the asterisk book and had no errors.
I set up my extensions.conf, sip.conf, voicemail.conf, which I will post below.
The problem is that I can’t call from one phone to the other or dial into voicemail. The display on the phones say “Bad Address” regardless of what number I dial.
Here are my .conf files
Extensions.conf
[globals]
[general]
autofallthrough=yes
[default]
exten => s,1,Verbose(1|Unrouted call handler)
exten => s,n,Answer()
exten => s,n,Wait(1)
exten => s,n,Playback(tt-weasels)
exten => s,n,Hangup()
[incoming_calls]
[internal]
exten => 500,1,Verbose(1|Echo test application)
exten => 500,n,Echo()
exten => 500,n,Hangup()
include => internal
[phones]
include => internal
exten => 300,1,Dial(SIP/300,20)
exten => 300,2,VoiceMail(300,u)
exten => 301,1,Dial(SIP/301,20)
exten => 301,2,VoiceMail(300,u)
exten => 2999,1,VoiceMailMain(${CALLERID(num)},s)
sip.conf
[general]
[300]
type=friend
context=phones
host=192.168.1.2
secret=******
[301]
type=friend
context=phones
host=192.168.1.3
secret=******
So if anyone can tell me why my phones can’t make a test call to each other please let me know.