you should check dialstatus and gotoif. if you use both in the proper
way ( see the wiki) then you have the dialplan behaviour you are
looking for.
erik de wild
Tripple-o
Your Asterisk migration partner
the Netherlands
Verstuurd vanaf mijn iPhone
Op 7 sep 2009 om 21:26 heeft Miguel
Administrator TOOTAI escribió:
Hello,
with Asterisk 1.6.1.6 I try to hangup a call if called extension is not
existing. For this purpose I would use the internal i extension but
seems not to work.
[MyContext]
exten = s,1,NoOp(Call is treated as it should)
exten = s,n,NoOp(next step)
Miguel Molina a écrit :
[...]
The 'i' extension only works in applications like Background(),
WaitExten() and everything that uses DTMF to route extensions within a
context.
Well, from reading voip.org it's not really clear than ...
[...] Because the call is not
accepted there's no need
: [asterisk-users] Invalid Extension
David @ULC schrieb:
vicidialnow*CLI
-- Executing AGI(SIP/66.54.140.46-b7800468,
agi-VDAD_ALL_inbound.agi|CIDL
OOKUPRC-LB-SALESLINE-936998-Closer-park--999-1--
---TESTCAMP) in new stack
Feb 2 14:53:09 NOTICE[18377
David @ULC schrieb:
vicidialnow*CLI
-- Executing AGI(SIP/66.54.140.46-b7800468,
agi-VDAD_ALL_inbound.agi|CIDL
OOKUPRC-LB-SALESLINE-936998-Closer-park--999-1--
---TESTCAMP) in new stack
Feb 2 14:53:09 NOTICE[18377]: chan_local.c:526 local_alloc: No
In the example below if I dial valid extension 1000, the Invalid
context plays pbx-invalid as it is included with _7 context.
Include voicemail in the main context.
___
Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
u can use this:
exten = i,1,Playback(invalid_selection)
exten = i,2,Goto(inbound_menu,_X.,1)
Bruno.
Joseph wrote:
Ho do you folks solve the problem with invalid extension when someone
dials a wrong number?
For example if somebody dial prefix _7 I want to allow tall free
numbers from that
On Wed, 2005-08-03 at 07:52 +0200, Wilson Pickett wrote:
In the example below if I dial valid extension 1000, the Invalid
context plays pbx-invalid as it is included with _7 context.
Include voicemail in the main context.
Thanks, I new it must be something simple.
Simply reposition the
Use Gotoif instead of Goto. Check Gotoif usage.
This will give you enough features to fork the calls after the extension
is re-entered
Seshu
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Adam
Robins
Sent: Thursday, April 14, 2005 3:11 PM
To: Asterisk
Adam Robins wrote:
When an outside callers hits my system, I play them a welcome message
and ask that they enter an extension. If the extension is invalid, it
tells them so, and asks them to try again. The relevant logic for this
is:
[extensions]
exten = _2XXX,Dial(SIP/${EXTEN})
;
exten =
On April 13, 2005 12:35 am, amna saleem wrote:
I was wondering if the i extension works ,i mean i have included
this in my extensions.conf ie
exten = i,1,Answer
exten = i,2,Playback(pbx-invalid)
exten = i,3,Hangup
You've already answered the call; no need to answer again, although it won't
amna saleem wrote:
hi!
I was wondering if the i extension works ,i mean i have included
this in my extensions.conf ie
exten = i,1,Answer
exten = i,2,Playback(pbx-invalid)
exten = i,3,Hangup
but it doesn`t seem to work,i am getting no announcement when i dial
an invalid no. rather i get the invalid
I can dial-in and here the prompt, but whenever I select 101, I get
invalid extension. May I ask, is this the right way of answering
incoming calls?
I had to change all occurance of s to 533990 in order for this to work.
533990 is my FWD #. May I ask how can I genearlize this using s?
I can dial-in and here the prompt, but whenever I select 101, I get
invalid extension. May I ask, is this the right way of answering
incoming calls?
I had to change all occurance of s to 533990 in order for this to work.
533990 is my FWD #. May I ask how can I genearlize this using s?
Regards,
Norman Zhang wrote:
Hi,
I can dial-in and here the prompt, but whenever I select 101, I get
invalid extension. May I ask, is this the right way of answering
incoming calls?
Regards,
Norman Zhang
[inbound-sip]
exten = 533990,1,Answer
exten = s,2,ResponseTimeout(5)
exten = s,3,Background(mymenu)
I can dial-in and here the prompt, but whenever I select 101, I get
invalid extension. May I ask, is this the right way of answering
incoming calls?
[inbound-sip]
exten = 533990,1,Answer
exten = s,2,ResponseTimeout(5)
exten = s,3,Background(mymenu)
Bearing in mind that the extensions are =
Hermann Wecke wrote:
How I can retrieve the original ${EXTEN} value when falling into the
exten = i,1,whatever context??
Try using ${INVALID_EXTEN}
--
Andres
Network Admin
http://www.telesip.net
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
17 matches
Mail list logo