[asterisk-users] DAHDI disconnect supervision timing

Danny Nicholas danny at debsinc.com
Fri Sep 25 11:05:49 CDT 2009


No joy, but a suggestion.  The default voicemail call is Voicemail(xxx,b) or
Voicemail(xxx,u) for busy or unavailable.  If you did Voicemail(xxx,s)
(silent) you could playback the voicemail greeting from the dialplan, then
check the line using the ChanisAvail function before launching
Voicemail(xxx,s).  Something like this;

-          exten => s,n,playback(greeting)

-          exten => s,n,Chanisavail(DAHDI/1)

-          exten => s,n,Gotoif($["${AVAILCHAN}" = "DAHDI/1"]?hungup)

-          exten => s,n,Voicemail(xxx,s)

-          exten => s,n(hungup),Hangup

 

YMMV, and not tested, but should work.

  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Stephen Brown
Sent: Friday, September 25, 2009 10:55 AM
To: asterisk-users at lists.digium.com
Subject: Re: [asterisk-users] DAHDI disconnect supervision timing

 

Have you been able to find a satisfiable config? My biggest headache is the
useless voicemails being left if the caller hangs up during the greeting,
otherwise it appears to work as intended. 

Agree on the Zoloft, this is driving me nuts!!!!!

On 9/25/09 11:45 AM, Danny Nicholas wrote: 

If you're really going to pursue this, I'd buy stock in Zoloft - I've got a
TDM400 and TDP410 and they both drive me nuts on POTS issues.

 

  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Stephen Brown
Sent: Friday, September 25, 2009 10:41 AM
To: asterisk-users at lists.digium.com
Subject: Re: [asterisk-users] DAHDI disconnect supervision timing

 

I have, but I wanted to see if I could fix this problem before I started
experimenting with that. 

On 9/25/09 11:24 AM, Danny Nicholas wrote: 

Have you looked into minimum message length and/or silence parameters?

 

  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Stephen Brown
Jr
Sent: Friday, September 25, 2009 10:20 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] DAHDI disconnect supervision timing

 

Ok so this is officially driving me crazy. I have an Asterisk 1.6.1.6
install with DAHDI/DAHDI tools (latest) and an OpenVOX TDM400 card with 1
FXO port and 1 FXS port. I have a POTS line from my phone company attached
to the POTS line. 

I have asked for "disconnect supervision" to be provisioned on my line and
they claim to have added it. However, my scenario is as follows:

I receive a call, if the caller hangs up before hitting voice mail, the
DAHDI channel is released as to be expected (evidenced from console
messaging)
If the call gets to voicemail and the caller hangs up during the greeting,
no hangup condition is ever detected and I am greeted with a useless
voicemail moments later. 

I am using kewlstart signaling etc. I came across this page from Digium:

http://kb.digium.com/entry/6/

This suggests adjusting a variable in zaptel.h, as I don't use zaptel, can
this same logic be applied to DAHDI somewhere? My theory is that the
"disconnect supervision" signal coming from the phone company may be less
than 1000ms. 

Desperately trying to fix this.....

Thanks, 
Stephen

 
 
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
 
AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net
 
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
 
 
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
 
AstriCon 2009 - October 13 - 15 Phoenix, Arizona
Register Now: http://www.astricon.net
 
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090925/c03e861f/attachment.htm 


More information about the asterisk-users mailing list