[Freeswitch-users] Possible bug in playback: local_stream://moh

Brian West brian at freeswitch.org
Wed Dec 11 12:32:58 MSK 2013


JIRA is where patches go!  ;)

Sent from my iPhone

> On Dec 10, 2013, at 7:33 PM, Nuno Reis <nreis at wavecom.pt> wrote:
> 
> I forgot to attach the patch on the last email.
> 
> Cheers,
> 
> --
> 
> Nuno Miguel Reis | Unified Communication Systems
> M. +351 913907481 | nreis at wavecom.pt
> 
> WAVECOM-Soluções Rádio, S.A.
> Cacia Park | Rua do Progresso, Lote 15
> 3800-639 AVEIRO | Portugal
> T. +351 309 700 225 | F. +351 234 919 191
> GPS | www.wavecom.pt
> 
> <image001.png>
> 
> 
> 
> 
> 
> 
> 
>> On Wed, Dec 11, 2013 at 1:32 AM, Nuno Reis <nreis at wavecom.pt> wrote:
>> Hi Anthony.
>> 
>> Thanks for getting involved in this thread. Only today I've been able to compile the latest stable on my CentOS 6.4 production pipe. I have been dealing with the endless loop issue (FS-5956) during compile time until now.
>> I've manage to figure out the problem and rolled-back some changes on some Makefiles. A patch showing those changes follows attached. I've also attached the patch in jira's (FS-5956). I hope that can be helpful to solve that annoying problem, it seems to appear only in CentOS (maybe on other redhat based distros).
>> Regarding the playback of local_sream://moh i can tell that it is solved in v1.2stable HEAD.
>> Thank you Brian for trying to help me hunting down this issue, although for now everything is working again as expected, no further action is needed.
>> 
>> Cheers,
>> --
>> 
>> Nuno Miguel Reis | Unified Communication Systems
>> M. +351 913907481 | nreis at wavecom.pt
>> 
>> WAVECOM-Soluções Rádio, S.A.
>> Cacia Park | Rua do Progresso, Lote 15
>> 3800-639 AVEIRO | Portugal
>> T. +351 309 700 225 | F. +351 234 919 191
>> GPS | www.wavecom.pt
>> 
>> <image001.png>
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>> On Tue, Dec 10, 2013 at 6:40 PM, Anthony Minessale <anthony.minessale at gmail.com> wrote:
>>> You're moving too slow.  Try HEAD of 1.2. By the time you wen't and got 1.2.14 1.2.15 is released with 1.2.16 in the wings.
>>> 
>>> 
>>> 
>>>> On Tue, Dec 10, 2013 at 10:58 AM, Nuno Reis <nreis at wavecom.pt> wrote:
>>>> Hi Brian.
>>>> 
>>>> I can confirm that media flows do exist, although the byte pattern that i get with ngrep looks always the same when a call the local_stream://moh.
>>>> The media pattern for playback(local_stream://moh) can be seen here.
>>>> The media pattern for playback(tone_stream://path=${base_dir}/conf/tetris.ttml) which is audible can be seen here.
>>>> 
>>>> In the meanwhile I've updated my code tree from commit (456f69a62b2fa4df7ac8438b30ba68e74c2a04fc) which corresponds to v1.2stable FS 1.2.14 to commit (cb4a26af0d7121f0e32a53333182b66ce9ca9747).
>>>> After the update i wasn't able to compile again (i'm trying to figure out what is causing the endless loop), you can see why in the attached email which I've sent to the freeswitch-dev mailing list last Friday.
>>>> 
>>>> Looking forward to hear from you again.
>>>> 
>>>> Best Regards,
>>>> --
>>>> 
>>>> Nuno Miguel Reis | Unified Communication Systems
>>>> M. +351 913907481 | nreis at wavecom.pt
>>>> 
>>>> WAVECOM-Soluções Rádio, S.A.
>>>> Cacia Park | Rua do Progresso, Lote 15
>>>> 3800-639 AVEIRO | Portugal
>>>> T. +351 309 700 225 | F. +351 234 919 191
>>>> GPS | www.wavecom.pt
>>>> 
>>>> <image001.png>
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> ---------- Forwarded message ----------
>>>> From: Nuno Reis <nreis at wavecom.pt>
>>>> Date: Fri, Dec 6, 2013 at 7:30 PM
>>>> Subject: endless recusive process fork during build of latest stable in centOS 6.4
>>>> To: freeswitch-dev at lists.freeswitch.org
>>>> 
>>>> 
>>>> Hi guys.
>>>> 
>>>> I've just tried to compile the latest stable 1.2v branch and I'm getting stuck on an endless process fork as seen here (ps fax output)
>>>> 
>>>> This is a freeswitch RPM production pipe system on a centOS 6.4 x86_64.
>>>> 
>>>> The latest version successfully compiled here was commit (456f69a62b2fa4df7ac8438b30ba68e74c2a04fc).
>>>> 
>>>> Should i open another Jira for this? It looks like FS-5956 already addresses this issue or something quite similar.
>>>> 
>>>> Looking forward to hear from you.
>>>> 
>>>> BR,
>>>> --
>>>> 
>>>> Nuno Miguel Reis | Unified Communication Systems
>>>> M. +351 913907481 | nreis at wavecom.pt
>>>> 
>>>> WAVECOM-Soluções Rádio, S.A.
>>>> Cacia Park | Rua do Progresso, Lote 15
>>>> 3800-639 AVEIRO | Portugal
>>>> T. +351 309 700 225 | F. +351 234 919 191
>>>> GPS | www.wavecom.pt
>>>> 
>>>> <image001.png>
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>>> On Mon, Dec 9, 2013 at 6:08 PM, Brian West <brian at freeswitch.org> wrote:
>>>>> Nuno,
>>>>>         Well have you actually looked at the signaling of the phone calls to verify media is flowing?
>>>>> --
>>>>> Brian West
>>>>> brian at freeswitch.org
>>>>> FreeSWITCH Solutions, LLC
>>>>> PO BOX 2531
>>>>> Brookfield, WI 53008-2531
>>>>> Twitter: @FreeSWITCH_Wire , @briankwest
>>>>> http://www.freeswitchbook.com
>>>>> http://www.freeswitchcookbook.com
>>>>> 
>>>>> T: +1.918.420.9001  |  F: +1.918.420.9002  |  M: +1.918.424.WEST
>>>>> iNUM: +883 5100 1420 9001
>>>>> ISN: 410*543
>>>>> Skype:briankwest
>>>>> PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED)
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> 
>>>>> On Dec 6, 2013, at 9:04 AM, Nuno Reis <nreis at wavecom.pt> wrote:
>>>>> 
>>>>> > Hi guys!
>>>>> >
>>>>> > An update on this issue, local_stream also works fine in Version 1.5.7b git 7a77d2f.
>>>>> > I'll try to update my stable version from 1.2.14 to the latest stable and let's see what happens.
>>>>> > I'll update again when i have more info.
>>>>> >
>>>>> > --
>>>>> >
>>>>> > Nuno Miguel Reis | Unified Communication Systems
>>>>> > M. +351 913907481 | nreis at wavecom.pt
>>>>> >
>>>>> > WAVECOM-Soluções Rádio, S.A.
>>>>> > Cacia Park | Rua do Progresso, Lote 15
>>>>> > 3800-639 AVEIRO | Portugal
>>>>> > T. +351 309 700 225 | F. +351 234 919 191
>>>>> > GPS | www.wavecom.pt
>>>>> >
>>>>> > <image001.png>
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>> > On Fri, Dec 6, 2013 at 1:10 AM, Nuno Reis <nreis at wavecom.pt> wrote:
>>>>> > Hi guys.
>>>>> >
>>>>> > I've just noticed that playback of local_stream://moh stopped working after upgrading from FS 1.2.3 to 1.2.14
>>>>> >
>>>>> > Here's the tail output from the dailplan in FS 1.2.3 (everything works):
>>>>> > ...
>>>>> > EXECUTE sofia/internal/nmreis at domain1_2_3 playback(local_stream://moh)
>>>>> > 2013-12-06 00:54:42.099381 [DEBUG] mod_local_stream.c:417 Opening Stream [moh/8000] 8000hz
>>>>> > 2013-12-06 00:54:42.099381 [DEBUG] switch_ivr_play_say.c:1309 Codec Activated L16 at 8000hz 1 channels 20ms
>>>>> > ...
>>>>> >
>>>>> > Here's the tail output from the dailplan in FS 1.2.14 (everything still seems to be ok but i can't hear any sound):
>>>>> > ...
>>>>> > EXECUTE sofia/internal/nmreis at domain_1_2_14 playback(local_stream://moh)
>>>>> > 2013-12-06 00:57:46.057502 [DEBUG] mod_local_stream.c:498 Opening Stream [moh/8000] 8000hz
>>>>> > 2013-12-06 00:57:46.057502 [DEBUG] switch_ivr_play_say.c:1319 Codec Activated L16 at 8000hz 1 channels 20ms
>>>>> > ...
>>>>> >
>>>>> > This issue is happening accross several FSs running 1.2.14.
>>>>> > The only FSs where i'm able to hear moh are on the old 1.2.3 versions.
>>>>> >
>>>>> > Anyone experiencing the same thing? Any hints?
>>>>> >
>>>>> > Looking forward to hear from you.
>>>>> >
>>>>> > BR,
>>>>> > --
>>>>> >
>>>>> > Nuno Miguel Reis | Unified Communication Systems
>>>>> > M. +351 913907481 | nreis at wavecom.pt
>>>>> >
>>>>> > WAVECOM-Soluções Rádio, S.A.
>>>>> > Cacia Park | Rua do Progresso, Lote 15
>>>>> > 3800-639 AVEIRO | Portugal
>>>>> > T. +351 309 700 225 | F. +351 234 919 191
>>>>> > GPS | www.wavecom.pt
>>>>> >
>>>>> > <image001.png>
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>> > _________________________________________________________________________
>>>>> > 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
>>>>> 
>>>>> 
>>>>> _________________________________________________________________________
>>>>> 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
>>>> 
>>>> 
>>>> _________________________________________________________________________
>>>> 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
>>> 
>>> 
>>> 
>>> -- 
>>> Anthony Minessale II
>>> 
>>>http://www.freeswitch.org/http://www.cluecon.com/http://twitter.com/FreeSWITCH
>>> ☞ irc.freenode.net #freeswitch
>>> 
>>> ClueCon Weekly Development Call 
>>> ☎ sip:888 at conference.freeswitch.org  ☎ +19193869900 
>>> 
>>> 
>>> _________________________________________________________________________
>>> 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
> 
> <centos.patch>
> _________________________________________________________________________
> 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/20131211/1b98109f/attachment-0001.html 


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