<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi all,<br>
<br>
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.<br>
<br>
Just a quick heads up for the order in which I had to recompile in
order for this to work<br>
<ol>
  <li>Recompile Zaptel</li>
  <li>Restart Asterisk, asterisk doesn't pick up the zap channels</li>
  <li>Recompile Libpri</li>
  <li>Retart Asterisk, still no zap channels</li>
  <li>Doing the thing I was hoping to skip, Recompile Asterisk</li>
  <li>Everything in working order</li>
</ol>
Did I miss something for me to have to only recompile zaptel, or is
that the way of doing things?<br>
<br>
Thank you all for your support<br>
<br>
Please scroll down to see the answers to my own stupid questions :-)<br>
<br>
Regards<br>
Ian<br>
<br>
Ian said the following on 04-Feb-08 09:38 AM:
<blockquote cite="mid:47A6C0F6.9090305@iancoetzee.za.net" type="cite">
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
Thanks for the speedy reply<br>
  <br>
Tzafrir Cohen said the following on 30-Jan-08 12:37 PM:
  <blockquote cite="mid:20080130103721.GE3056@xorcom.com" type="cite">
    <pre wrap="">On Wed, Jan 30, 2008 at 09:21:31AM +0200, Ian wrote:
  </pre>
    <blockquote type="cite">
      <pre wrap="">

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, 
    </pre>
    </blockquote>
    <pre wrap=""><!---->
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.
  </pre>
  </blockquote>
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 <a moz-do-not-send="true"
 class="moz-txt-link-freetext"
 href="http://www.iancoetzee.za.net/gain.wav">http://www.iancoetzee.za.net/gain.wav</a>.
it
has the same effect, the numbers I dialed and the feedback I got is two
different things.<br>
</blockquote>
Btw I found the right command, I just had to do a bit of READING the
usage when doing ztmonitor<br>
<blockquote cite="mid:47A6C0F6.9090305@iancoetzee.za.net" type="cite">
  <blockquote cite="mid:20080130103721.GE3056@xorcom.com" type="cite">
    <pre wrap="">  </pre>
    <blockquote type="cite">
      <pre wrap="">which is available for download at 
<a moz-do-not-send="true" class="moz-txt-link-freetext"
 href="http://www.iancoetzee.za.net/tone_dial.mp3">http://www.iancoetzee.za.net/tone_dial.mp3</a>. After listening to the 
playback I concluded that the DTMF signals being sent is totally wrong.
    </pre>
    </blockquote>
    <pre wrap=""><!---->
Is that the whole tone? It is too short to be a valid DTMF.
  </pre>
  </blockquote>
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.<br>
</blockquote>
The puase is still there though, but atleast it dials now.<br>
<blockquote cite="mid:47A6C0F6.9090305@iancoetzee.za.net" type="cite"><br>
If you want I can upload the raw data to my server as well.<br>
  <br>
Regards<br>
Ian<br>
</blockquote>
</body>
</html>