bodra wrote:
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
I believe that on the TDM400 green only means the module is there and
initialized
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
exten => s,1,Dial(ZAP/g1/(${ARG1:4:4}),30) ; Dial extension on
zaptel trk grp 1
; Strip office code from dial string
exten => s,2,Macro(invalid) :
exten => s,102,Voicemail(b666) ; All trunks busy
Or you could simply play a message that says all trunks are busy, come
back later
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 the Zap group to the EM switch
BTW - "w" in the dial string doesn't work here
John Novack
---------- Original Message ----------------------------------
From: John Novack <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: Mon, 29 Aug 2005 09:06:29 -0400
bodra wrote:
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...
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
---------- Original Message ----------------------------------
From: Rich Adamson <[EMAIL PROTECTED]>
Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion<[email protected]>
Date: Sun, 28 Aug 2005 08:52:45 -0600
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
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??
i already done (immediate=no) and still it opens the zap trunk even when theres no dialtone
and shows that "zap/3 answered"
-----------------------------------------------------------------
;Specify whether the channel should be answered immediately or
; if the simple switch should provide dialtone, read digits, etc.
;
immediate=no
------------------------------------------------------------------
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?
Powered by Hellacious Riders - http://www.hriders.com
Want to be able to access your mail via POP 3?
Please view: http://www.hriders.com/web_page.cfm?web_pageID=94 for more info.
|
_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users