Strange.. my previous message got lost somehow..<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Joseph Crivello</b> <span dir="ltr"><<a href="mailto:josephcrivello@gmail.com">josephcrivello@gmail.com</a>></span><br>
Date: Mon, May 3, 2010 at 6:36 AM<br>Subject: Trouble With 'transfer' DP After a 'bridge' on Async Event Socket<br>To: <a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
<br>Hello All,<br>
<br>
I am currently working on a conference bridge based on FreeSWITCH that<br>
allows some conference members to dial out to a prompted number.<br>
<br>
Currently my implementation binds * in conference.xml to the "transfer"<br>
action, leading to a dial plan extension that runs an async full outgoing<br>
event socket. My application serving the event socket does the following:<br>
<br>
1) Verifies the user is allowed to dial out, and writes a record to the<br>
database.<br>
2) Retrieves the number to be dialed with 'play_and_get_digits'<br>
3) Bridges the call to the dialed number<br>
4) Waits for the a-leg to press star<br>
5) Uses 'transfer' to transfer both legs back to the conference<br>
<br>
Everything works up to step #5, which does nothing.<br>
<br>
There is no NOTICE outputted to the console indicating that a transfer is<br>
taking place and neither leg is rejoined to the conference.<br>
<br>
I get a normal event back after the transfer sendmsg:<br>
<br>
Event-Name: SOCKET_DATA<br>
Content-Type: command/reply<br>
Reply-Text: %2BOK<br>
<br>
If I subscribe to all events before running the transfer and receive events<br>
in a loop, I receive nothing but routine RE_SCHEDULE and CALL_UPDATE events<br>
after the transfer.<br>
<br>
I am using ESL to communicate with FreeSWITCH, and prior to running any of<br>
steps #1-5 I set the event lock to true. The line from the dial plan<br>
extension that calls my application follows:<br>
<br>
<action application="socket" data="<a href="http://172.18.11.1:8001" target="_blank">172.18.11.1:8001</a> async full" /><br>
<br>
Any ideas? Perhaps I'm "doing it wrong"? I am very new to FS.<br>
<br>
Thanks!<br>
Joe Crivello<br>
<br>
<br>
</div><br>