Hello there, I tried to found documentation about openloop disconnect on Asterisk/Zaptel. And up to now, I didn't find anything. Is openloop disconnect supported by zaptel/wcfxo drivers? Other question: maxsilence and silencethreshold don't seem to have any effect on voicemail. Could it be possible that in certain situation it just wont work? I tried adding some verbose in app.c to have the totalsilent variable printed out and it remains a 0 forever. Finaly, does callprogress=yes should be working down here in Canada? Actually, everything seems to be broken (the wildcard x100p or the zaptel drivers plus a combination of many libraries/etc). Thank you for your quick answer, Dave
Open loop Disconnect. AKA kewlstart! ----- Original Message ----- From: "David Hill" <asterisk@binarystorm.net> To: <asterisk-dev@lists.digium.com>; <asterisk-users@lists.digium.com> Sent: Friday, March 25, 2005 6:33 PM Subject: [Asterisk-Users] Openloop disconnect?> Hello there, > > I tried to found documentation about openloop disconnect on > Asterisk/Zaptel. And up to now, I didn't find anything. Is openloop > disconnect supported by zaptel/wcfxo drivers? > > Other question: maxsilence and silencethreshold don't seem to have > any effect on voicemail. Could it be possible that in certain situation > it just wont work? I tried adding some verbose in app.c to have the > totalsilent variable printed out and it remains a 0 forever. > > Finaly, does callprogress=yes should be working down here in > Canada? Actually, everything seems to be broken (the wildcard x100p or > the zaptel drivers plus a combination of many libraries/etc). > > > Thank you for your quick answer, > > Dave > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Rich Adamson
2005-Mar-26 00:29 UTC
[Asterisk-Users] Re: [Asterisk-Dev] Openloop disconnect?
> I tried to found documentation about openloop disconnect on > Asterisk/Zaptel. And up to now, I didn't find anything. Is openloop > disconnect supported by zaptel/wcfxo drivers?Yes, it works for me and have verified by watching a voltmeter placed across the pstn line and noting a correspondance between when the open loop occurs and a sip call is dropped. However, the open loop disconnect is not fed back to the voicemail system and hasn't for a looooog time. Not sure why this is, but you'll find postings relative to this going way back. The typical response has been to use maxsilence.> Other question: maxsilence and silencethreshold don't seem to have > any effect on voicemail. Could it be possible that in certain situation > it just wont work? I tried adding some verbose in app.c to have the > totalsilent variable printed out and it remains a 0 forever.Yes, its possible. Since the maxsilence approach watches the incoming pcm stream (from the pstn as an example), noise on the pstn line could be interpreted as incomng audio, setting the rxgain to high could cause it, busy tone coming from the CO after it disconnects the call has been known to cause it, etc. I'm using the following on four solid pstn lines: ; How many seconds of silence before we end the recording maxsilence=10 ; Silence threshold (what we consider silence, the lower, the more sensitive) silencethreshold=128> Finaly, does callprogress=yes should be working down here in > Canada? Actually, everything seems to be broken (the wildcard x100p or > the zaptel drivers plus a combination of many libraries/etc).Don't know as I use callprogress=no on all TDM-fxo ports (and used it with x100p cards prior) with US telco lines. For the most part, there isn't any significant difference between Canadian and US telco specs. Its my understanding (from previous postings only) that callprogress attempts to detect busy signals from the pstn, etc, and supposedly isn't all that effective.
I fixed the problem by uncommenting the line #define ZERO_BATT_RING in wcfxo.c in zaptel-1.0.4. And by changing the battery debounce time by modifying those lines: #define BATT_DEBOUNCE 700 /* Battery debounce (in ms) */ I compiled back zaptel, reloaded the modules and voila! It is now working. It is FINALLY detecting the ring/hangup EVEN when in voicemail. Now, I still need to figureout why maxsilence and silencethreshold isn't working. :) Oh and by the way, the wildcard x100p was sharing an irq with an ethernet adapter so I switch them to different PCI slots and now it is on it's own IRQ. Thank you for your discussion... it was entertaining. Dave David Hill wrote:> Hello there, > > I tried to found documentation about openloop disconnect on > Asterisk/Zaptel. And up to now, I didn't find anything. Is openloop > disconnect supported by zaptel/wcfxo drivers? > > Other question: maxsilence and silencethreshold don't seem to have > any effect on voicemail. Could it be possible that in certain > situation it just wont work? I tried adding some verbose in app.c to > have the totalsilent variable printed out and it remains a 0 forever. > > Finaly, does callprogress=yes should be working down here in > Canada? Actually, everything seems to be broken (the wildcard x100p > or the zaptel drivers plus a combination of many libraries/etc). > > > Thank you for your quick answer, > > Dave > _______________________________________________ > Asterisk-Dev mailing list > Asterisk-Dev@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-dev > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-dev > > >
I fixed the problem by uncommenting the line #define ZERO_BATT_RING in wcfxo.c in zaptel-1.0.4. And by changing the battery debounce time by modifying those lines: #define BATT_DEBOUNCE 700 /* Battery debounce (in ms) */ I compiled back zaptel, reloaded the modules and voila! It is now working. It is FINALLY detecting the ring/hangup EVEN when in voicemail. Now, I still need to figureout why maxsilence and silencethreshold isn't working. :) Oh and by the way, the wildcard x100p was sharing an irq with an ethernet adapter so I switch them to different PCI slots and now it is on it's own IRQ. Thank you for your discussion... it was entertaining. Dave David Hill wrote:> Hello there, > > I tried to found documentation about openloop disconnect on > Asterisk/Zaptel. And up to now, I didn't find anything. Is openloop > disconnect supported by zaptel/wcfxo drivers? > > Other question: maxsilence and silencethreshold don't seem to have > any effect on voicemail. Could it be possible that in certain > situation it just wont work? I tried adding some verbose in app.c to > have the totalsilent variable printed out and it remains a 0 forever. > > Finaly, does callprogress=yes should be working down here in > Canada? Actually, everything seems to be broken (the wildcard x100p > or the zaptel drivers plus a combination of many libraries/etc). > > > Thank you for your quick answer, > > Dave > _______________________________________________ > Asterisk-Dev mailing list > Asterisk-Dev@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-dev > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-dev > > >_______________________________________________ Asterisk-Dev mailing list Asterisk-Dev@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-dev To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev