[Freeswitch-users] Getting 503 Service Unavailable while enable record_session

Michael Jerris mike at jerris.com
Fri Sep 25 15:35:35 MSD 2015


sounds_like_a_bug=true

On Friday, September 25, 2015, bhavik patel <bhavikpatel14388 at gmail.com>
wrote:

> Now i am facing one strange issue like, if there is a long duration call
> around 500 to 600 sec then voice in recording file is very fast and not
> able to listen it properly.
>
> Is there any kind of settings in freeswitch to make it proper ?
>
>
> On Tue, Sep 22, 2015 at 7:32 PM, Stanislav Sinyagin <ssinyagin at gmail.com
> <javascript:_e(%7B%7D,'cvml','ssinyagin at gmail.com');>> wrote:
>
>> well, that's basically the answer. In pass-through mode, FreeSWITCH does
>> not see the RTP packets, as they are transported between the endpoints
>> directly.
>>
>> So, in order to be able to record the sessions, you need to purchase G729
>> licenses and disable pass-through. That will also increase the CPU load,
>> because FreeSWITCH will be a transit hop for the media.
>>
>>
>>
>>
>>
>> On Tue, Sep 22, 2015 at 10:14 AM, bhavik patel <
>> bhavikpatel14388 at gmail.com
>> <javascript:_e(%7B%7D,'cvml','bhavikpatel14388 at gmail.com');>> wrote:
>>
>>> Hi,
>>>
>>> On server debug log is off.We are using G729 as Passthrough mode and
>>> trying to record a session in .wav format for that we are doing like.
>>>
>>> <action application="set" data="RECORD_STEREO=true"/>
>>> <action application="export" data="execute_on_answer=record_session
>>> "usr/local/freeswitch/sounds/recoridng_files/${uuid}.wav"/>
>>>
>>>
>>> But after Answered the calls are failed and getting this.
>>>
>>> *2015-09-22 08:59:48.681062 [NOTICE] sofia.c:7442 Channel
>>> [sofia/default/XX7971313XX] has been answered*
>>> EXECUTE sofia/default/XX7971313XX
>>> record_session(/usr/local/freeswitch/sounds/recording_files/754a295a-60f7-11e5-8d79-e7671837ae74.wav)
>>> 2015-09-22 08:59:48.681062 [DEBUG] switch_core_media_bug.c:519 Attaching
>>> BUG to sofia/default/XX7971313XX
>>> 2015-09-22 08:59:48.681062 [DEBUG] switch_channel.c:3711
>>> (sofia/default/XX7971313XX) Callstate Change RINGING -> ACTIVE
>>> 2015-09-22 08:59:48.681062 [ERR] mod_g729.c:145 This codec is only
>>> usable in passthrough mode!
>>> 2015-09-22 08:59:48.681062 [ERR] switch_core_io.c:1323 Codec G.729
>>> decoder error!
>>> 2015-09-22 08:59:48.681062 [DEBUG] switch_ivr_bridge.c:579
>>> sofia/default/XX7971313XX ending bridge by request from write function
>>> 2015-09-22 08:59:48.701100 [DEBUG] switch_ivr_async.c:1303 Stop
>>> recording file
>>> /usr/local/freeswitch/sounds/recording_files/754a295a-60f7-11e5-8d79-e7671837ae74.wav
>>> 2015-09-22 08:59:48.701100 [DEBUG] switch_ivr_bridge.c:1566
>>> sofia/default/XX7971313XX skip receive message [UNBRIDGE] (channel is
>>> hungup already)
>>>
>>> I am using very high configuration server.
>>> Which have.
>>>
>>> RAM : 128GB
>>> Harddisk : 6TB
>>> OS : CentOS release 6.7
>>>
>>> My calls pass using g729 Passthrough.
>>> Should i need to purchase license for Call recording ?
>>>
>>> On Mon, Sep 21, 2015 at 7:54 PM, Brian West <brian at freeswitch.org
>>> <javascript:_e(%7B%7D,'cvml','brian at freeswitch.org');>> wrote:
>>>
>>>> What kind of hardware are you running on and what does the signaling
>>>> say?  The ultimate truth as to what is going on will be in the logs,
>>>> FreeSWITCH is rather chatty when debug mode is on. :)
>>>>
>>>> /b
>>>>
>>>>
>>>> On Mon, Sep 21, 2015 at 4:08 AM, bhavik patel <
>>>> bhavikpatel14388 at gmail.com
>>>> <javascript:_e(%7B%7D,'cvml','bhavikpatel14388 at gmail.com');>> wrote:
>>>>
>>>>> I did try to setup like ,
>>>>>
>>>>> <param name="max-sessions" value="2000"/>
>>>>> <param name="sessions-per-second" value="500"/>
>>>>>
>>>>> Here:
>>>>> *fs_cli -x"status"*
>>>>> UP 0 years, 0 days, 1 hour, 59 minutes, 10 seconds, 738 milliseconds,
>>>>> 807 microseconds
>>>>> FreeSWITCH (Version 1.4.21 git a223dd0 2015-09-01 20:26:22Z 64bit) is
>>>>> ready
>>>>> 155177 session(s) since startup
>>>>> 375 session(s) - peak 473, last 5min 464
>>>>> 30 session(s) per Sec out of max 500, peak 83, last 5min 66
>>>>> 2000 session(s) max
>>>>> min idle cpu 0.00/36.30
>>>>> Current Stack Size/Max 240K/8192K
>>>>>
>>>>> But getting same result.
>>>>> Any help will be appreciated.
>>>>>
>>>>> On Mon, Sep 21, 2015 at 9:34 AM, bhavik patel <
>>>>> bhavikpatel14388 at gmail.com
>>>>> <javascript:_e(%7B%7D,'cvml','bhavikpatel14388 at gmail.com');>> wrote:
>>>>>
>>>>>> Thank you for reply.
>>>>>>
>>>>>> In my switch.conf.xml file have following setting.
>>>>>>
>>>>>> <param name="max-sessions" value="1000"/>
>>>>>> <param name="sessions-per-second" value="30"/>
>>>>>>
>>>>>>
>>>>>> What should be the proper value for this parameter for call
>>>>>> recording.?
>>>>>>
>>>>>> In my server i have 100+ CC.
>>>>>>
>>>>>>  Please suggest here.
>>>>>>
>>>>>>
>>>>>> On Sun, Sep 20, 2015 at 7:16 PM, Volodymyr Fedorov <lexxua at gmail.com
>>>>>> <javascript:_e(%7B%7D,'cvml','lexxua at gmail.com');>> wrote:
>>>>>>
>>>>>>> In my setup Freeswitch handles up to simultaneous 210 recorded calls
>>>>>>> in OpenVZ container.As mentioned above just adjust in
>>>>>>> "/etc/freeswitch/autoload_configs/switch.conf.xml" values of variables:
>>>>>>> "max-sessions" and "sessions-per-second".
>>>>>>>
>>>>>>>
>>>>>>> On Sun, Sep 20, 2015 at 8:46 AM, Kamil Nigmatullin <
>>>>>>> kamil.nigmatullin at gmail.com
>>>>>>> <javascript:_e(%7B%7D,'cvml','kamil.nigmatullin at gmail.com');>>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> 30 calls limit is by default and can be configured according to
>>>>>>>> your needs
>>>>>>>> 20 сент. 2015 г. 0:14 пользователь "Stanislav Sinyagin" <
>>>>>>>> ssinyagin at gmail.com
>>>>>>>> <javascript:_e(%7B%7D,'cvml','ssinyagin at gmail.com');>> написал:
>>>>>>>>
>>>>>>>> Recording 100 simultaneous sessions shouldn't be a problem on a
>>>>>>>>> decent baremetal server.
>>>>>>>>>
>>>>>>>>> Keep in mind that the default maximum is 30 calls per second, and
>>>>>>>>> you may easily hit that limit in your tests.
>>>>>>>>> On Sep 19, 2015 3:05 PM, "bhavik patel" <
>>>>>>>>> bhavikpatel14388 at gmail.com
>>>>>>>>> <javascript:_e(%7B%7D,'cvml','bhavikpatel14388 at gmail.com');>>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Guys,
>>>>>>>>>>
>>>>>>>>>> I am using record_session applications on one of my live server,
>>>>>>>>>> which have 100 concurrent calls are running.
>>>>>>>>>>
>>>>>>>>>> When i enable using dialplan then calls are dropping and getting
>>>>>>>>>> most of call "503 Service Unavilable", so it means record_session
>>>>>>>>>> generating load on freeswitch.
>>>>>>>>>>
>>>>>>>>>> I am using FreeSWITCH Version
>>>>>>>>>> 1.4.21+git~20150901T202622Z~a223dd0236~64bit (git a223dd0 2015-09-01
>>>>>>>>>> 20:26:22Z 64bit).
>>>>>>>>>>
>>>>>>>>>> Can any one please suggest me is it bug of Freeswitch ?
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Thanks,
>>>>>>>>>> Bhavik Patel
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> _________________________________________________________________________
>>>>>>>>>> Professional FreeSWITCH Consulting Services:
>>>>>>>>>> consulting at freeswitch.org
>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','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
>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','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
>>>>>>>>> <javascript:_e(%7B%7D,'cvml','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
>>>>>>>>> <javascript:_e(%7B%7D,'cvml','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
>>>>>>>> <javascript:_e(%7B%7D,'cvml','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
>>>>>>>> <javascript:_e(%7B%7D,'cvml','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
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Best regards,
>>>>>>> Volodymyr
>>>>>>>
>>>>>>>
>>>>>>> _________________________________________________________________________
>>>>>>> Professional FreeSWITCH Consulting Services:
>>>>>>> consulting at freeswitch.org
>>>>>>> <javascript:_e(%7B%7D,'cvml','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
>>>>>>> <javascript:_e(%7B%7D,'cvml','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
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Thanks,
>>>>>> Bhavik Patel
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thanks,
>>>>> Bhavik Patel
>>>>>
>>>>>
>>>>>
>>>>> _________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services:
>>>>> consulting at freeswitch.org
>>>>> <javascript:_e(%7B%7D,'cvml','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
>>>>> <javascript:_e(%7B%7D,'cvml','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
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *Brian West*
>>>> brian at freeswitch.org
>>>> <javascript:_e(%7B%7D,'cvml','brian at freeswitch.org');>
>>>>
>>>>
>>>> *Twitter: @FreeSWITCH , @briankwest*
>>>> http://www.freeswitchbook.com
>>>> http://www.freeswitchcookbook.com
>>>>
>>>> Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
>>>> /r/freeswitch <https://www.reddit.com/r/freeswitch>
>>>>
>>>> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
>>>> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> <javascript:_e(%7B%7D,'cvml','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
>>>> <javascript:_e(%7B%7D,'cvml','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
>>>>
>>>
>>>
>>>
>>> --
>>> Thanks,
>>> Bhavik Patel
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> <javascript:_e(%7B%7D,'cvml','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
>>> <javascript:_e(%7B%7D,'cvml','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
>> <javascript:_e(%7B%7D,'cvml','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
>> <javascript:_e(%7B%7D,'cvml','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
>>
>
>
>
> --
> Thanks,
> Bhavik Patel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150925/a087a793/attachment-0001.html 


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