[asterisk-users] Problem with DTMF dialing

Ian asterisk at iancoetzee.za.net
Tue Feb 12 09:40:53 CST 2008


Hi all,

its been quite a busy few day with pc's packing up etc, I recompile my 
whole asterisk today using zaptel 1.4.7.1 and now the problem is 
miraculously fixed, I will be sending this report to Digium bugs as well.

Just a quick heads up for the order in which I had to recompile in order 
for this to work

   1. Recompile Zaptel
   2. Restart Asterisk, asterisk doesn't pick up the zap channels
   3. Recompile Libpri
   4. Retart Asterisk, still no zap channels
   5. Doing the thing I was hoping to skip, Recompile Asterisk
   6. Everything in working order

Did I miss something for me to have to only recompile zaptel, or is that 
the way of doing things?

Thank you all for your support

Please scroll down to see the answers to my own stupid questions :-)

Regards
Ian

Ian said the following on 04-Feb-08 09:38 AM:
> 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:
>>   
>>>
>>> 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.
Btw I found the right command, I just had to do a bit of READING the 
usage when doing ztmonitor
>>   
>>> 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.
The puase is still there though, but atleast it dials now.
>
> If you want I can upload the raw data to my server as well.
>
> Regards
> Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080212/f4c7679d/attachment-0001.htm 


More information about the asterisk-users mailing list