<br><br><div class="gmail_quote">On Tue, Jul 14, 2009 at 2:14 PM, Weaver, Eric <span dir="ltr"><<a href="mailto:eweaver@meetingone.com">eweaver@meetingone.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Using api uuid_park 81b65478-70b9-11de-bf26-b962186102f7 before
terminating the NC session works, the call is not disconnected. </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Once that is done, I do not receive DTMF and cannot play prompts
to the caller, they seem to be in limbo. I can uuid_kill the call but I need to
get dtmf and play prompts to them. Perhaps Park is not where I need to put
these calls ?</span></p><div><div></div><div class="h5">
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p></div></div></div></div></blockquote><div>To get a call out of park you need to bridge to it or transfer it to another extension. If you have an extension you can just uuid_transfer the parked call's uuid. If you have an existing call's uuid you can use uuid_bridge to bridge the two together.<br>
<br>Could you remind me of the application you're building? Just curious what the big picture is.<br>-MC<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US"><div><div><div class="h5"><p><span style="font-size: 11pt; color: rgb(31, 73, 125);"></span></p>
<div style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
<p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;">
<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>
[mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On Behalf Of </b>Michael
Collins<br>
<b>Sent:</b> Tuesday, July 14, 2009 11:12 AM<br>
<b>To:</b> <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
<b>Subject:</b> Re: [Freeswitch-users] Preventing disconnect on event_sockte
close</span></p>
</div>
<p> </p>
<p style="margin-bottom: 12pt;"> </p>
<div>
<p>On Tue, Jul 14, 2009 at 9:59 AM, Weaver, Eric <<a href="mailto:eweaver@meetingone.com" target="_blank">eweaver@meetingone.com</a>> wrote:</p>
<div>
<div>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Tried it using
FreeSWITCH Version 1.0.4pre9 (14036M) and the following
steps</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Start netcat </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">netcat -v -l -p 14000</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">place call, socket is connected
via dial plan, enter the following.</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">connect\n\n</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">sendmsg</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">call-command: execute</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">execute-app-name: answer\n\n</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">sendmsg</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">call-command: execute</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">execute-app-name: playback</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">execute-app-arg:
/home/eweaver/holdmusic.wav</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"><when wave file is done
playing></span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">sendmsg</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">call-command: execute</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">execute-app-name: park</span></p>
</div>
</div>
<div>
<p><br>
Try this:<br>
api uuid_park <uuid><br>
<br>
You'll need to capture the uuid at some point and store it. For testing I just
manually copied and pasted it to/from the console screen.<br>
-MC </p>
</div>
<blockquote style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color rgb(204, 204, 204); border-width: medium medium medium 1pt; padding: 0in 0in 0in 6pt; margin-left: 4.8pt; margin-right: 0in;">
<div>
<div>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Console window displays this
message: </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">2009-07-14 10:42:29.245833
[ERR] switch_ivr.c:654 Cannot park channels that are under control already.</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">at this point, ^C in the netcat
window. Call is disconnected.</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">Need to be able to park these
calls so they can then be handled from an inbound event socket connection.</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">eric</span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<div style="border-style: solid none none; border-color: -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
<p><b><span style="font-size: 10pt;">From:</span></b><span style="font-size: 10pt;"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>]
<b>On Behalf Of </b>Michael Collins<br>
<b>Sent:</b> Monday, July 13, 2009 7:08 PM<br>
<b>To:</b> <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
<b>Subject:</b> Re: [Freeswitch-users] Preventing disconnect on event_sockte
close</span></p>
</div>
<div>
<div>
<p> </p>
<p style="margin-bottom: 12pt;">I don't know if this will work for you but I
just tested this scenario with uuid_park. After parking the call I disconnected
the socket and the call continued. I did the same thing with uuid_transfer.
After the transfer I disconnected the socket and the call continued.<br>
<br>
How are you handling the call and how is the socket getting disconnected?<br>
<br>
-MC</p>
<div>
<p>On Mon, Jul 13, 2009 at 4:35 PM, Weaver, Eric <<a href="mailto:eweaver@meetingone.com" target="_blank">eweaver@meetingone.com</a>>
wrote:</p>
<div>
<div>
<p>Using mod_event_socket in outbound mode, is there any to prevent a
call from being disconnected when the outbound socket is closed ? I would like
to handle the initial inbound call using outbound but after the disposition of
the call is determined, close the socket and have that call managed using an
inbound socket instead.</p>
<p> </p>
<p><span style="color: rgb(136, 136, 136);">Eric Weaver</span></p>
</div>
</div>
<p style="margin-bottom: 12pt;"><br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></p>
</div>
<p> </p>
</div>
</div>
</div>
</div>
<p style="margin-bottom: 12pt;"><br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org" target="_blank">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></p>
</blockquote>
</div>
<p> </p>
</div></div></div>
</div>
<br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>