<!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">
Sorry for taking so long to reply,<br>
<br>
This email got lost in translation, again.<br>
<br>
Ian<br>
<br>
Ian said the following on 30-Jan-08 03:57 PM<br>
<blockquote type="cite">Thaks 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="">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, 
    </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 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 cite="mid:20080130103721.GE3056@xorcom.com" type="cite">
    <pre wrap="">  </pre>
    <blockquote type="cite">
      <pre wrap="">which is available for download at 
<a 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>
  <br>
If you want I can upload the raw data to my server as well.<br>
  <br>
Regards<br>
Ian<br>
  <br>
  <div class="moz-signature">-- <br>
  <table size="75pt" border="0">
    <tbody>
      <tr border="0">
        <td colspan="3" border="0"> <font face="Times New Roman"
 size="2"><a href="http://www.vddi.co.za/">www.vddi.co.za</a></font> </td>
      </tr>
      <tr border="0">
        <td colspan="3" border="0"> <font face="Times New Roman"
 size="2">I
Coetzee </font> </td>
      </tr>
      <tr border="0">
        <td colspan="3" border="0"> <font face="Times New Roman"
 size="2">IT
Technician</font> </td>
      </tr>
      <tr border="0">
        <td size="45%" border="0" align="left"> <font
 face="Times New Roman" size="2">Telephone</font> </td>
        <td size="10%" border="0" align="center"> : </td>
        <td size="45%" border="0" align="right"> <font
 face="Times New Roman" size="2">012 664 2300</font> </td>
      </tr>
      <tr border="0">
        <td size="45%" border="0" align="left"> <font
 face="Times New Roman" size="2">cellphone</font> </td>
        <td size="10%" border="0" align="center"> : </td>
        <td size="45%" border="0" align="right"> <font
 face="Times New Roman" size="2">079 522 6519</font> </td>
      </tr>
      <tr border="0">
        <td size="45%" border="0" align="left"> <font
 face="Times New Roman" size="2">Fax</font> </td>
        <td size="10%" border="0" align="center"> : </td>
        <td size="45%" border="0" align="right"> <font
 face="Times New Roman" size="2">012 644 2902</font> </td>
      </tr>
      <tr border="0">
        <td size="45%" border="0" align="left"> <font
 face="Times New Roman" size="2">E-mail</font> </td>
        <td size="10%" border="0" align="center"> : </td>
        <td size="45%" border="0" align="right"> <font
 face="Times New Roman" size="2"><a class="moz-txt-link-abbreviated"
 href="mailto:ian@vddi.co.za">ian@vddi.co.za</a></font> </td>
      </tr>
      <tr border="0">
        <td size="45%" border="0" align="left"> <font
 face="Times New Roman" size="2">Skype</font> </td>
        <td size="10%" border="0" align="center"> : </td>
        <td size="45%" border="0" align="right"> <font
 face="Times New Roman" size="2">vddb_igcoetzee</font> </td>
      </tr>
    </tbody>
  </table>
  </div>
</blockquote>
<br>
</body>
</html>