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
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)
exten = s,n,NoOp(aso ...)
exten =
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
CLI Output :
vicidialnow*CLI
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged
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
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 line but not a long distance. However, if somebody
dial
wrong number I want to play invalid extension instead of
I have a Cisco 7960G hooked up to a VPN connection tied into an Asterisk
box The problem I have is after a certain amount of time, when you
try to contact that extension a message comes up I'm sorry, that's an
invalid extension. It works sometimes, and then it stops. I changed
the
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 = i,1,Playback,invalid
Users Mailing List - Non-Commercial Discussion
Subject: [Asterisk-Users] Invalid extension handling
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
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
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 tone (which we
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 tone (which we
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?
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)
exten =
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 =
How I can retrieve the original ${EXTEN} value when falling into the
exten = i,1,whatever context??
I'm trying to implement this extension rule:
exten = i,1,NoOp(${EXTEN})
exten = i,2,Wait(1)
exten = i,3,Playback(vm-extension)
exten = i,4,SayDigits(${EXTEN})
exten = i,5,Playback(is-invalid)
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]
26 matches
Mail list logo