[asterisk-users] Problem with DTMF dialing
Ian
asterisk at iancoetzee.za.net
Mon Feb 4 01:38:30 CST 2008
Thanks for the speedy reply
Tzafrir Cohen said the following on 30-Jan-08 12:37 PM:
> On Wed, Jan 30, 2008 at 09:21:31AM +0200, Ian wrote:
>
>> Hi all
>>
>> I have a small problem here. I asked this question on another asterisk
>> mailing list, but nobody seemed to be able to help me there.
>>
>> We are running
>>
>> * Asterisk 1.4.17
>> * Libpri 1.4.3
>> * Zaptel 1.4.8
>>
>> on a 1.6 dual core, 2GB ram and a digium TDM800P wildcard, hardware echo
>> cancelation and a quad FXO card.
>>
>> We have 4 analog lines, one of which is a Cellphone line for least cost
>> routing.
>>
>> The problem I am having is dialing out using DTMF signalling. At the
>> moment I am making do with Pulse dialing through the 3 analog lines. I
>> can recieve calls on the Cellphone line without any problems, but cant
>> dial out through it, as a cellphone cant do pulse dialing. I have run
>> "ztmonitor 1 -f gains", where 1 is the zap channel where the cellphone
>> is located, while dialing the number 072 031 1294. I then went to
>> audacity, on my own pc, and converted the raw file into mp3 format,
>>
>
> mp3 is a compressed format, and hence may lose some quality. Generally
> you should stick with wav. ztmonitor should spit the appropriate sox
> command to do the conversion. Maybe it would look slightly different in
> the original format.
>
Ok I tried this everywhich way I could but everytime I came up short of
an answer. Meaning I am unable to find the right sox command to get this
converted to wav on the same computer, so once again I got it to my pc,
and then using my favourite friend, audacity I imported it as a raw
format at 8000Hz, and exported it as a wav file this time, available for
download from http://www.iancoetzee.za.net/gain.wav. it has the same
effect, the numbers I dialed and the feedback I got is two different things.
>
>> which is available for download at
>> http://www.iancoetzee.za.net/tone_dial.mp3. After listening to the
>> playback I concluded that the DTMF signals being sent is totally wrong.
>>
>
> Is that the whole tone? It is too short to be a valid DTMF.
>
Yes that was the dial bit, this time I included the whole recording from
beginning to end. if you count the tones you get to 10, which is the
correct amount for South Africa. Another thing that got me worried is
the fact that the last digit has a fair ammount of pause (about the same
length of another tone) before it is sent.
If you want I can upload the raw data to my server as well.
Regards
Ian
--
www.vddi.co.za <http://www.vddi.co.za/>
I Coetzee
IT Technician
Telephone : 012 664 2300
cellphone : 079 522 6519
Fax : 012 644 2902
E-mail : ian at vddi.co.za
Skype : vddb_igcoetzee
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080204/b9599e5e/attachment-0001.htm
More information about the asterisk-users
mailing list