Displaying 6 results from an estimated 6 matches for "autohangup".
2007 Feb 05
1
Sending sound to an open channel....
Hi Folks,
I dont know how exactly to start... so im going to (what i think is) the
point...
In a dialplan, after i set an autohangup (with AGI) , how could i send a
sound (stream a sound ) into an open channel at X seconds before the
autohangup time get to 0 for that channel?
(Like public phones, that gives u a 'beep!!!' before ur time runs out,
just like that...)
Thank you very much,
PS
Just an idea, a 'clue...
2018 Oct 08
3
Non-matching linkedid on CDR Records [SEC=UNCLASSIFIED]
Hi all,
Just thought I'd update this thread in case anyone else is Googling trying to find out how to do this...
I found the solution to my problem to be to use the IAXVAR() function to pass the accountcode between the Asterisk boxen and update the CHANNEL(accountcode) with that variable.
Thanks to Richard @ Digium for the reply that clarified my misunderstanding.
Calum
On Wed, 2018-10-03
2006 Apr 04
0
Dial(L(x...)) distinct to SET TIMEOUT(absolute)
...a
time limit on their call, determined by the user's credit. The time
limit may be extended by the provision of more credit.
It is desirable to use the L flag of the Dial() application, as it gives
the user audible feedback.
I was hoping to be able to modify this limit with the AGI command SET
AUTOHANGUP, or the inbuilt SET(TIMEOUT(absolute)) function.
I have found that with both of these methods, I can /shorten/ a call.
However, if I specify a value greater than the duration given to
Dial(,,,L()), the Dial() duration still applies.
It would appear as though the Dial() and the AUTOHANGUP (or
TIMEO...
2003 Nov 23
2
agi exec problem.
hi folks.
(apologies in advance if this is a particularly stupid question)
just getting my feet wet with asterisk / agi, and am a little stuck using
EXEC. it works fine for applicaitons that take simple arguments, but
chokes on applications that require multiple words as arguments.
for example, this works fine:
EXEC Playback(demo-congrats)
but this doesn't:
EXEC add extension
2013 Jan 10
1
Segmentation fault after upgrading from asterisk-10.5.0 to asterisk-11.1.2
...39;say phonetic' registered
== AGI Command 'say date' registered
== AGI Command 'say time' registered
== AGI Command 'say datetime' registered
== AGI Command 'send image' registered
== AGI Command 'send text' registered
== AGI Command 'set autohangup' registered
== AGI Command 'set callerid' registered
== AGI Command 'set context' registered
== AGI Command 'set extension' registered
Segmentation fault
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pip...
2010 Jun 05
5
Controlling calls
Hello folks,
I want to write an AGI script doing this:
1-user call a number.
2-asterisk call the agi script
3-the script dial the peer
4-if the call is answered, let the call up for 1min
5-then the script hangs up the channel.
I tried either in php or in java but no success.
In java i did this:
//////////////
exec("Dial", "IAX2/400");
boolean t=true;
while(t){