search for: myagi

Displaying 13 results from an estimated 13 matches for "myagi".

Did you mean: yagi
2003 Oct 13
1
AGI solution to Grandstream BT102 call waiting problem
...the options to work with the $AGI->exed('Dial', $newvar , '30,t'); command. It seems to ignore the options, so, I can't tell the dial command how long to ring and to allow the called extension to transfer. TIA, Walker Here are some snips from my conf files and agi script: myagi.agi ... for $i ( split /,/,$ARGV[0] ) { if ( $AGI->exec('ChanIsAvail', $i) == 0 ) { if ( $count++ > 0 ) { $newvar .= "\&" }; $newvar .= $i; $result = $AGI->channel_status($i); # always returns -1 print STDERR "$result\n"; } } $result = $...
2004 Oct 05
5
Asterisk Perl AGI
...l. The available documentation I've found show it as a very simple proccess, but it doesn't work for me... and I don't know why yet. To describe you my stage y must start with my configuration in the extensions.conf file. This single line should describe it: exten => 771,1,AGI,myagi.agi Then, this is my code... #!/usr/bin/perl use Asterisk::AGI; $AGI = new Asterisk::AGI; my %input = $AGI->ReadParse(); $AGI->answer(); my $pin = $AGI->get_data("beep"); exit(0); Can somebody tell me why the number I enter after the "beep" is not then store...
2004 Jun 20
1
asterisk console mode
..., there is a parameter (right at the top ), CONSOLE which I can set to no or something. If it is no asterisk startup as asterisk -vvvg , if it is set to something the asterisk startup as asterisk -vvvg -c. Now I am running an agi script when calls get hung-up. That is in my extensions.conf I call myagi.agi like h,1, agi, myagi.agi. When I have asterisk started in console mode everything works fine, however if I start -vvvg soon after the agi completes asterisk shut it down. == Spawn extension (fwd-out-test, 613, 3) exited non-zero on 'SIP/-081467b0' -- Executing AGI("SIP/-081...
2010 Sep 16
5
AGI Delimiter in 1.6
Hi I am currently using 1.2.x and 1.4.x behind OpenSER. One of the things I do on INVITES is to re-authenticate the user from OpenSER. Then when the INVITE gets passed to Asterisk I capture the AUTH to a variable in the dialplan and pass to an AGI script. I am now trying to set the same thing up in 1.6 However because the argument delimter in 1.6 has changed from pipe to comma this breaks as the
2008 Aug 21
3
After Dial execution, using DIALEDTIME, ANSWEREDTIME
...upposed to handle the returned vales DIALEDTIME, ANSWEREDTIME if I can not execute anything after Dial()? I made a workaround with DeadAGI (below) but it is unreliable: if 2 calls end nearly at the same time I do not know to whom belongs the ANSWEREDTIME value : exten => h,1,DeadAGI(myagi.agi,0,${DIALEDTIME},${ANSWEREDTIME},00) Any comments? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080821/8e8e0ec3/attachment.htm
2003 Nov 19
0
GoTo or Dial in AGI??
I have two possible senarios for making a call from an AGI.. Senario1 - Using GoTo In the extensions.conf I have.. [dial-out] exten => _9.,1,AGI(myagi) exten => _9.,2,Dial(SIP/blah/${EXTEN:1}) In the AGI I have.. EXEC GoTo dial-out|9555678|2 So using this method I don't have to really edit the AGI ever if I change the dialplan around as long at the context is correct.. At the end of the AGI it passes the call off to the specified cont...
2007 Aug 09
1
generating a GUID
I have a need to have a GUID (for example, bcd47ccc-d7c9-ddb6-dc11-6746a770d77d [36 characters long including the "-"]) generated in the dialplan. Is there any asterisk function that would do this ? I would prefer not to have to shell out every time a call comes in. Julian
2009 Jul 03
2
Trigger an action when B number answers the call
...t;<br> </p> <p style="margin-bottom: 0in;">[macro-macroSendCallStart]<br><br>exten => s,1,Verbose(macro-macroSendCallStart)<br>exten => s,n,Verbose(UNIQUEID ${UNIQUEID} )<br>exten => s,n,Verbose(ARG1 ${ARG1} )<br>exten => s,n,AGI(myAGI.agi,2,${ARG1},${CALLERID(num)},001) <br><br> </p> <p style="margin-bottom: 0in;"><br> </p> <p style="margin-bottom: 0in;">The problem is that the macro is 'forked' (new UNIQUEID) and when it ends goes to _h_ extesion triggering...
2007 Jan 12
4
FW: Get dialed numbers in AGI
On 1/11/07, Mike D'Ambrogia <miked@jamagination.com> wrote: > > Ralph > > Kind of new to asterisk, and really new to AGI but it looks like you were > trying to have the AGI script tell asterisk to read and lay the results into > my_var and then regain control in the AGI script, is that correct? > > If so I don't think that will work since the dialplan
2005 Oct 06
0
getting called number from a zap channel
Hello, i've got the following setup: exten => _X.,1,Dial(Zap/${EXTEN},15,T) exten => 9000,1,AGI(agi://localhost/myagi.agi); Now i want to do the follwing. With the catchall extension i make an outbound call to another person. This Person will then get transfered to extension 9000 and will be connected to the AGI-Script. So far this works fine. But the AGI Script has to know with whom it is connected so i want...
2004 Jun 23
3
help needed with read()
Hi, Greatly appreciate if some one help me with the application read(). asterisk*CLI> show application read asterisk*CLI> -= Info about application 'Read' =- [Synopsis]: Read a variable [Description]: Read(variable[|filename]): Reads a '#' terminated string of digits from the user, optionally playing a given filename first. Returns -1 on hangup or error and 0
2009 Jul 03
0
Fw: Trigger an action when B number answers the call
...gt;<br></p> <p style="margin-bottom: 0in;">[macro-macroSendCallStart]<br><br>exten => s,1,Verbose(macro-macroSendCallStart)<br>exten => s,n,Verbose(UNIQUEID ${UNIQUEID} )<br>exten => s,n,Verbose(ARG1 ${ARG1} )<br>exten => s,n,AGI(myAGI.agi,2,${ARG1},${CALLERID(num)},001) <br><br></p> <p style="margin-bottom: 0in;"><br></p> <p style="margin-bottom: 0in;">The problem is that the macro is 'forked' (new UNIQUEID) and when it ends goes to _h_ extesion triggering un...
2003 Jul 23
2
executing an agi script after a successful Dial
I would like to run an agi script (to calculate the cost of a long distance or international call) right after I execute a Dial app. Can this be configured in extensions.conf? It seems the entries right after a Dial app get executed only if the Dial app was executed unsucessfully. Would I have to execute the dial app from the agi script? Thanks in advance. Dan -------------- next part