I keep getting the error extention not found although it is actualy in my extentsions.conf file. Here are my sip and extension.conf files… Any help is appreciated
[general]
;register picocell
[sip-trunk-pmn]
type=peer
host=192.168.2.1
allow=gsm
canreinvite=no
context=phones
;register server 2
[SRV2]
type=friend
secret=welcome
context=SRV2_incoming
host=192.168.0.81
;host=192.168.137.2
disallow=all
allow=ulaw
;register server 1
[SRV1]
type=friend
secret=welcome
context=SRV1_incoming
host=192.168.0.80
;host=192.168.137.1
disallow=all
allow=ulaw
;register 1001
[1001]
type=friend
username=1001
context=accounting_master
host=dynamic
;register 1002
[1002]
type=friend
username=1002
context=accounting_master
host=dynamic
;register 1003
[1003]
type=friend
username=1003
context=accounting_master
host=dynamic
;register 1101
[1101]
type=friend
username=1101
context=administration_master
host=dynamic
;register 1201
[1201]
type=friend
username=1201
context=engineering_master
host=dynamic
;mimic outside line
[9999]
type=friend
username=9999
context=outside
host=dynamic
[globals]
[general]
autofallthrough=yes
[default]
[voicemail]
;voicemail number
exten => 901,1,VoiceMailMain()
[picocell]
;strips first 3 digits for picocell
exten => _137.,1,set(callerid(num)=137${callerid(num)})
exten => _137.,2,dial(SIP/sip-trunk-pmn/${EXTEN:3},20,rt)
[autoattendant]
;auto attendant
;press number for * menu
exten => 5555,1,Dial(SIP/5555,0,r) ;ring for 15 seconds
exten => 5555,2,GoTo(phones,s,1); go to if phone isnt answered
exten => s,1,Background(press-1&for&accounting)
exten => s,2,Background(press-2&for&administration)
exten => s,3,Background(press-3&for&engineering)
exten => s,4,Background(press-4&for&conference&room&6&0&0)
;playback the above soundfile
exten => s,n,WaitExten(5)
; wait 5 secs for a response
exten => 1,1,Playback(digits/1)
; playback the soundfile of the digit entered
exten => 1,n,Goto(phones,1001,1)
exten => 2,1,Playback(digits/2)
exten => 2,n,Goto(phones,1101,1)
exten => 3,1,Playback(digits/3)
exten => 3,n,Goto(phones,1201,1)
exten => 4,1,Playback(digits/4)
exten => 4,n,Goto(phones,600,1)
exten => i,1,Playback(pbx-invalid)
exten => i,n,Goto(phones,234,1)
exten => t,1,Playback(vm-goodbye)
exten => t,n,Hangup()
[accounting_MASTER]
include => accounting
include => administration
include => engineering
include => remote
include => autoattendant
include => voicemail
include => picocell
[administration_MASTER]
include => accounting
include => administration
include => engineering
include => remote
include => autoattendant
include => voicemail
include => picocell
[engineering_MASTER]
include => accounting
include => administration
include => engineering
include => remote
include => autoattendant
include => voicemail
include => picocell
[accounting]
;phone numbers with voicemail inbox
exten => 1001,1,Verbose(someone is calling 1001)
exten => 1001,n,dial(SIP/1001, 30)
exten => 1001,n,voicemail(1001@default)
exten => 1001,n,hangup
exten => 1002,1,Verbose(someone is calling 1002)
exten => 1002,n,dial(SIP/1002,30)
exten => 1002,n,voicemail(1002@default)
exten => 1002,n,hangup
exten => 1003,1,Verbose(someone is calling 1003)
exten => 1003,n,dial(SIP/1003,30)
exten => 1003,n,voicemail(1003@default)
exten => 1003,n,hangup
[administration]
exten => 1101,1,Verbose(someone is calling 1101)
exten => 1101,n,dial(SIP/1101,30)
exten => 1101,n,voicemail(1101@default)
exten => 1101,n,hangup
[engineering]
exten => 1201,1,Verbose(someone is calling 1201)
exten => 1201,n,dial(SIP/1201,30)
exten => 1201,n,voicemail(1201@default)
exten => 1201,n,hangup
;IAX number
exten => 1004,1,Verbose(someone is calling 1004)
exten => 1004,n,dial(IAX2/1004,30)
exten => 1004,n,voicemail(1004@default)
exten => 1004,n,hangup
;ipaq number
exten => _4034,1,Verbose(someone is calling 4034)
exten => _4034,n,dial(SIP/4034,30)
exten => _4034,n,voicemail(4034@default)
exten => _4034,n,hangup
;conference calls
exten => 600,1,MeetMe(600,i,54321)
;room count
exten => 601,1,Playback(conf-thereare)
exten => 601,n,MeetMeCount(600)
exten => 601,n,Playback(conf-peopleinconf)
; limit the conference room to 10 participants
exten => 600,1,MeetMeCount(600,CONFCOUNT)
exten => 600,n,GotoIf($[${CONFCOUNT} <= 10]?meetme:conf_full,1)
exten => 600,n(meetme),MeetMe(600,i,54321)
exten => conf_full,1,Playback(conf-full)
;tells server where to find the extensions
[internal]
exten => _1XXX,1,Verbose(someone is calling 1001)
exten => _1XXX,n,dial(SIP/${EXTEN},30)
exten => _1XXX,n,hangup
;tells server where to find the extensions
[remote]
exten => _2XXX,1,Verbose(someone is calling 2001)
exten => _2XXX,n,dial(SIP/SRV2/${EXTEN})
exten => _2XXX,n,hangup
[SRV2_incoming]
include=> internal
[SRV1_incoming]
include=> internal