<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.24.5">
</HEAD>
<BODY>
I briefly looked at the code, so I will then answer my own questions from what i understood (and I didn't understand much). Please correct me if I'm wrong (see inline answers).<BR>
<BR>
A new question would then be: Are any of those features planned for the future of OpenZAP?<BR>
<BR>
<BR>
On Mon, 2009-05-18 at 10:29 +0200, Francois Delawarde wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
    Hello,<BR>
    <BR>
    I'm in Spain with an analog TDM400 Clone from OpenVox (with 1xFXO+1xFXS), and am trying first to make the FXO work with Openzap and Freeswitch (using dahdi 2.2.0-rc4). Openzap perfectly detects and loads the spans, but I'm currently enable to dial out with the FXO module, it doesn't dial anything and times-out after 30 seconds.&nbsp; I believe it has to do with some tone detection and&nbsp; therefore have a few questions:<BR>
    <BR>
    - When I plug in the line, dahdi sends an event (event 17) that is ignored by OZ. Can we enable some type of battery check in OZ before dialing out, or is there some variable to monitor battery (oz dump doesn't show the battery status)?<BR>
</BLOCKQUOTE>
No.<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
    - Does OZ use the polarity switch events sent by dahdi (in kewlstart mode) for answer and hangup detection?<BR>
</BLOCKQUOTE>
Yes.<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
    - Apparently, OZ does tone progress detection by frequency, but here in Spain, most tones use the same 425Hz frequency with different on-off timing. Is it possible to detect those?<BR>
</BLOCKQUOTE>
No.<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
    - As some PBX in Spain transfer calls by first hanging up and picking up on another phone, can we enable/disable parts of polarity switch and/or tone progress detection (ex: (hangup)/(answer)onpolarityswitch in Asterisk)<BR>
</BLOCKQUOTE>
No.<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
    - Some lines here are connected to very old FXS from operators that have low sound quality and can take a few seconds to give a dial tone when picking up. Is it possible to introduce a delay before sending DTMF digits when dialing? Is it possible to &quot;relax&quot; DTMF detection, and tweak DTMF settings (make them a bit longer, with a longer pause for the other side to detect)?<BR>
</BLOCKQUOTE>
No / No idea / No idea<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
    My &quot;ideal&quot; case to make it work in every case around here would be to:<BR>
    - have OZ fail to dial if battery is not present (and be able to fetch battery status somehow)<BR>
    - disable tone progress (sometimes call ends up on some local PBX that answers and provides US tones which are different)<BR>
    - be able to have an initial pause before dialing with DTMF digits<BR>
    - use polarity switch to detect remote answer, but not hangup (for transfer issues)<BR>
    <BR>
    Is the above possible?<BR>
</BLOCKQUOTE>
No.<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
    Thanks in advance,<BR>
    Fran&#231;ois.<BR>
</BLOCKQUOTE>
You're welcome!<BR>
<BR>
Fran&#231;ois.
</BODY>
</HTML>