Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Extension Auto Fall through help when matching fails.


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
ritchiem at apache.org
Guest





PostPosted: Tue May 13, 2008 6:55 am    Post subject: [asterisk-users] Extension Auto Fall through help when match Reply with quote

Hi,

I'm having a little difficulty with my extensions setup.

What I'm trying to do is to have a PBX where I can call in to check
mail and call-out using the attached mobile or SIP phones.
If someone I know calls then they can be forwarded to me.
if it is someone I don't know then just ring the local sip numbers and
go to voicemail.

So what I did was something like the following. Note I just wrote this
from memory as I don't have remote access to my machines from work. So
apologies if the Goto grammar is not quite accurate.

The problem that I am facing is that when the callerid works (X100P in
UK / BT with patches) then it jumps to the owners and goes in to DISA.
Although I may have echo issues as any button presses don't seem to be
recognised by DISA(That is a different problem).
If the callerid fails or I withhold my number I would expect it to
drop down to s,n,Goto(call-house,1) but I get an Auto fall through
message and it just rings out.

What have I got wrong? I just want an easy way to match two sets of
numbers 'owners' and 'friends' all other callers should hit the last
'call-house' jump.

TIA

Martin

[globals]
house-numbers=SIP/office&SIP/lounge
my-mobile-number=07123456789

[default]
exten => s,1,Verbose("Incoming call ${CALLERID(num)}")

exten => s/${my-mobile-number},n, Goto(owners,1)

; if anyone has an easier way than copying this line for all my
friends numbers then that would be great!
exten => s/$(friends-number),n,Goto(call-me,1)

exten => s,n,Goto(call-house,1)
exten => owners,1,DISA(no-password)
exten => owners,n,Hangup


exten => call-me,1,Dial(${house-numbers}&Mobile/3230/${my-mobile-number})
exten => call-me,n,Hangup

exten => call-house,1,Dial(${house-numbers})
exten => call-house,n,Hangup

--
Martin Ritchie
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services