[Asterisk-Users]Re: Problem with sox

Mamadou Lamine KA lamineka at chaka.sn
Tue Nov 16 11:42:56 MST 2004


Thanks Dawson,

12.17.5 version works fine but i have got to mix files in gsm format first
before converting it to wav by using sox. But soxmix doesn't work directly
with wav files.

Altus, try using groups in zapata.conf. This can be done by adding

group=1
callgroup=1
pickupgroup=1

before channels vpb/1-3 and vpb/1-4

and then in extensions.conf you will have something like

exten => _0.,1,SetVar(CALLFILENAME=${EXTEN:1}-${TIMESTAMP})
exten => _0.,2,Monitor(wav,${CALLFILENAME},m)
exten => _0.,3,Dial(vpb/g1/${EXTEN:1})
exten => _0.,104,Congestion

Hope this help

Lamine





>I installed the new version of asterisk
>But the other probelm I got was,were are using the voicetronix cards,so
>if you go and put
>ignorepat => 0
>exten => _0.,1,SetVar(CALLFILENAME=${EXTEN:1}-${TIMESTAMP})
>exten => _0.,2,Monitor(wav,${CALLFILENAME},m)
>exten => _0.,3,Dial(vpb/1-3/${EXTEN:1})
>exten => _0.,4,Dial(vpb/1-4/${EXTEN:1})
>exten => _0.,5,Congestion
>exten => _0.,104,Congestion
>
>And make a call it will go out on vpb/1-3
>But when another call is maed it will keep on trying to go out on
>vpb/1-3 instead of detecting a busey signal and moving to vpb/1-4
>If I take out the whole moniter part it works 100?
>Beats me
>Altus

>dawson wrote:

>>It's appears to be broken in that version.
>>Go back to sox-12-17.5(it should work).
>>
>>
>>
>>
>>>Hello,
>>>
>>>I have installed sox-12.17.6 from sources with 2.4.27 kernel but i can't
>>>
>>>
>>mix
>>
>>
>>>audio files. (For both wav and gsm formats)
>>>For example, when i try "soxmix filename-in.wav filename-out.wav
>>>filename.wav". Everything seems ok. There no error messages. But the
>>>
>>>
>>output
>>
>>
>>>file (filename.wav) is empty, as if the volume was turned off. Am I doing
>>>something wrong or is that a bug?
>>>
>>>Thanks for any hint
>>>
>>>Lamine





More information about the asterisk-users mailing list