[Freeswitch-users] Callback to the user in ESL
lakshmanan ganapathy
lakindia89 at gmail.com
Mon Nov 23 03:25:52 PST 2009
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"/>
<action application="socket" data="192.168.1.222:8447 async
full"/>
</condition>
</extension>
1. User A calls to an extention (1000).
2. My ESL program will be running, and it answers the call.
3. Then the program will get a number from the user.
4. It will hangup the call.
5. The program has to call to the number that was given by the user.
In the above scenario, I was able to do until the 4th step. After hangup the
call, if I say originate it is not working.
Any ideas on how to do this in ESL.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091123/233cc5ba/attachment-0002.html
More information about the FreeSWITCH-users
mailing list