<!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 bgcolor="#ffffff" text="#000000">
<br>
<br>
bodra wrote:<br>
<blockquote cite="mid200508300629.AA767885344@hriders.com" type="cite">
  <pre wrap="">Hi John,

sorry to bother you but how can this be implemented?

can u give me a peice of the extensions.conf code that does that?

by the way the FXO ports are always green they never change even if theres no line plugged in
  </pre>
</blockquote>
I believe that on the TDM400 green only means the module is there and
initialized<br>
<br>
Here is the code that works for me . I tested after your last posting
on an X100P, but it should work regardless.. I am using HEAD from
2/24/2005<br>
<br>
exten =&gt; s,1,Dial(ZAP/g1/(${ARG1:4:4}),30)&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ; Dial extension on
zaptel trk grp 1<br>
; Strip office code from dial string<br>
exten =&gt; s,2,Macro(invalid)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; : <br>
exten =&gt; s,102,Voicemail(b666)&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ; All trunks busy<br>
<br>
Or you could simply play a message that says all trunks are busy, come
back later<br>
This is used to access a legacy electromechanical switch where a 7
digit number is sent into Asterisk, and only the last 4 digits are sent
out&nbsp; the Zap&nbsp; group to the EM switch<br>
BTW - "w" in the dial string doesn't work here<br>
<br>
John Novack<br>
<br>
<br>
<blockquote cite="mid200508300629.AA767885344@hriders.com" type="cite">
  <pre wrap="">

---------- Original Message ----------------------------------
From: John Novack <a class="moz-txt-link-rfc2396E" href="mailto:jnovack@stromberg-carlson.org">&lt;jnovack@stromberg-carlson.org&gt;</a>
Reply-To:  <a class="moz-txt-link-abbreviated" href="mailto:jnovack@stromberg-carlson.org">jnovack@stromberg-carlson.org</a>
Date:  Mon, 29 Aug 2005 09:06:29 -0400

  </pre>
  <blockquote type="cite">
    <pre wrap="">
bodra wrote:

    </pre>
    <blockquote type="cite">
      <pre wrap="">yes thats one issue the other issue is that sometimes the pstn line is dead due to some technical problems so people trying to make calls will just listen silence and they'll never know whats going on...
 

      </pre>
    </blockquote>
    <pre wrap="">Which should be less of a problem, given that the FXO card gives a red 
alarm when there is no battery on the line. Priority + 101 could play an 
error message in that case.


John Novack




    </pre>
    <blockquote type="cite">
      <pre wrap="">---------- Original Message ----------------------------------
From: Rich Adamson  <a class="moz-txt-link-rfc2396E" href="mailto:radamson@routers.com">&lt;radamson@routers.com&gt;</a>
Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion<a class="moz-txt-link-rfc2396E" href="mailto:asterisk-users@lists.digium.com">&lt;asterisk-users@lists.digium.com&gt;</a>
Date:  Sun, 28 Aug 2005 08:52:45 -0600

 

      </pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <pre wrap="">i need to know something in the zaptel configuration
as it seems i can configure detecting the busy tone and hangup after number of busy tone 
     

          </pre>
        </blockquote>
        <pre wrap="">counts, that was great but the problem is sometimes the pstn line has no dialtone and when i 
try to make call it continue dialing while not having a dialtone! while it should say "all 
lines are busy/congested" how can i configure that??
   

        </pre>
        <blockquote type="cite">
          <pre wrap="">i already done (immediate=no) and still it opens the zap trunk even when theres no dialtone 
     

          </pre>
        </blockquote>
        <pre wrap="">and shows that "zap/3 answered"
   

        </pre>
        <blockquote type="cite">
          <pre wrap="">-----------------------------------------------------------------
;Specify whether the channel should be answered immediately or
; if the simple switch should provide dialtone, read digits, etc.
;
immediate=no
------------------------------------------------------------------
     

          </pre>
        </blockquote>
        <pre wrap="">I might be way off base here, but the immediate=no parameter is oriented
towards incoming zap calls (not outgoing calls), and the callprogress
and busy detect stuff was intended to detect busy tones (not dial tone).
I don't think there is any logic in the zap channels to "listen for
dial tone before dialing". (But, I could be wrong.)

What are you using for the zap fxo channel (eg, channel bank, tdm, x100p)?

Are you trying to play with the case where you have an analog phone
bridged on your fxo line, and detect the lack of dialtone when 
someone is using that analog phone?


   

        </pre>
      </blockquote>
      <pre wrap=""> 

      </pre>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->Powered by Hellacious Riders - <a class="moz-txt-link-freetext" href="http://www.hriders.com">http://www.hriders.com</a>

Want to be able to access your mail via POP 3? 

Please view: <a class="moz-txt-link-freetext" href="http://www.hriders.com/web_page.cfm?web_pageID=94">http://www.hriders.com/web_page.cfm?web_pageID=94</a> for more info.




  </pre>
</blockquote>
</body>
</html>