[asterisk-users] Help in Perl AGI

2009-11-04 Thread velusamy velu
Dear All, In Perl AGI, I have two number like 700, 800. I have to call first 700. Next I have to call 800. After that I have to connect this two numbers in the call. How can I do it in Perl AGI? Please anyone provide some idea... Thanks, Velusamy

Re: [asterisk-users] Help in Perl AGI

2009-11-04 Thread Steve Edwards
On Wed, 4 Nov 2009, velusamy velu wrote: In Perl AGI, I have two number like 700, 800. I have to call first 700. Next I have to call 800. After that I have to connect this two numbers in the call. How can I do it in Perl AGI? You can create a call file or use AMI (requests via TCP socket).

Re: [asterisk-users] Help in Perl AGI - Bridge 2 channels

2009-11-04 Thread Philipp Kempgen
velusamy velu schrieb: In Perl AGI, I have two number like 700, 800. I have to call first 700. Next I have to call 800. After that I have to connect this two numbers in the call. How can I do it in Perl AGI? I think you are looking for the Bridge manager command which is available since

Re: [asterisk-users] Help with perl AGI script

2006-08-06 Thread Roy Kidder
Russell Bryant wrote: On Sat, 2006-08-05 at 20:43 -0400, Roy Kidder wrote: Is there some way I can better control the execution of playbacks so that they take place as I expect them to? Yes, your script needs to read a line of input from stdin to wait for Asterisk to send back the result code

Re: [asterisk-users] Help with perl AGI script

2006-08-06 Thread Russell Bryant
On Sun, 2006-08-06 at 06:58 -0400, Roy Kidder wrote: I tried it again, reading a single line from stdin and got the 200 result=0 message. Is there potential for there to be other messages? i.d. 200 result=1 or 404 file not found? Also, is there always going to be a single line from stdin, or

[asterisk-users] Help with perl AGI script

2006-08-05 Thread Roy Kidder
I'm new to Asterisk and am trying to write an AGI script in perl and need some pointers. The script simply plays a few gsm files in succession before doing a database insert (using perl's DBI in a sub). In a nutshell, it looks like this: print EXEC Playback foo1\n; print EXEC Playback foo2\n;

Re: [asterisk-users] Help with perl AGI script

2006-08-05 Thread Russell Bryant
On Sat, 2006-08-05 at 20:43 -0400, Roy Kidder wrote: Is there some way I can better control the execution of playbacks so that they take place as I expect them to? Yes, your script needs to read a line of input from stdin to wait for Asterisk to send back the result code indicating that the