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 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 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 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 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 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 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 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 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 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 href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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>
</blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br><br>