Displaying 20 results from an estimated 20000 matches similar to: "Create virtual extension"
2012 Apr 05
3
Dial Plan - Routing via Caller ID
I am running Asterisk 1.8.10.1.
I am trying to set up some routing in my dial plans and having some issues
(the issue being that I don't quite understand all of the syntax and
patterns that can be used:
Examples:
DID1 = 6140000000
DID2 = 6140000001
CNAME1 = 6149999999
CNAME2 = 6149999998
CNAME3 = 6149999997
context1
context2
context3
I have looked at several examples (patterns) and I
2006 Feb 01
1
Digit timeouts vs includes in diaplan
Hi,
I have a little situation with my dialplan, and I am wondering if what I
want is even possible.
Here it is: I have three contexts, context1 includes contexts2, and context2
includes context3. In other words, in context1 all extensions of context2
and context3 are valid (and actually working, so that's good). I am using
those context for the sake of code clarity and reuse, and for
2017 Aug 15
2
transfer type to 'local' context
Hi all,
is there an easy way to get a 'copy' of a type living in another context
into the local context?
Background:
when calling a function residing in a different module (context2) from a
module (context1), we first need to introduce a function declaration of
the function with empty body.
However, in order to do so, we need the function type.
pFuncInContext2->getType gives us the
2006 Aug 08
1
Named routes and url generation?
Hi all
In my application I''ve some named routes defined this way...
map.label_context1 '':context1/label'', :controller => ''mycontroller''
map.label_context2 '':context1/:context2/label'', :controller => ''mycontroller''
map.label_context3 '':context1/:context2/:context3/label'', :controller
=>
2013 Oct 16
1
Use Asterisk Realtime Extensions with Switch-statement and include-statement
Hello,
Is it possible to use the switch => statement in extensions.conf
(http://www.voip-info.org/wiki/view/Asterisk+RealTime+Extensions) to
point to a database and in the database use the include-statement ?
In extconfig.conf I would have :
extensions => mysql,asterisk,extensions_table
In extensions.conf I would then have :
[includecontext]
switch => Realtime/includecontext at
2006 Feb 21
5
Voicemail 0 for operator call routing
Does anyone know of a way to specify what extension is dialed when 0 is
pressed in the voicemail system. I have a situation where there is more
than one secretary and they want the 0 to redirect to the appropriate
secretary for the two groups of people.
So an example would be:
555-1234 -> voicemail -> Secretary 1
555-1235 -> voicemail -> Secretary 2
Any help would be greatly
2008 Oct 21
2
[help] Realtime Swich any context dinamically
when i wnat to working with realtime and mysql
for any context i have to insert (switch => Realtiem/context at extensions) statment into extensions.conf
for example if i want to have 10 context, i have to insert these lines into extension.conf :
[context1]
switch => Realtiem/context1 at extensions
[context2]
switch => Realtiem/context2 at extensions
[context3]
switch =>
2010 Jul 28
2
IAX authentication oddity - Known issue? Fixed?
Hi,
I had the following odd behaviour in Asterisk 1.2 - We are migrating
to 1.6, and I will re-test ASAP, though it is quite hard to replicate,
but I am curious to know whether it is a known IAX issue in 1.2.
We had 2 users in iax.conf:
[user1]
username=user1
secret=secret1
context=context1
host=iax.hostname.com
[user2]
username=user2
secret=
context=context2
host=dynamic
deny=0.0.0.0/0.0.0.0
2011 Mar 15
1
Passing an argument to a macro within an Originate command
Hi,
With Asterisk 1.8.3, I can't figure out how to pass an argument to a macro
which is used within an originate command.
Here is my sample dialplan to illustrate:
exten => 123,1,Answer()
exten => 123,n,Originate(SIP/20,app,Macro,foo,bar)
exten => 123,n,NoOp(This is the NoOp after the originate command)
exten => 123,n,Wait(30)
exten => 123,n,Hangup()
[macro-foo]
exten =>
2004 Aug 30
1
IAX.conf problem (NEWBIE ALERT!)
I have several of incoming numbers on IAX from voiptalk and magrathea
but have a problem with IAX.conf. If I follow the example from voiptalk
[VoIPTalk Incoming Number]
type=friend
username=VoIPTalk Incoming Number
context=[XXXXXXXX]
and make incoming entries in IAX.conf for the numbers like below with a
different entry for each number pointing to a different context,
incoming numbers always
2009 Dec 15
1
cdr question
Hello,
I'm using Asterisk 1.6.X version and I'm creating IVR. My question : is it
possible create CDR record , before client is exiting from contexts ? My
test dialplan is:
context Sales {
_X. => {
Ringing();
Wait(4);
Answer();
Playback(tt-monkeys);
goto Techs|${EXTEN}|1;
}
}
context Techs {
_X. => {
Playback(tt-monkeys);
Playback(tt-monkeys);
goto
2007 Jun 19
3
Ex-Girlfriend Logic in 1.4.4
I have this in my dialplan...
[general]
static=yes
writeprotect=no
clearglobalvars=no
[start]
exten => 5000,1,Answer
exten => 5000,n,Wait(1)
exten => 5000,n,NoOp(${CALLERID(num)})
exten => 5000,n,Playback(tt-monkeys)
which, when I dial 5000, executes this...
== Parsing '/etc/asterisk/sip_notify.conf': Found
-- Executing [5000 at start:1]
2006 Apr 01
2
Newbie question - sip.conf incoming contexts
Hello!
I've been struggling with the documentation for months on this simple
subject...
I still have not been able to get this concept down...
I have 3 sip accounts (PSTN DID's) that come into my asterisk box
and give me phone service from my itsp via SIP.
I for the life of me have not been able to figure out how to get them to
come in to 3 seperate contexts!
This must be simple but I
2007 Apr 19
2
extensions.conf #include behaviour
Greetings list,
A quick question regarding extensions.conf #include behaviour if I may. I'm sure someone will know the answer off the top of their head...
How does asterisk handle "overloading" of contexts. For example, say an extension exists in extensions.conf as follows:
[incoming]
<some stuff>
Then one includes a, b and c.conf, each of which also contains:
[incoming]
2008 Jul 03
2
Asterisk VXML... Help.
So, I'm trying to get the Asterisk vxml (from i6net) working.
Having no luck with it.
My dial plan has:
exten => _X.,1,Answer()
exten => _X.,n,Wait(1)
exten => _X.,n,Vxml(file:///tmp/menu.vxml)
The /tmp/menu.vxml file has:
<?xml version="1.0"?>
<vxml version="1.0">
<form>
<block><audio
2007 Dec 03
4
Soundcard necessary on an asterisk server to get output of playback()??
Hi,
I' still fighting the problem, that I can talk from one SIP phone to
another, but I can't hear the output of the playback or similar
applications:
exten => 202,1,ANSWER()
exten => 202,2,PLAYBACK(tt-monkeys)
exten => 202,3,HANGUP()
When I dial 202, asterisk show the following on the cli:
-- Executing [202 at local:1]
2019 Apr 19
2
Forking AGI or GoSub
In PHP something like:
$pid = pcntl_fork();
if ($pid != 0) {
// we are the parent
// do parent stuff
exit;
}
// we are the child, detatch from terminal
$sid = posix_setsid();
if ($sid < 0) {
die;
}
// do child stuff
On 04/19/2019 02:00 PM, Mark Wiater wrote:
> On 4/19/2019 1:49 PM, Dovid Bender wrote:
>> Mark,
>>
>> I am using PHP agi and when forking
2005 Oct 14
1
Access to trunks
Are there any configuration options to allow certain sip/iax accounts
to dial out over specific trunks, and also to stop them dialing out over
other trunks.
Thanks in advance
Bails
2006 Oct 10
10
Voicemail Press '0'
Crikey. I can't get this to work!
Allegedly, you can press 0 while in the voicemail greeting and be dropped to the 'o' extension. For some reason, I can't get it to work. The 'docs' aren't clear about what context the o extension should be in. The voip wiki says
"the context for the voicemail box that we're looking for in the dialplan for the jump to the
2011 Mar 04
3
Gosub and 'h' (again?)
Problem as follows:
[default]
exten => 777,1,Gosub(sub,1,1)
exten => 777,n,Hangup()
exten => h,1,NoOp(hung up in 'default' context)
[sub]
exten => 1,1,NoOp(in sub)
exten => 1,n,Playback(tt-monkeys)
exten => 1,n,Return()
exten => h,1,NoOp(hung up in 'sub' context)
This works fine if the caller listens to all the 'tt-monkeys' and let's
the system