[Freeswitch-users] Playback is not working

Eric Ni xyangni at gmail.com
Mon Dec 21 21:34:38 MSK 2015


got similar problem with the newly installed FS on debian 8.2
I followed
https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie
and installed package from stable branch.   Changed nothing except default
password.
Dialed 5000 the do the test.  Log file seems ok. But I do hear nothing.


EXECUTE sofia/internal/1000 at 115.159.158.159 sleep(2000)
EXECUTE sofia/internal/1000 at 115.159.158.159 ivr(demo_ivr)
2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:743
switch_ivr_menu_stack_xml_add binding 'menu-exit'
2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:743
switch_ivr_menu_stack_xml_add binding 'menu-sub'
2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:743
switch_ivr_menu_stack_xml_add binding 'menu-exec-app'
2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:743
switch_ivr_menu_stack_xml_add binding 'menu-play-sound'
2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:743
switch_ivr_menu_stack_xml_add binding 'menu-back'
2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:743
switch_ivr_menu_stack_xml_add binding 'menu-top'
2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:880 building menu
'demo_ivr'
2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:964 binding menu
action 'menu-exec-app' to '1'
2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:964 binding menu
action 'menu-exec-app' to '2'
2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:964 binding menu
action 'menu-exec-app' to '3'
2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:964 binding menu
action 'menu-exec-app' to '4'
2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:964 binding menu
action 'menu-exec-app' to '5'
2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:880 building menu
'demo_ivr_submenu'
2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:964 binding menu
action 'menu-top' to '*'
2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:964 binding menu
action 'menu-sub' to '6'
2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:964 binding menu
action 'menu-exec-app' to '/^(10[01][0-9])$/'
2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:964 binding menu
action 'menu-top' to '9'
2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_menu.c:483 Executing IVR menu
demo_ivr
2015-12-22 02:08:17.854053 [DEBUG] switch_ivr_play_say.c:70 No language
specified - Using [en]
2015-12-22 02:08:17.874051 [DEBUG] switch_ivr_play_say.c:250 Handle
play-file:[ivr/ivr-welcome_to_freeswitch.wav] (en
                :en)
2015-12-22 02:08:17.874051 [DEBUG] switch_ivr_play_say.c:1359 Codec
Activated L16 at 8000hz 1 channels 20ms
2015-12-22 02:08:20.474053 [DEBUG] switch_ivr_play_say.c:1807 done playing
file /usr/share/freeswitch/sounds/en/us/ca
          llie/ivr/ivr-welcome_to_freeswitch.wav
2015-12-22 02:08:20.594045 [DEBUG] switch_ivr_play_say.c:250 Handle
play-file:[ivr/ivr-this_ivr_will_let_you_test_fea
                tures.wav] (en:en)
2015-12-22 02:08:20.594045 [DEBUG] switch_ivr_play_say.c:1359 Codec
Activated L16 at 8000hz 1 channels 20ms
2015-12-22 02:08:24.574063 [DEBUG] switch_ivr_play_say.c:1807 done playing
file /usr/share/freeswitch/sounds/en/us/ca
          llie/ivr/ivr-this_ivr_will_let_you_test_features.wav
2015-12-22 02:08:24.694045 [DEBUG] switch_ivr_play_say.c:250 Handle
play-file:[ivr/ivr-you_may_exit_by_hanging_up.wav
                ] (en:en)
2015-12-22 02:08:24.694045 [DEBUG] switch_ivr_play_say.c:1359 Codec
Activated L16 at 8000hz 1 channels 20ms
2015-12-22 02:08:27.294049 [DEBUG] switch_ivr_play_say.c:1807 done playing
file /usr/share/freeswitch/sounds/en/us/ca
          llie/ivr/ivr-you_may_exit_by_hanging_up.wav


On Thu, Sep 24, 2015 at 9:08 AM, Raphael Lechner <raphael.lechner at gmail.com>
wrote:

> Hi,
>
> For starting using Freeswitch I suggest reading the books
> https://freeswitch.org/ and the very good documentation:
> https://freeswitch.org/confluence/display/FREESWITCH/FreeSWITCH+Explained
> I don’t see any problem with your configuration, but without the full log
> it’s hard to say anything. Are you working with FS version 1.4.21 or 1.6?
>
> Raphael
>
> On 24 Sep 2015, at 10:00, Vikas Kumar <Vikas.Kumar1 at timesinternet.in>
> wrote:
>
> Thanks for your reply. Yes FS is answering the call before playback.
>
> <include>
>   <context name="over_limit_actions">
>         <extension name="oops, too many calls for this one">
>         <condition field="destination_number"
> expression="handle_over_limit">
> *        <action application="answer"/>*
>         <!--<action application="play_fsv" data="/tmp/manas.fsv"/>-->
> *         <action application="playback" data="/*
> usr/local/videocallhandler/media/InQue1.wav"/>
>          <action application="playback"
> data="/usr/local/videocallhandler/media/id.wav"/>
>          <action application="playback"
> data="/usr/local/videocallhandler/media/InQue2.wav"/>
>         <!-- <action application="play_fsv" data="/tmp/times.fsv"/>-->
>          <action application="endless_playback" data="/tmp/times.wav"/>
>          <!--<action application="playback"
> data="/tmp/2c05151c-be1d-11e3-96ec-77abc117bb00.wav"/>-->
>                         <!--    <action application="httapi" data="{url=
> http://localhost:8080/freetest.php}"/>-->
> <!--
>
> Is it correct behaviour ? I am new to freeswitch.
>
>
> *From:* freeswitch-users-bounces at lists.freeswitch.org [
> mailto:freeswitch-users-bounces at lists.freeswitch.org
> <freeswitch-users-bounces at lists.freeswitch.org>] *On Behalf Of *Raphael
> Lechner
> *Sent:* 24 September 2015 13:15
> *To:* FreeSWITCH Users Help
> *Subject:* Re: [Freeswitch-users] Playback is not working
>
> Hi,
>
> Have you answered the call before the playback?
> https://freeswitch.org/confluence/display/FREESWITCH/Answer
>
> Raphael
>
>
> On 23 Sep 2015, at 07:19, Vikas Kumar <Vikas.Kumar1 at timesinternet.in>
> wrote:
>
> Hi All,
>
> I am getting this log, but I am not able to hear any sound or audio files
> are not being played.
> But logs says :
>
> 2015-09-23 10:46:51.722460 [DEBUG] switch_ivr_play_say.c:1305 Codec
> Activated L16 at 8000hz 1 channels 20ms
> 2015-09-23 10:46:55.782300 [DEBUG] switch_ivr_play_say.c:1708 *done
> playing file
> /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-too-small.wav*
> 2015-09-23 10:46:55.782300 [DEBUG] switch_ivr.c:191 Codec Activated
> L16 at 8000hz 1 channels 20ms
> 2015-09-23 10:46:55.882377 [DEBUG] switch_ivr_play_say.c:70 No language
> specified - Using [en]
> 2015-09-23 10:46:55.882377 [DEBUG] switch_ivr_play_say.c:250 Handle
> play-file:[voicemail/vm-record_message.wav] (en:en)
> 2015-09-23 10:46:55.882377 [DEBUG] switch_ivr_play_say.c:1305 Codec
> Activated L16 at 8000hz 1 channels 20ms
> 2015-09-23 10:47:00.482235 [DEBUG] switch_ivr_play_say.c:1708 done playing
> file
> /usr/local/freeswitch/sounds/en/us/callie/voicemail/vm-record_message.wav
> 2015-09-23 10:47:00.482235 [DEBUG] switch_ivr.c:191 Codec Activated
> L16 at 8000hz 1 channels 20ms
> 2015-09-23 10:47:01.602224 [DEBUG] switch_ivr_play_say.c:585 Raw Codec
> Activated
> 2015-09-23 10:47:01.602224 [DEBUG] switch_core_codec.c:219
> sofia/internal/1012 at 119.9.73.183 Push codec L16:70
> 2015-09-23 10:47:03.602229 [DEBUG] switch_core_codec.c:244
> sofia/internal/1012 at 119.9.73.183 Restore previous codec GSM:3.
> 2015-09-23 10:47:03.602229 [DEBUG] mod_voicemail.c:1244 Message is less
> than minimum record length: 3, discarding it.
> 2015-09-23 10:47:03.602229 [DEBUG] switch_ivr_play_say.c:70 No language
> specified - Using [en]
> 2015-09-23 10:47:03.602229 [DEBUG] switch_ivr_play_say.c:250 Handle
> play-file:[voicemail/vm-too-small.wav] (en:en)
> 2015-09-23 10:47:03.602229 [DEBUG] switch_ivr_play_say.c:1305 Codec
> Activated L16 at 8000hz 1 channels 20ms
>
> Did anybody faced this issue??. Please let me know..Its urgent.!!!
>
> Thanks
> vikas
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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
>
>
>
> Disclaimer :-
> The information in this e-mail and any attachments is confidential and may be
> legally privileged. It is intended solely for the addressee or addressees. If you are
> not an intended recipient, please delete the message and any attachments and
> notify the sender of misdelivery. Any use or disclosure of the contents of either is
> unauthorised and may be unlawful. All liability for viruses is excluded to the fullest
> extent permitted by law. Any views expressed in this message are those of the
> individual sender, except where the sender states them, with requisite authority, to
> be those of the specific TIMES GROUP company.
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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/20151221/75f612cd/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list