Re: [Freeswitch-users] Callback to the user in ESL

2009-11-30 Thread lakshmanan ganapathy
In the previous reply you told me to use new OUTBOUND connection. But in this post you mention INBOUND connection. That confusion only made me to ask the question once again. Pardon me if I made any mistake. Making a new inbound connection does the task. Thanks for that. On Sat, Nov 28, 2009

Re: [Freeswitch-users] Callback to the user in ESL

2009-11-27 Thread Anthony Minessale
I told you to make a new separate inbound connection back to the server from your script, do not use the same one thta was tethered to the call because its too late to use that one. Why do I have to answer you twice? On Thu, Nov 26, 2009 at 3:27 AM, lakshmanan ganapathy

Re: [Freeswitch-users] Callback to the user in ESL

2009-11-26 Thread lakshmanan ganapathy
Hi, Any help or suggestion regarding my previous post. Especially I also noted that, if I don't receive any events, especially SERVER_DISCONNECTED, then the connection is in established state, but once I receive the SERVER_DISCONNECTED event, the connection is closed. Is it correct?? Here is the

Re: [Freeswitch-users] Callback to the user in ESL

2009-11-26 Thread Michael Jerris
Your using outbound socket and you hangup the call, so it tells you it is done with the server disconnected message and drops the connection. This is all as expected. I guess I don't understand what you think is the problem. This code is doing exactly what I would expect it to do.

Re: [Freeswitch-users] Callback to the user in ESL

2009-11-24 Thread lakshmanan ganapathy
Yes Mr. Collins, I've tried with shed_api. But I was not able to control, if the user reject the call. I made a shed_api to originate a call to 1000 and If it is answered, I'll transfer the call to 9097 (So it comes to my program, refer the dialplan in my question). But what happens if the user

Re: [Freeswitch-users] Callback to the user in ESL

2009-11-24 Thread lakshmanan ganapathy
I've tried the following program as per the suggestion that you've told. But it seems, no success. Once the connection is closed, I created a new connection and I send originate to originate a new call. But it is not working. require ESL; use IO::Socket::INET; use Data::Dumper; my $ip =

[Freeswitch-users] Callback to the user in ESL

2009-11-23 Thread lakshmanan ganapathy
Hi, I'm using perl ESL to control the call in freeswitch. I'm having the following scenario, but not able to get it right. Dialplan: extension name=outbound_soc condition field=destination_number expression=^9097$ action application=set data=continue_on_fail=true/

Re: [Freeswitch-users] Callback to the user in ESL

2009-11-23 Thread Michael Collins
On Mon, Nov 23, 2009 at 3:25 AM, lakshmanan ganapathy lakindi...@gmail.comwrote: Hi, I'm using perl ESL to control the call in freeswitch. I'm having the following scenario, but not able to get it right. Dialplan: extension name=outbound_soc condition field=destination_number

Re: [Freeswitch-users] Callback to the user in ESL

2009-11-23 Thread Anthony Minessale
or open a new outbound connection at the end of your script so you can send your originate command. Since the channel hanging up will close your existing connection since it's only an outbound single session socket. On Mon, Nov 23, 2009 at 11:51 AM, Michael Collins m...@freeswitch.orgwrote: