[ previous ] [ next ] [ threads ]
 To :  Andrew Checkov <expert@a...>
 From :  Saugort Dario Garcia Tovar <dgarcia@a...>
 Subject :  Re: [yate] SS7 and mulaw
 Date :  Thu, 17 Jun 2010 08:19:35 -0430
Andrew,

Have you check your prompts? In some equipment, even when they can 
support mu-law and a-law they require two sets of prompts: one recorded 
for mu-law other one for a-law. I don't know if YATE or the telephony 
board (digium, sangoma, etc) are capable of transcode in realtime a 
prompt/sound/voice form u-law to a-law.

But you can try put a wave file recorded for mu-law and test. You can 
use goldwave or another sound editor and convert your sound files from 
a-law to mu-law quite easy.

Andrew Checkov wrote:
> Paul,
>
> In general your patch works - now log says
>
>     [format] => mulaw
>
> and
>
>  ToneSource::ToneSource(0xc4f074) 'milliwatt' [0x91280f8]
>  Created DataTranslator 0x9155ac0 for 'slin' -> 'mulaw' by factory
> 0xf91468 (len=1)
>  DataTranslator::attachChain [0x91280f8] 'slin' -> [0x9146588] 'mulaw'
> succeeded
>
> But the sound is still distorted. I have played with bitswap at wpcard.conf
> - the sound was different and still highly distorted.
>
> Any ideas on the problem? We have Sangoma A104u on yate side which works
> perfect with another telco.
>
> Regards,
> Andrew
>
>
>
>   
>> -----Original Message-----
>> From: Paul Chitescu [mailto:paulc@v...]
>> Sent: Thursday, June 17, 2010 14:00
>> To: yate@v...
>> Subject: Re: [yate] SS7 and mulaw
>>
>> Hi!
>>
>> The problem was caused by an error in our code, it ignored the "formats"
>> setting and always used the default for the point code type (ITU -> A-
>> law).
>>
>> SVN Rev. 3388 fixes this bug.
>>
>> Regards,
>>
>> Paul
>>
>>
>> On Thursday 17 June 2010 12:30:43 pm Andrew Checkov wrote:
>>     
>>> Hi,
>>>
>>> I has the yate switch with 2 SS7 linksets - one is alaw and works fine
>>>       
>> and
>>     
>>> second is an ulaw.
>>> [...]
>>> ------------------------------------------------------------------------
>>>
>>>
>>> No virus found in this incoming message.
>>> Checked by AVG - www.avg.com 
>>> Version: 9.0.829 / Virus Database: 271.1.1/2942 - Release Date: 06/16/10 14:05:00
>>>
>>>       




Andrew,

Have you check your prompts? In some equipment, even when they can support mu-law and a-law they require two sets of prompts: one recorded for mu-law other one for a-law. I don't know if YATE or the telephony board (digium, sangoma, etc) are capable of transcode in realtime a prompt/sound/voice form u-law to a-law.

But you can try put a wave file recorded for mu-law and test. You can use goldwave or another sound editor and convert your sound files from a-law to mu-law quite easy.

Andrew Checkov wrote:
Paul,

In general your patch works - now log says

    [format] => mulaw

and

<tone:ALL> ToneSource::ToneSource(0xc4f074) 'milliwatt' [0x91280f8]
<ALL> Created DataTranslator 0x9155ac0 for 'slin' -> 'mulaw' by factory
0xf91468 (len=1)
<ALL> DataTranslator::attachChain [0x91280f8] 'slin' -> [0x9146588] 'mulaw'
succeeded

But the sound is still distorted. I have played with bitswap at wpcard.conf
- the sound was different and still highly distorted.

Any ideas on the problem? We have Sangoma A104u on yate side which works
perfect with another telco.

Regards,
Andrew



  
-----Original Message-----
From: Paul Chitescu [mailto:paulc@v...]
Sent: Thursday, June 17, 2010 14:00
To: yate@v...
Subject: Re: [yate] SS7 and mulaw

Hi!

The problem was caused by an error in our code, it ignored the "formats"
setting and always used the default for the point code type (ITU -> A-
law).

SVN Rev. 3388 fixes this bug.

Regards,

Paul


On Thursday 17 June 2010 12:30:43 pm Andrew Checkov wrote:
    
Hi,

I has the yate switch with 2 SS7 linksets - one is alaw and works fine
      
and
    
second is an ulaw.
[...]

No virus found in this incoming message. Checked by AVG - www.avg.com Version: 9.0.829 / Virus Database: 271.1.1/2942 - Release Date: 06/16/10 14:05:00