Stephen Brown Jr
2009-Sep-25 15:19 UTC
[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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090925/fe6ba300/attachment.htm
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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090925/f52e7f00/attachment.htm
find the code in dahdi and put printk so you can see in dmesg or /var/log/messages if that gets ever detected also you may try hanguponpolarityswitch=yes in chan_dahdi.conf Martin On Fri, Sep 25, 2009 at 10:19 AM, Stephen Brown Jr <stephen.brown75 at gmail.com> wrote:> 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 >
Tilghman Lesher
2009-Sep-25 15:54 UTC
[asterisk-users] DAHDI disconnect supervision timing
On Friday 25 September 2009 10:19:39 Stephen Brown Jr wrote:> 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.The equivalent header in DAHDI is include/dahdi/kernel.h, in the dahdi-linux source package. -- Tilghman Lesher Digium, Inc. | Senior Software Developer twitter: Corydon76 | IRC: Corydon76-dig (Freenode) Check us out at: www.digium.com & www.asterisk.org
On Fri, Sep 25, 2009 at 11:19:39AM -0400, Stephen Brown Jr wrote:> 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 don't understand this. Can you enable debug logging and provide log of a call that disconnect successfully and a log of a call that fails to disconnect? -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir