<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
On 24/08/11 09:01, Sébastien Gay wrote:
<blockquote
cite="mid:07684A03-CF0F-471D-A0FF-7A3195BE2480@novetys.com"
type="cite">Hi,
<div><br>
</div>
<div>Thank you for your answers.</div>
<div><br>
</div>
<div>@Alex</div>
<div>The card is a Digium TDM400P with 1 FXS and 3 FXO :</div>
<div><br>
</div>
<div>
<div>active=yes</div>
<div>alarms=OK</div>
<div>description=Wildcard TDM400P REV I Board 5</div>
<div>name=WCTDM/4</div>
<div>manufacturer=Digium</div>
<div>devicetype=Wildcard TDM400P REV I</div>
<div>location=PCI Bus 00 Slot 07</div>
<div>basechan=1</div>
<div>totchans=4</div>
<div>irq=17</div>
<div>type=analog</div>
<div>port=1,FXS</div>
<div>port=2,FXO</div>
<div>port=3,FXO</div>
<div>port=4,FXO</div>
</div>
<div><br>
</div>
<div>@ François</div>
<div>I have tried some options in freetdm:</div>
<div><span class="Apple-style-span" style="font-family: 'Trebuchet
MS',Arial,Helvetica,sans-serif; line-height: 20px;"><param
name="answer-polarity-reverse" value="<strong style="margin:
0px; padding: 0px; font-weight: bold;">true</strong>" /></span></div>
<div><span class="Apple-style-span" style="font-family: 'Trebuchet
MS',Arial,Helvetica,sans-serif;">
<p style="margin: 0px 0px 1em; padding: 0px; line-height:
1.5em;"><param name="hangup-polarity-reverse" value="<strong
style="margin: 0px; padding: 0px; font-weight: bold;">true</strong>"
/></p>
<div>But the problem persists</div>
<div><br>
</div>
</span><font class="Apple-style-span" face="'Trebuchet MS',
Arial, Helvetica, sans-serif"><br>
</font>
<div><font class="Apple-style-span" face="'Trebuchet MS', Arial,
Helvetica, sans-serif">@Dario Garcia</font></div>
<div><font class="Apple-style-span" face="'Trebuchet MS', Arial,
Helvetica, sans-serif"><br>
</font></div>
<div><font class="Apple-style-span" face="'Trebuchet MS', Arial,
Helvetica, sans-serif"><span class="Apple-style-span"
style="color: rgb(51, 51, 51); font-family:
arial,sans-serif;"><span class="hps">I did not know</span> <span
class="hps">the option</span> <span class="hps">tone_detect</span><span
class="">, I'll do</span> <span class="hps">some tests.</span><br>
<br>
<br>
<span class="hps">Thank you again for</span> <span
class="hps">your help.</span></span></font></div>
<br>
</div>
</blockquote>
<b><br>
</b>Sébastien,<br>
<b><br>
</b>Sounds like an issue I have been having. I wanted to have FS
only act as a voicemail box, with the incoming land line connecting
to both the FXO port and analog phones via a splitter. I wanted the
voicemail to only pick up after 30s of ringing, however even if the
incoming line had stopped ringing (and a polarity reverse was seen)
the dialplan would still execute the VM and thus record a few
seconds of dialtone. I saw the polarity reversal when the line
stopped ringing but FS still claimed it was too close the the
previous one even after more than 20s (the reversal time limit is
set to something like 200ms) and did not hang up.<br>
<br>
The VM would also kick in even when the analog phone was on a call
after being picked up. There appears to be no way to test if an
incoming analog line is still ringing or not (you can't do
tone_detect here as the line is onhook).<br>
<span></span><br>
<br>
Dialplan:<br>
<br>
<include><br>
<extension name="public_ftdm"><br>
<condition field="source" expression="freetdm"><br>
<action application="sleep" data="30000"/><br>
<action application="answer"/><br>
<action application="voicemail" data="default
${domain_name} 1005"/><br>
</condition><br>
</extension><br>
</include><br>
<br>
However if I transfer the call to a SIP extension, remove the sleep
and let the extension deal with the VM then it seems to work OK.
Obviously this means my analog phones only ring for a moment though.<br>
<br>
Alex<br>
<br>
<b></b>
<pre class="moz-signature" cols="72">--
This message is intended only for the addressee and may contain
confidential information. Unless you are that person, you may not
disclose its contents or use it in any way and are requested to delete
the message along with any attachments and notify us immediately.
"Transact" is operated by Integrated Financial Arrangements plc
Domain House, 5-7 Singer Street, London EC2A 4BQ
Tel: (020) 7608 4900 Fax: (020) 7608 5300
(Registered office: as above; Registered in England and Wales under number: 3727592)
Authorised and regulated by the Financial Services Authority (entered on the FSA Register; number: 190856)</pre>
</body>
</html>