Displaying 20 results from an estimated 50000 matches similar to: "re: switch statement in dialplan"
2005 Jul 02
3
call forwarding, most basic case
hello all,
i need some help and after trying the wiki i'm even more confused than i was.
i'm trying to set up call forwarding and running into problems...
i want the most basic call forwarding imaginable.
1. caller dials extension (say, 154)
2. dialplan is updated to forward caller's extension (based on
CALLERIDNUM) to voicemail, instead of ringing his endpoint.
3. caller is
2003 Oct 17
3
Switch statement taking over my local dialplan
I have two Asterisk servers, one of which uses a
switch statement (Server 2).
On Server 2, the dialplan is as follows:
[provider]
switch...
[default]
include=>provider
exten=>451,1,Dial,Zap/1
...
(No extensions defined for Server 2 are "can_match"
(eg. exten=>_9XX...))
The problem is that when I pick up a phone and dial
451, it searches Server 1 before using the extension
2006 Feb 05
2
re: questions about sip requests to asterisk 1.2
hi all,
I keep asking the question and getting no replies, so i'll keep asking :-)
In asterisk 1.09, with autocreatepeer=yes, if i send asterisk a SIP request
from SER, specifically
rewritehostport("myIP:5070"); (asterisk running on port 5070) asterisk
picks up the request and matches it to the dialplan, i.e. if in ser i was
sending to 151@myServer, it will make it
2004 Jan 29
1
re: help with voicepulse connect IAX2
hello,
after playing with an asterisk configuration for voip for a few weeks i'm
trying to get outbound dialing with voicepulse going - i've cut down the
asterisk to a very minimal install (1 SIP client) to try to localize the
problem. The SIP client works fine (SIP and * on the same NAT) and could
access the demo from samples before i removed it, and can call itself - so
i am
2009 Sep 22
2
Problem with dialplan -> gotoif ?
Hi
This is the output from show dialplan dial-sipmnf-sippt-pstn
[ Context 'dial-sipmnf-sippt-pstn' created by 'pbx_config' ]
's' => 1. Verbose(1,Dialing ${ARG1} on mnf pt pstn) [pbx_config]
2. Dial(SIP/${ARG1}@${SIPMNF},${ARG2},${OUTBDIAL}) [pbx_config]
3. Set(GLOBAL(FOUNDME)=${DIALSTATUS}) [pbx_config]
2009 Sep 23
3
Simple dialplan issue
I have an issue where a particular dialplan works but another doesn't. I'm
not sure why. To me they look identical and it has me stumped.
This works:
[to-test]
exten => _X., 1, SetCallerPres(allowed)
exten => _X., 2, Monitor(wav,/tmp/test-${UNIQUEID},mb)
exten => _X., 3, Ringing
exten => _X., 4, Dial(SIP/9330 at a-test,20,ro)
exten => _X., 5,
2015 Jun 28
2
Asterisk dialplan best practices syntax
2015-06-26 17:11 GMT+02:00 Steve Edwards <asterisk.org at sedwards.com>:
> On Fri, 26 Jun 2015, Ludovic Gasc wrote:
>
> 1. What's the "official" notation of each line: "=>" or "=" ? In the wiki
>> of Asterisk, I see very often "=>", however, what's the reason for both
>> syntaxes authorized ? Historical ?
>>
2009 Mar 13
1
Realtime dialplan application versus REALTIME dialplan function
Hi All,
I'm upgrading some PBX's from 1.2 to 1.4 and having a bit of trouble with
converting the Realtime application to the REALTIME function. I have the
method down and understand simplistically what is going on, at least enough
to get my old 1.2 apps to run in 1.4 functions. I do not understand why
change from the app to the func? What the benefits?
To me, the app seemed so
2015 May 29
2
Debugging dialplan
Please don't top post.
> Am 29. Mai 2015 09:42:55 MESZ, schrieb Luca Bertoncello
> <lucabert at lucabert.de>:
>> Zitat von jg <webaccounts173 at jgoettgens.de>:
>>> Yes, it is called "core set verbose 42", the other options is "core
>>> set debug 42". Enjoy the show!
I know you can specify a level to the verbose application,
2015 Jun 26
0
Asterisk dialplan best practices syntax
On Fri, 26 Jun 2015, Ludovic Gasc wrote:
> 1. What's the "official" notation of each line: "=>" or "=" ? In the
> wiki of Asterisk, I see very often "=>", however, what's the reason for
> both syntaxes authorized ? Historical ?
I'm not 'official,' but I have a strong preference for just '=.' Using
2015 Nov 05
3
How to encode plus sign in REGEX function in dialplan?
Dear all,
I have made a fairly complex dialplan where I am using the REGEX function in many places. This works so far, but I wasn't able to solve the following problem. What I would like to do is the following (please note that this is normal regex syntax and obviously not what the REGEX function expects, but I hope it shows the idea):
same => n(A1), GotoIf($[${REGEX("^\+49.*"
2005 Jul 06
0
re: help debugging dialplan
hello all,
another desperate request for help debugging my dialplan...
from a certain extension i do the following:
DBput(CFIM/${CALLERIDNUM}=${CALLERIDNUM})
a NoOp to the console says
DBput: family=CFIM, key=2122022001, value=2122022001
and database show says
/CFIM/2122022001 : 2122022001
so far, so good.
but in a macro, when i try to get the data,
exten
2011 Oct 05
0
Passive wait in dialplan
Hello, everyone
Here part of my dialplan context
[globals]
CMD_NOOP=0
CMD_DOSTUFF1=1
CMD_DOSTUFF2=2
CMD_DOSTUFF3=2
[blah-context]
same => n,Set(COMMAND=${CMD_NOOP})
same => n,UserEvent(blah-event,CHANNEL:${CHANNEL(name)}
same => n(COMMAND_SWITCH),GoToIf($["${COMMAND}"="${CMD_DOSTUFF1}"]?LBL_DO_STUFF1)
same =>
2006 Oct 26
3
dialplan issue - 1& 0 should be evaluated false
Helo List,
Sorry I missed the rest of my email in my previous post. Please see below.
I'm having an issue using the AND (&) operator evaluation in the code of my
dialplan. The dial plan is coded to detect inbound DTMF digits from callers.
key "1" is equivalent to "yes" and key "2" is equivalent to "no" in two
diferent contexts in the dial plan.
2006 Oct 26
0
dialplan issue - 1& 0 should be false
Helo List,
I'm having an issue using the AND (&) operator in the code of my dialplan.
The dial plan is coded to detect inbound DTMF digits from callers. key "1"
is equivalent to "yes" and key "2" is equivalent to "no" in my dial plan.
When a caller presses 1, yes is passed as a varialble and same when 2 is
pressed a "no" is passed.
2015 Apr 17
0
Why is CDR(recordingfile) not being written to the database despite being set in the dialplan?
I am using Asterisk 11.17.1 with my program that uses AMI Originate calls to generate a bunch of calls for a callcenter. The PBX configuration is handled by FreePBX 2.11. I want to understand the dialplan behavior in order to figure out why the
CDR(recordingfile) is blank on the CDR records despite the dialplan setting it.
My program generates the calls by setting Channel=Local/NUMBERTODIAL at
2005 Jan 18
0
Out of 5 Grandstream BudgeTone 101 THREE are
Ronald,
Grandstream products have a one year warrantee. If you don't have any luck
with Pulver, contact us and we can probably get your phones exchanged.
Please don't assume that your experience with Grandstream is typical. We
sell a lot of these phones and the overwhelming majority of the purchasers
are very happy with their units. The quality has improved tremendously over
the last
2010 Apr 28
2
dialplan
Hi guys:
i need to set an extension in my dialplan?in which?it divert calls if?the extension?contain specific series ,For example?:
I need to divert calls which contain 3333 to specific? extension?(contain ,not start or end with), as i know i should set Gotoif command but i?dont know what to set after that,Any help will be appreciated.???
-------------- next part --------------
An HTML
2014 Sep 07
2
Pattern Extension not working in Dialplan
Hi,
I created a dummy dialplan where I ask the user to enter the age.
[macro-age]
exten => s,1,Background(my/age) ;;Play recorded message to enter age
exten => s,n,WaitExten(10)
exten => _XX,1,Set(AGE=${EXTEN}) ;; this line is not executing, instead
dialplan is terminating with error given below.
exten => s,n,NoOp(${AGE})
exten => s,n,GotoIf($[${LEN(${AGE})} >
2005 Mar 03
2
Re : Calling card platform
We are using a platform from AmarFone Inc. It great full featured ,
everything you want to run a calling card and does not cost your a lot
of money. Their support is awesome. You can contact them at
sales@amarfone.com.
Ehsanul Karim