Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[hylafax-users] how to play non-uLaw audio data
hi, all
now I want to play my voice message when some guy dial in. but I found my modem don't support uLaw raw audio data, it only support below audio data:
at+vsm=?
0,"8-Bit Linear",8,0,(4800,7200,8000,9600,11025),(0),(0)
1,"16-Bit Linear",16,0,(4800,7200,8000,9600,11025),(0),(0)
2,"4-Bit ADPCM",4,0,(4800,7200,8000,9600,11025),(0),(0)
128,"8-Bit Linear",8,0,(4800,7200,8000,9600,11025),(0),(0)
129,"16-Bit Linear",16,0,(4800,7200,8000,9600,11025),(0),(0)
132,"4-Bit ADPCM",4,0,(4800,7200,8000,9600,11025),(0),(0)
140,"CL1",8,0,(4800,7200,8000,9600,11025),(0),(0)
141,"3-Bit ADPCM",3,0,(4800,7200,8000,9600,11025),(0),(0)
OK
so I change modem parameter as below:
ModemRingResponse: "AT+FCLASS=8\nAT+VSM=128\nAT+VLS=1\nAT+VTS=[933,,150]\nAT+VTX\n<waitfor:CONNECT><play:1><waitfor:OK>"
ModemAnswerCmd: "<delay:100>AT+FCLASS=1;A"
CallIDPattern: SHIELDED_DTMF
CallIDAnswerLength: 4
and translate audio data with command "sox test.wav -u -b -r 8000 -c1 play1.raw", unfortunately when i call my fax, i hear some noise. I appreciate any help, Thanks
my version:4.2.5.3 compile from source
allen yang
____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@xxxxxxxxxxx < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@xxxxxxxxx*