Janu Mukherjee
2010-Jul-28 09:29 UTC
[asterisk-users] Redirecting a call to another extension using asterisk java
Hi, My problem is as follows. I registered an xlite client and dialed 1500 extension. In the extensions.conf i set as follows. exten=>1500,1,AGI(localhost// hello.agi. This hello.agi when connected plays a greeting message. Once this is connected from the script i want to transfer the call to another extension say 1600. How do i achieve this. I tried using ChannelRedirect but it didnt work. I want this transfer to happen from the script. Any suggestions please? Thanks in Advance, Jahnavi. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100728/3e7ee6fa/attachment.htm
Tzafrir Cohen
2010-Jul-28 16:18 UTC
[asterisk-users] Redirecting a call to another extension using asterisk java
On Wed, Jul 28, 2010 at 02:59:23PM +0530, Janu Mukherjee wrote:> Hi, > My problem is as follows. > I registered an xlite client and dialed 1500 extension. In the > extensions.conf i set as follows. > exten=>1500,1,AGI(localhost// > hello.agi.I wonder why you use the odd name 'localhost' here.> > This hello.agi when connected plays a greeting message. Once this is > connected from the script i want to transfer the call to another extension > say 1600. How do i achieve this. I tried using ChannelRedirect but it didnt > work.What you write here is what didn't happen. Can you give more details of what did happen? E.g. a CLI trace of when you tried to trasfer using that method? -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir