On Tue, Dec 4, 2012 at 5:37 PM, Scott
Beil
<scobei001@gmail.com>
wrote:
I am attempting to interrupt the ringback audio at regular
intervals
with announcements while a bridge is in progress. Everything
is going
fine - the far end is ringing, the ringback audio is playing,
the first
displacement is heard, but subsequent displacements are not.
I am using an outbound ESL connection, FreeSWITCH version
1.2.3.
First, the ringback audio is set:
esl_execute(handle, "set",
"ringback=file_string://'../sounds/music/8000/suite-espanola-op-47-leyenda.wav'",NULL);
Next, the bridge is initiated:
esl_execute(handle, "bridge", "user/1001",NULL);
Now, a displacement is scheduled for 5 seconds in the future:
esl_send_recv(handle, "api sched_api +5 none
uuid_displace
<uuid> start digits/1.wav");
After each MEDIA_BUG_STOP event is received, another
displacement is
scheduled.
The log file shows successful attempts are being made to play
the
displacement audio:
66017ce6-23c8-4df1-accc-6275eed8fc45 2012-12-04
18:25:39.161496 [DEBUG]
switch_core_media_bug.c:506 Attaching BUG to
sofia/internal/1000@192.168.1.136
2012-12-04 18:25:39.161496 [DEBUG] mod_commands.c:3894 Command
uuid_displace(66017ce6-23c8-4df1-accc-6275eed8fc45 start
digits/1.wav):
+OK Success
2012-12-04 18:25:39.161496 [DEBUG] switch_scheduler.c:138
Deleting task
17 sched_api_function (none)
66017ce6-23c8-4df1-accc-6275eed8fc45 2012-12-04
18:25:39.641496 [DEBUG]
switch_core_media_bug.c:724 Removing BUG from
sofia/internal/1000@192.168.1.136
2012-12-04 18:25:39.761496 [DEBUG] switch_scheduler.c:214
Added task 18
sched_api_function (none) to run at 1354667144
66017ce6-23c8-4df1-accc-6275eed8fc45 2012-12-04
18:25:44.161496 [DEBUG]
switch_core_media_bug.c:506 Attaching BUG to
sofia/internal/1000@192.168.1.136
2012-12-04 18:25:44.161496 [DEBUG] mod_commands.c:3894 Command
uuid_displace(66017ce6-23c8-4df1-accc-6275eed8fc45 start
digits/1.wav):
+OK Success
2012-12-04 18:25:44.161496 [DEBUG] switch_scheduler.c:138
Deleting task
18 sched_api_function (none)
66017ce6-23c8-4df1-accc-6275eed8fc45 2012-12-04
18:25:44.181496 [DEBUG]
switch_core_media_bug.c:724 Removing BUG from
sofia/internal/1000@192.168.1.136
2012-12-04 18:25:44.341496 [DEBUG] switch_scheduler.c:214
Added task 19
sched_api_function (none) to run at 1354667149
66017ce6-23c8-4df1-accc-6275eed8fc45 2012-12-04
18:25:49.161496 [DEBUG]
switch_core_media_bug.c:506 Attaching BUG to
sofia/internal/1000@192.168.1.136
2012-12-04 18:25:49.161496 [DEBUG] mod_commands.c:3894 Command
uuid_displace(66017ce6-23c8-4df1-accc-6275eed8fc45 start
digits/1.wav):
+OK Success
2012-12-04 18:25:49.161496 [DEBUG] switch_scheduler.c:138
Deleting task
19 sched_api_function (none)
66017ce6-23c8-4df1-accc-6275eed8fc45 2012-12-04
18:25:49.181496 [DEBUG]
switch_core_media_bug.c:724 Removing BUG from
sofia/internal/1000@192.168.1.136
2012-12-04 18:25:49.341496 [DEBUG] switch_scheduler.c:214
Added task 20
sched_api_function (none) to run at 1354667154
66017ce6-23c8-4df1-accc-6275eed8fc45 2012-12-04
18:25:54.161496 [DEBUG]
switch_core_media_bug.c:506 Attaching BUG to
sofia/internal/1000@192.168.1.136
2012-12-04 18:25:54.161496 [DEBUG] mod_commands.c:3894 Command
uuid_displace(66017ce6-23c8-4df1-accc-6275eed8fc45 start
digits/1.wav):
+OK Success
Any guidance would be appreciated.
Thanks,
Scott
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org