Re: [asterisk-users] fallback to default extension

2012-03-21 Thread Bryant Zimmerman
Minor Correction Hi I've pretty much have it setup properly with the following: exten => _24XX,1,Dial(SIP/${EXTEN},30) exten => _24XX,n,GotoIf($${DIALSTATUS}"="CHANUNAVAIL?noconn:conn) exten => _24XX,n(noconn),GotoIf($["${EXTEN}"="2400"]?conn:force) exten => _24XX,n(force),Dial(SIP/2400) exten =>

Re: [asterisk-users] fallback to default extension

2012-03-21 Thread Bryant Zimmerman
From: "Paolo Supino" Sent: Wednesday, March 21, 2012 3:40 PM To: "Asterisk Users Mailing List - Non-Commercial Discussion" Subject: Re: [asterisk-users] fallback to default extension Hi I've pretty much have it setup pr

Re: [asterisk-users] fallback to default extension

2012-03-21 Thread Paolo Supino
Hi I've pretty much have it setup properly with the following: exten => _24XX,1,Dial(SIP/${EXTEN},30) exten => _24XX,n,GotoIf($${DIALSTATUS}"="CHANUNAVAIL?noconn:conn) exten => _24XX,n(noconn),Dial(SIP/2400) exten => _24XX,n(conn),hangup() The only problem is that if 2400 rejects the call asteris

Re: [asterisk-users] fallback to default extension

2012-03-21 Thread Andrew Latham
On Wed, Mar 21, 2012 at 3:10 PM, Paolo Supino wrote: > H Andrew > > Your solution is the simplest I received and so I tried implementing > it only to discover that it doesn't work as expected... > > > > > > > TIA > Paolo Check your Dial() options... "Verify your options to you dial syntax and a

Re: [asterisk-users] fallback to default extension

2012-03-21 Thread Paolo Supino
H Andrew Your solution is the simplest I received and so I tried implementing it only to discover that it doesn't work as expected... TIA Paolo On Wed, Mar 21, 2012 at 1:36 PM, Andrew Latham wrote: > On Wed, Mar 21, 2012 at 8:27 AM, Paolo Supino wrote: >> Hi >> >>  I was asked by our dev

Re: [asterisk-users] fallback to default extension

2012-03-21 Thread Rennes Neps
- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Phil Frost Sent: Wednesday, March 21, 2012 2:44 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] fallback to default extension On Mar 21

Re: [asterisk-users] fallback to default extension

2012-03-21 Thread Eric Wieling
Of Bryant Zimmerman Sent: Wednesday, March 21, 2012 8:35 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] fallback to default extension Paolo You can use exten -> i This will catch any invalid extensions that are sent into a context. You could than rout

Re: [asterisk-users] fallback to default extension

2012-03-21 Thread Phil Frost
On Mar 21, 2012, at 08:36 , Andrew Latham wrote: > On Wed, Mar 21, 2012 at 8:27 AM, Paolo Supino wrote: >> Hi >> >> I was asked by our development departement to setup asterisk in a >> manner that if someone calls an extension in the department that was >> was only configured, but a handset was

Re: [asterisk-users] fallback to default extension

2012-03-21 Thread Bryant Zimmerman
sterisk-users@lists.digium.com Subject: [asterisk-users] fallback to default extension Hi I was asked by our development departement to setup asterisk in a manner that if someone calls an extension in the department that was was only configured, but a handset was never attached to it to fall back

Re: [asterisk-users] fallback to default extension

2012-03-21 Thread Andrew Latham
On Wed, Mar 21, 2012 at 8:27 AM, Paolo Supino wrote: > Hi > >  I was asked by our development departement to setup asterisk in a > manner that if someone calls an extension in the department that was > was only configured, but a handset was never attached to it to fall > back to a default extensio

[asterisk-users] fallback to default extension

2012-03-21 Thread Paolo Supino
Hi I was asked by our development departement to setup asterisk in a manner that if someone calls an extension in the department that was was only configured, but a handset was never attached to it to fall back to a default extension. For example: Someone calls extension 2408, but there's no phon