Hi all,
I recently added a x100p card to my openser/asterisk system. I finally got the sip router to work thru asterisk calling in/out to the x100p but somehow during setting it all up and getting openser/asterisk to work, i inadvertently lost the ability of making regular calls to the PSTN number of the x100p (all other numbers work fine), whereas this number no longer rings, but only beeps and then hangs up when calling from the console and when calling from a regular phone, i am prompted to enter extensions and then i only hear a busy signal. Is there anyway you can determine from these config files where I fowled up. I know at one time I had my zap/1 context set to incoming but then i had to change it to the default context to make openser happy, so I commented out all of the incoming context dialplans so that openser would be happy.
extensions.conf
general]
static=yes
writeprotect=no
autofallthrough=yes
clearglobalvars=no
priorityjumping=no
OPENSERADDRESS=xx.xx.xx.xx:5060
format=wav
[local]
include=> default
[globals]
CONSOLE=Console/dsp
;IAXINFO=guest
TRUNK=Zap/1
VMMAIN=31XXX
[sipusers]
switch => Realtime/sipusers@extensions ; context defined in extensions.conf and
;customers dial numbers are stored in db
[default]
exten => 31006,1,Dial(SIP/31006@${OPENSERADDRESS},10,r)
exten => 31006,2,Voicemail(31006@default)
exten => 31006,3,Hangup
exten => s,1,Answer()
exten => s,2,Background(enter-ext-of-person)
exten => 1,1,Playback(digits/1)
exten => 1,2,Goto(default,s,1)
exten => 2,1,Playback(digits/2)
exten => 2,2,Goto(default,s,2)
exten => i,1,Playback(pbx-invalid)
exten => i,2,Goto(default,s,1)
exten => t,1,Playback(vm-goodbye)
exten => t,2,Hangup()
exten => _19.,1,Dial(SIP/mydomain.com/${EXTEN},10) ; this one this time, not the one
exten => _1XXXXX,1,Dial(SIP/openser,30,tr) ; test
exten => _1XXXXX,n,MailboxExists(${EXTEN:1})
exten => _1XXXXX,n,Playback(invalid)
exten => _1XXXXX,n,Hangup
exten=> _XXXXX,1,Voicemail(su${EXTEN})
exten=> _XXXXX,2,Hangup
exten => _9.,1,Dial(Zap/1/${EXTEN:1})
exten => _9.,2,Congestion
;exten => _X.,1,Dial(Zap/1/${EXTEN})
;exten => _X.,2,Congestion
exten => _8.,1,Dial(SIP/mydomain.com/${EXTEN},60,t)
exten => _8.,2,Hangup
exten => _91NXXNXXXXXX,1,Dial(Zap/1${EXTEN:1}) ; turned this off not the one
exten => _91NXXNXXXXXX,2,Congestion
exten => _1NXXNXXXXXX,1,dial(ZAP/1/${EXTEN:0})
exten => _1NXXNXXXXXX,2,congestion
zapata.conf
[channels]
language=en
context=default ; directed to extensions.conf incoming context
signalling=fxs_ks
echocancel=yes
channel => 1
zaptel.conf
fxsks=1 #X100P generic card
loadzone=us
defaultzone=us
Any help will be much appreciated.
TIA.