similar to: Action after _caller_ has hungup(cmd Dial 'g'-option)

Displaying 20 results from an estimated 600 matches similar to: "Action after _caller_ has hungup(cmd Dial 'g'-option)"

2006 Mar 20
4
simple perl-agi - where's the error?
Hello! I'm trying to setup a perl-deadagi, but my perl skills lack. can someone tell me why the following code doesn't work: #!/usr/bin/perl use Asterisk::AGI; $AGI = new Asterisk::AGI; $dialstring = $AGI->get_variable("DIALSTRING"); $res = $AGI->exec("DIAL $dialstring"); the asterisk output says: AGI Rx << GET VARIABLE DIALSTRING AGI Tx >> 200
2008 Jan 08
4
Bugs??
Good Day All, I am facing a serious problem since I started to use asterisk. I don?t know if it is a bug or some one already solved this. Currently I am running 120 VoIP SIP channels on my asterisk server but each day 2, 3 calls got hanged in asterisk, and on asterisk CLI ?show channels? showing us as call UP but in real there is no call. When asterisk restarted the hanged calls removed from
2003 Aug 21
7
AGI Channel Status
I'm having some trouble getting the channel status with an AGI script. #!/usr/bin/perl use Asterisk::AGI; $AGI = new Asterisk::AGI; my %input = $AGI->ReadParse(); $AGI->channel_status('Zap/1-1'); I am now stuck, and don't know how to get the return codes: -1 There is no channel that matches the given <channelname> 0 Channel is down and available 1 Channel
2008 Mar 11
2
AGI - calling functions, CHANNEL STATUS broken?
Greetings, I am writing an AGI script that needs to check on the idle/busy status of a number of SIP peers (mostly SPA9xx phones, with a few Polycoms and Snoms thrown in for fun). Is it possible to call Asterisk functions (e.g. SIPPEER) from AGI scripts? Based on my Googling, I would guess in the negative. I have tried various permutations of Set() and Eval() without success. I have also
2003 Oct 13
1
AGI solution to Grandstream BT102 call waiting problem
I'm trying to fix a problem with the GrandStream Budgetone 102. I've been reading the source code, mailing lists and other resources. Here's the scenario and the approach I have been pursuing. I'm having some problems with the AGI calls and I hope someone can give me some clarification. PSTN <---> T1,PRI * <---> Grandstream BT 102 (12)
2005 May 25
15
PHP/AGI Problem
Hi I am currently developing a IVR application using PHP/AGI. I am using the PHPAGI class at http://phpagi.sourceforge.net/ to handle the commuication with my *. The application basically asks a caller to enter in some information which is then processed and a answer is read back out to them. I want the application to loop back to the beginning after giving the answer so they can try another
2007 Jun 04
2
Get calling channel before pickup
Hi, Is it possible to get the remote channelname that will be bridged when the call is answered, only having the channel that is in the Ring(ing) state? As far as I can see no variable seems to fit when doing the show channel command. I want to be able to redirect/manipulate an incoming call before it gets answered/bridged, but to do that I have to now which channel to use. Is there a way?
2009 Nov 10
2
Hangup
Hi, is it possible to hangup a channel from another channel? I want to finish a call from another channel, but if I put exten => h,n,HangUp(channelname) it doesn't hangup... Is that correct? Thanks, _________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL:
2008 Feb 04
8
AGI: Not getting answers from get_data in a call-file call
I have the following situation: I drop a call-file into the Asterisk spool directory and I get called back. That all works. And I have this script: #!/usr/bin/perl -w use Asterisk::AGI; my $AGI = new Asterisk::AGI; my %input = $AGI->ReadParse(); $AGI->answer(); my $i; $i = $AGI->channel_status(); $AGI->say_digits($i); $i =
2007 Jan 31
1
how to get the status of failed call files
i am creating call files, and catching successfully the ones that don't connect in a 'failed' extension. can anyone tell me how to find out the reason for the failure (ie busy, no answer). ${DIALSTATUS} doesn't appear to get set (presumably because Dial() isn't used) and channel_status doesn't seem to be any good. thanks in advance. -- - Rich Doughty
2006 Apr 26
3
astcc: need partial pin code
I have not used astcc with pin codes so far, since I set-up the phone number as card number. Some of my users want now to dial in to the system and than use their card, which is their phone number. For that I would need a way of authentication, like a pin. I want to use something like: What is your card number: <user keys in the number> Enter your pin: <user enter a long pin>
2006 Apr 07
1
regexp in gotoif
Hello! this is a short one: in a gotoif-statement i would like to match a variable to a number, where the number could have digits from 2-6. asterisk only seems to be capable to match such a digit-range when used in the extension, but not in a regexp, at least the following query doesn't work: exten => _X.,1,GotoIf($[${EXTEN} : 234[2-6]]?jump:) obviously asterisk has a problem with
2006 Jan 27
3
paging agi
Hello Everyone, I've been playing with an agi script for paging sip phones. page.agi will take all available sip extensions and assign them to the global variable PAGE_GROUP. Allowing the phones to be paged from the dialplan with the new Page cmd. Extensions to be excluded are presented as arguments to the agi. Each time a page is made this agi refreshes the global variable. This works with
2010 Sep 09
1
Set channel variable from within other channel
Hello list, is it possible to set a variable (channel variable) from within another channel ?! I'm currently working with 2 channels that I bridge afterwards. It would be good to set a variable in one channel when something occurs in the other channel. If some variable is not set in channel 1, then this means something for channel 2. But from within channel 2 I can not see the variables
2007 Jul 18
2
Force SIP hang up.
Is there a way to hang up on a sip channel. One of my phones is saying it's busy while it's not (even after rebooting it). I logged into asterisk, and did a sip show channel 232, and sure enough it thinks it's on a call. How can I force it to close?
2010 Jan 11
1
MeetMe Conferencing - Announce your own join/leave to yourself and other conference members
Hi all, I'm trying to get the MeetMe system to take a caller and announce to them they've joined the conference in addition to the other members of the conference assuming previous members of the conference >= 1. I can see where the meetme.c app actually processes it using the ast_pthread_create_background(&conf->announcethread, NULL, announce_thread, conf); function. The
2004 Jan 09
3
ChanIsAvail and SIP
Hello all. Has anyone had any success using ChanIsAvail with only SIP channels? Is there another, better way to check if an extension is busy without dialing it? Thanks, B. J. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040109/48ac2c3e/attachment.htm
2012 Mar 05
1
asterisk 1.8.9.2 channel.c: Channel allocation failed
Hello List! My Asterisk stopped making SIP-calls today, I could call from external, and saw Call coming in over PRI, but calling the SIP/Device wont work. I saw 5 open channels - all chan_spy. Only a restart helped. In the messages-file i found from yesterday: [Mar 4 17:28:01] NOTICE[25769] app_chanspy.c: Attaching SIP/209-0000170fto SIP/210-0000170e [Mar 4 17:29:38] NOTICE[25790]
2007 Jul 03
5
Determining the used codec for the IP Trunk (SIP Trunk)
Hi List; Where I determine the codec to be used for the SIP Trunk (between Asterik and another SIP softswitch)? Regards Bilal ____________________________________________________________________________________ Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=list&sid=396545433
2007 Apr 12
0
RAGI channel_status() never returnes
Hi there, I am new to this ML. Recently I started working on Asterisk 1.4 + RAGI + Ruby on Rails to create a call history browser. To record call history, I am trying to capture dialup, answer and hangup events. To check what status a call is, I use channel_status() that RAGI provides. I am having a trouble on this function. In a polling loop that checks call status, the first call of