Displaying 20 results from an estimated 9000 matches similar to: "A Leg Control on Asterisk Callback"
2007 Oct 31
4
AEL2 and Callbacks
I am originating a command via the AMI with this...
Action: Login
Username: xxx
Secret: yyy
ACTION: Originate
Async: yes
Timeout: 60000
Exten: callback
Channel: Local/6505551212 at LegA
Callerid: 849120
Context: default
ActionID: 849120
My LegA context:
-----------------------
context LegA {
_X. => {
Dial(SIP/${EXTEN}@Provider);
}
}
And my default context:
2007 Oct 24
1
AMI ActionID.... Doesn't work
Is it well known that setting the ActionID when connecting to AMI has absolutely no effect?
Is this fixed in Asterisk 1.4?
If you add an ActionID to your Originate command for example, it looks like the only events that come back with an ActionID associated are the initial response, OriginateSuccess and OriginateFailure. That's it. No other events have an ActionID associated. This pretty much
2008 Jan 08
2
Simultaneous Callback?!
We're doing callback here. Asterisk dials a number, waits for an answer, plays a prompt, dials a second number, and bridges the channels together.
Calls are initiated from the AMI.
No problems there. Easy stuff.
However, I'd like to know if it's possible to have Asterisk dial the same two numbers simultaneously, play the prompt to the first one that answers, dial the second one and
2006 Dec 19
26
Match a Numer - then continue with dialplan
Anyone know if there's a way to match a dialplan extension, execute some code, say set a variable, and then continue with the dialplan?
I want to set a variable when the dialplan flows beyond a certain context. This would be a great feature.
Doug.
2006 Mar 14
7
Realtime Extensions
Does anyone know if realtime extensions allows extensions in the format callerid/extension yet? ie the extensions.conf file allows you to do:
5551212/1000 => exten ...
and it matches against extension 1000 when the caller id is 5551212. Last time I checked, realtime didn't support this yet.
That's a show stopper for us.
-------------- next part --------------
An HTML
2006 Apr 07
2
DIALSTATUS for Multiple Dialled Numbers
Folks,
When I have a dial string like this:
Dial(SIP/3254101&SIP/3254102,20,tr)
and I want to check the ${DIALSTATUS} variable after the dial, how do I know which number I am getting the variable for?
And, what about this?
Dial(SIP/3254101&SIP/3254102@proxy1,20,tr)
What happens in that case? How can I get the ${DIALSTATUS} variable for EACH NUMBER dialled?
Thanks,
Doug.
2006 Mar 21
5
Programming the Manager API
I just started poking around with writing a python module to interface to the Manager API, and it suddenly hit me... how the heck are you supposed to program this thing?
All the events seem to be dumped to all the open connections. If I send a command, such as a login, there seems to me to be no way to determine which response are intended for me, and which may be intended for another open
2008 Feb 07
5
Two Leg CDR
Hi all,
i am wondering if i can make two leg cdr in mysql cdr table.
1st Leg : Registrar the ATA which registered to the asterisk and it normally logging in cdr table.
2nd Leg : The CDR of carrier for the example if i send call like
exten => _x.,1,Dial(SIP/${EXTEN}@AT&TIP)
I this cause i can get the accrue duration of call because currently we are facing some call missing not coming
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
2005 Sep 13
2
actionID on manager events
Hello, all!
I'm looking at the wiki page and info on the mailing list and I'm getting
conflicting info...
I am using the manager API from the telnet CLI and I am testing creating calls
with it. I login with events: on and I can originate calls just fine.
However, when I set ActionID on an Originate, I cannot see anywhere where that
actionid carries into the Event output.
But I found
2006 Feb 27
3
Matching '*'
I'm trying to find a way in extensions.conf to match ANYTHING dialled, including characters such as *.
The following works for numbers...
exten => _X.,1,AGI(script)
but doesn't catch when someone dialls * first. I tried this:
exten => _.,1,AGI(script)
which catches when someone dials say, *123 for example, but after the AGI script terminates, Asterisk executes it again with
2005 Jan 25
1
Re: I think your problem has to do with how you set the variable.
No Jeremy, excuse me, the error was in my email. The correct command is
/bin/echo "Channel: Local/$1@chiamamezzi-dialout";\
/bin/echo "Variable:
callid=123456|number=$1|url=pippo|menuid=FOP|redirectnum=0554202880";\
/bin/echo "Context: chiamamezzi-Wave";\
/bin/echo "Exten: s";\
/bin/echo "Priority: 1";\
/bin/echo "Callerid: Asterisk Automatic
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
2007 Sep 21
0
Confused about Asterisk 1.4 RTPQOS...
I'm confused about something....
In Asterisk 1.4 you can collect RTP QoS metrics at the end of a call with:
${CHANNEL(rtpqos,audio,all)}
Now, when your using the AMI to do a callout, like this...
ACTION: Originate
Async: yes
Timeout: 60000
Exten: callback
Channel: SIP/1000
Variable: callid=849120
Variable: destination=SIP/1001
Variable: timeout=70000
Variable: timeout_warning=60000
2011 Dec 15
3
Play audio file for both Caller and Callee in a call
Dear all,
Anyone of you knows how to play an audio file at the beginning of a call for both Caller and Callee?
A(x) of Dial application only plays audio for callee. I don't want to use MeetMe because I want to use Monitor and MixMonitor.
Thank you!
________________________________
Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra pol?tica de env?o y recepci?n
2006 Jan 13
3
FastAGI Command Execution
I've noticed that with FastAGI (and maybe AGI) that when you sequentially send a sequence of dial commands, if the call is picked up, that after the call ends, the Fast AGI script keeps executing the commands!
Is there anyway to stop execution once a call is picked up? I think looking at the result codes after the Dial to determine if the call was picked up or not is not a good idea... if it
2006 Mar 03
1
Call Transfer - "Both legs must reside on Asterisk box to transfer at this time"
I have a SIP user, 2944093 that dialled 3254102. I'm trying to transfer the call from 3254102 to 3254104. When I try and transfer the call, I get the following on the Asterisk console.
Mar 3 15:14:18 NOTICE[23124]: chan_sip.c:6731 get_refer_info: Supervised transfer requested, but unable to find callid '16749440-c28be02e-64b73be7@172.31.16.67'. Both legs must reside on Asterisk box
2007 Jan 03
3
Asterisk Core Dump in app_queue - Anyone seen?
Anyone seen this? It ocurred on a 'reload app_queue.so' command.
Asterisk version is 1.2.9.1.
Tried again, but it was not immediately reproducable.
Doug.
(gdb) bt
#0 reload_queues () at app_queue.c:3339
#1 0xb778a7a8 in reload () at app_queue.c:4012
#2 0x0805bb44 in ast_module_reload (name=0x8137cc7 "app_queue.so") at loader.c:257
#3 0x08092b3f in handle_reload (fd=33,
2005 Mar 02
3
Asterisk Manager API - multi "Originate" cal ls
Hello,
You can do either, you can send multiple Originate actions in a long line
without waiting for a response back(although the responses do usually come
back very fast) or you can open multiple connections using each one to
Originate a new call. We use the multiple connection method in the
astGUIclient suite because if you get a pause or lag in Manager output on a
single connection(which does
2005 Sep 15
1
Originate not understanding 2 vars in setvars
Hi,
I'm currently trying to originate a call with 2 variables set. I tried
doing it via manager API and call File and both failed, because the vars
were not separated. I'm using Asterisk 1.2_beta1 on this machine
Can anyone here verify wether this is a bug or just a stupid error on my
part?
This is the callfile I tried to use, after the manager way failed:
Channel: