<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I have filed a ticket (FS-4914) with proposed patch.<br>
<br>
Thanks,<br>
<br>
Scott<br>
<br>
<br>
<div class="moz-cite-prefix">On 12/5/2012 11:08 AM, Michael Collins
wrote:<br>
</div>
<blockquote
cite="mid:CAKzWOxVM3KUeq6CbsBUJguE1ibnyDebC5cB1UeveYAc9sR8Z7g@mail.gmail.com"
type="cite">Scott,<br>
<br>
If you manually try to do displacements instead of using the
sched_api, does it exhibit the same symptom? Either way it sounds
like a possible but. Please file a ticket at <a
moz-do-not-send="true" href="http://jira.freeswitch.org">jira.freeswitch.org</a>
so that the devs can have a look. Also, be sure to test this on
latest git HEAD to confirm that it hasn't already been fixed.<br>
<br>
-MC<br>
<br>
<div class="gmail_quote">On Tue, Dec 4, 2012 at 5:37 PM, Scott
Beil <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:scobei001@gmail.com" target="_blank">scobei001@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
I am attempting to interrupt the ringback audio at regular
intervals<br>
with announcements while a bridge is in progress. Everything
is going<br>
fine - the far end is ringing, the ringback audio is playing,
the first<br>
displacement is heard, but subsequent displacements are not.<br>
<br>
I am using an outbound ESL connection, FreeSWITCH version
1.2.3.<br>
<br>
First, the ringback audio is set:<br>
<br>
esl_execute(handle, "set",<br>
"ringback=file_string://'../sounds/music/8000/suite-espanola-op-47-leyenda.wav'",NULL);<br>
<br>
Next, the bridge is initiated:<br>
<br>
esl_execute(handle, "bridge", "user/1001",NULL);<br>
<br>
Now, a displacement is scheduled for 5 seconds in the future:<br>
<br>
esl_send_recv(handle, "api sched_api +5 none
uuid_displace<br>
<uuid> start digits/1.wav");<br>
<br>
After each MEDIA_BUG_STOP event is received, another
displacement is<br>
scheduled.<br>
<br>
The log file shows successful attempts are being made to play
the<br>
displacement audio:<br>
<br>
66017ce6-23c8-4df1-accc-6275eed8fc45 2012-12-04
18:25:39.161496 [DEBUG]<br>
switch_core_media_bug.c:506 Attaching BUG to<br>
sofia/internal/<a moz-do-not-send="true"
href="mailto:1000@192.168.1.136">1000@192.168.1.136</a><br>
2012-12-04 18:25:39.161496 [DEBUG] mod_commands.c:3894 Command<br>
uuid_displace(66017ce6-23c8-4df1-accc-6275eed8fc45 start
digits/1.wav):<br>
+OK Success<br>
<br>
2012-12-04 18:25:39.161496 [DEBUG] switch_scheduler.c:138
Deleting task<br>
17 sched_api_function (none)<br>
66017ce6-23c8-4df1-accc-6275eed8fc45 2012-12-04
18:25:39.641496 [DEBUG]<br>
switch_core_media_bug.c:724 Removing BUG from<br>
sofia/internal/<a moz-do-not-send="true"
href="mailto:1000@192.168.1.136">1000@192.168.1.136</a><br>
2012-12-04 18:25:39.761496 [DEBUG] switch_scheduler.c:214
Added task 18<br>
sched_api_function (none) to run at 1354667144<br>
66017ce6-23c8-4df1-accc-6275eed8fc45 2012-12-04
18:25:44.161496 [DEBUG]<br>
switch_core_media_bug.c:506 Attaching BUG to<br>
sofia/internal/<a moz-do-not-send="true"
href="mailto:1000@192.168.1.136">1000@192.168.1.136</a><br>
2012-12-04 18:25:44.161496 [DEBUG] mod_commands.c:3894 Command<br>
uuid_displace(66017ce6-23c8-4df1-accc-6275eed8fc45 start
digits/1.wav):<br>
+OK Success<br>
<br>
2012-12-04 18:25:44.161496 [DEBUG] switch_scheduler.c:138
Deleting task<br>
18 sched_api_function (none)<br>
66017ce6-23c8-4df1-accc-6275eed8fc45 2012-12-04
18:25:44.181496 [DEBUG]<br>
switch_core_media_bug.c:724 Removing BUG from<br>
sofia/internal/<a moz-do-not-send="true"
href="mailto:1000@192.168.1.136">1000@192.168.1.136</a><br>
2012-12-04 18:25:44.341496 [DEBUG] switch_scheduler.c:214
Added task 19<br>
sched_api_function (none) to run at 1354667149<br>
66017ce6-23c8-4df1-accc-6275eed8fc45 2012-12-04
18:25:49.161496 [DEBUG]<br>
switch_core_media_bug.c:506 Attaching BUG to<br>
sofia/internal/<a moz-do-not-send="true"
href="mailto:1000@192.168.1.136">1000@192.168.1.136</a><br>
2012-12-04 18:25:49.161496 [DEBUG] mod_commands.c:3894 Command<br>
uuid_displace(66017ce6-23c8-4df1-accc-6275eed8fc45 start
digits/1.wav):<br>
+OK Success<br>
<br>
2012-12-04 18:25:49.161496 [DEBUG] switch_scheduler.c:138
Deleting task<br>
19 sched_api_function (none)<br>
66017ce6-23c8-4df1-accc-6275eed8fc45 2012-12-04
18:25:49.181496 [DEBUG]<br>
switch_core_media_bug.c:724 Removing BUG from<br>
sofia/internal/<a moz-do-not-send="true"
href="mailto:1000@192.168.1.136">1000@192.168.1.136</a><br>
2012-12-04 18:25:49.341496 [DEBUG] switch_scheduler.c:214
Added task 20<br>
sched_api_function (none) to run at 1354667154<br>
66017ce6-23c8-4df1-accc-6275eed8fc45 2012-12-04
18:25:54.161496 [DEBUG]<br>
switch_core_media_bug.c:506 Attaching BUG to<br>
sofia/internal/<a moz-do-not-send="true"
href="mailto:1000@192.168.1.136">1000@192.168.1.136</a><br>
2012-12-04 18:25:54.161496 [DEBUG] mod_commands.c:3894 Command<br>
uuid_displace(66017ce6-23c8-4df1-accc-6275eed8fc45 start
digits/1.wav):<br>
+OK Success<br>
<br>
Any guidance would be appreciated.<br>
<br>
Thanks,<br>
<br>
Scott<br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a moz-do-not-send="true"
href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a moz-do-not-send="true" href="http://www.cudatel.com"
target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://wiki.freeswitch.org"
target="_blank">http://wiki.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://www.cluecon.com"
target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Michael S Collins<br>
Twitter: @mercutioviz<br>
<a moz-do-not-send="true" href="http://www.FreeSWITCH.org"
target="_blank">http://www.FreeSWITCH.org</a><br>
<a moz-do-not-send="true" href="http://www.ClueCon.com"
target="_blank">http://www.ClueCon.com</a><br>
<a moz-do-not-send="true" href="http://www.OSTAG.org"
target="_blank">http://www.OSTAG.org</a><br>
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
</body>
</html>