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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20091104/03e2f202/attachment.htm
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). Search voip-info.org for examples. -- Thanks in advance, ------------------------------------------------------------------------- Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST Newline Fax: +1-760-731-3000
Philipp Kempgen
2009-Nov-04 15:33 UTC
[asterisk-users] Help in Perl AGI - Bridge 2 channels
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 Asterisk 1.6. ---cut--- Action: Bridge Synopsis: Bridge two channels already in the PBX Privilege: call,all Description: Bridge together two channels already in the PBX Variables: ( Headers marked with * are required ) *Channel1: Channel to Bridge to Channel2 *Channel2: Channel to Bridge to Channel1 Tone: (Yes|No) Play courtesy tone to Channel 2 ---cut--- Philipp Kempgen -- AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de Gesch?ftsf?hrer: Stefan Wintermeyer, Handelsregister: Neuwied B14998 Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de Videos of the AMOOCON VoIP conference 2009 -> http://www.amoocon.de --