[Freeswitch-users] Displacing ringback audio during bridge - only first displacement heard
Scott Beil
scobei001 at gmail.com
Thu Dec 6 18:31:06 MSK 2012
I have filed a ticket (FS-4914) with proposed patch.
Thanks,
Scott
On 12/5/2012 11:08 AM, Michael Collins wrote:
> Scott,
>
> 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 jira.freeswitch.org
> <http://jira.freeswitch.org> 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.
>
> -MC
>
> On Tue, Dec 4, 2012 at 5:37 PM, Scott Beil <scobei001 at gmail.com
> <mailto:scobei001 at 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 at 192.168.1.136 <mailto:1000 at 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 at 192.168.1.136 <mailto:1000 at 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 at 192.168.1.136 <mailto:1000 at 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 at 192.168.1.136 <mailto:1000 at 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 at 192.168.1.136 <mailto:1000 at 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 at 192.168.1.136 <mailto:1000 at 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 at 192.168.1.136 <mailto:1000 at 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 at freeswitch.org <mailto:consulting at freeswitch.org>
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> <mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
>
>
> --
> Michael S Collins
> Twitter: @mercutioviz
> http://www.FreeSWITCH.org
> http://www.ClueCon.com
> http://www.OSTAG.org
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121206/e9fa19b0/attachment-0001.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list