Re: [Asterisk-Users] Sangoma A200 preventing Zap channels from disconnecting immediately after PSTN line hangs up (getting empty voicemails)
On 4/26/06, John Novack <[EMAIL PROTECTED]> wrote: > > > Mike Garey wrote: > > > > > > >> > >>; 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 > >> > >> > > > >the maxsilence setting doesn't really help, as I believe that only > >limits how long we record for after voicemail has already started and > >silence is detected. I don't want voicemail to record anything at all if > >the call has been disconnected before the voicemail prompt starts. > > > > > Makes good sense. > If there is no speech, but simply x seconds of silence, the VM messges > should not even exist ideally there should be a setting to simply remove a voicemail message that contains nothing but silence, but that's not what the maxsilence setting is for. Once you start recording a voicemail message, if you stop talking, a timer begins counting. If you don't speak for maxsilence seconds, you get disconnected. It is, however, possible to use maxsilence in conjunction with the minmessage setting to prevent empty voicemails from being left, by simply setting minmessage to be 1 second longer than the maxsilence setting. So if someone hangs up before leaving a voicemail message, but the system doesn't disconnect them immediately, the system stops the recording after maxsilence (ie 3 seconds), but if you have minmessage set to 4, asterisk will abandon the message. The problem is, if someone calls and then maybe gets sidetracked, or has to speak to someone else for a few seconds, or pick up their cell phone, in the middle of leaving a message, they'll get disconnected. So this still isn't a solution. The only thing I can think of is to run a script (specified by externnotify) after a voicemail message is left, which runs some type of audio analysis process to determine whether the sound file actually contains anything, and if not, delete it. I'm not sure what tool I can use to do the silence detection (I checked the manpage for sox, but it seems to only be able to remove silence from the beginning/end of a file, not report whether a file has silence or not). Mike > >What I don't understand is that this works fine on many regular > >telephone answering machines, which are _much_ less advanced than > >asterisk. If they can do it, why can't asterisk? > > > It certainly could, if someone were smart enough and willing to code it. > There generally seems more interest in adding new wiz bang features > rather than polish up what is already mostly working. > > > I mean, if I call my home line and wait for the answering machine message > > to kick in, then hangup right before it starts recording, I don't end up > > with an empty message, the system just disconnects me. > > > > > > > Many machines work this way even after they start recording, but there > is nothing but silence. Returned dial tone and line noise cause this to > fail, however. > > jOHN nOVACK > > > > > > ___ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users > ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Sangoma A200 preventing Zap channels from disconnecting immediately after PSTN line hangs up (getting empty voicemails)
Mike Garey wrote: ; 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 the maxsilence setting doesn't really help, as I believe that only limits how long we record for after voicemail has already started and silence is detected. I don't want voicemail to record anything at all if the call has been disconnected before the voicemail prompt starts. Makes good sense. If there is no speech, but simply x seconds of silence, the VM messges should not even exist What I don't understand is that this works fine on many regular telephone answering machines, which are _much_ less advanced than asterisk. If they can do it, why can't asterisk? It certainly could, if someone were smart enough and willing to code it. There generally seems more interest in adding new wiz bang features rather than polish up what is already mostly working. I mean, if I call my home line and wait for the answering machine message to kick in, then hangup right before it starts recording, I don't end up with an empty message, the system just disconnects me. Many machines work this way even after they start recording, but there is nothing but silence. Returned dial tone and line noise cause this to fail, however. jOHN nOVACK ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Sangoma A200 preventing Zap channels from disconnecting immediately after PSTN line hangs up (getting empty voicemails)
On 4/26/06, Eric ManxPower Wieling <[EMAIL PROTECTED]> wrote: > Are you in the USA or Canada? I'm in Canada. Toronto, Ontario to be exact. And it was on a local ontario Asterisk users group where other people with Sangoma A200 cards mentioned they were having the same problem.. So it could be something related to both the Sangoma A200 card and my local telco (Bell Canada). On 4/26/06, Eric ManxPower Wieling <[EMAIL PROTECTED]> wrote: > John Novack wrote: > > > > > > Mike Garey wrote: > > > >> well, the problem isn't that the card doesn't detect a disconnect, > >> it's that it doesn't detect it immediately (or at least within a short > >> period). > > Odds are that is the telco, and not the Sangoma or Digium card. That is > > quite normal for a 10-30 second delay. Not all telco CO's send an > > immediate pulse when the caller hangs up. > > > > Is there no way to detect 5-6 seconds of silence by Asterisk? > > This is from /path/src/asterisk/configs/voicemail.conf.sample. Amazing > how much good stuff is in that directory. Especially handy to read > after a significant upgrade (i.e. 1.0.x to 1.2.x) > > ; 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 the maxsilence setting doesn't really help, as I believe that only limits how long we record for after voicemail has already started and silence is detected. I don't want voicemail to record anything at all if the call has been disconnected before the voicemail prompt starts. What I don't understand is that this works fine on many regular telephone answering machines, which are _much_ less advanced than asterisk. If they can do it, why can't asterisk? I mean, if I call my home line and wait for the answering machine message to kick in, then hangup right before it starts recording, I don't end up with an empty message, the system just disconnects me. I'm starting to get a lot of complaints about this, and I can totally understand where my users are coming from - it's annoying and a waste of time to have to go through 3 or 4 empty messages. I guess I just need to isolate whether this is an asterisk problem or a Sangoma problem, so I can figure out what step to take next. Thanks, Mike ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Sangoma A200 preventing Zap channels from disconnecting immediately after PSTN line hangs up (getting empty voicemails)
Are you in the USA or Canada? Mike Garey wrote: yes, I'm using kewlstart On 4/24/06, Sean Cook <[EMAIL PROTECTED]> wrote: On Mon, 2006-04-24 at 17:20 -0400, Mike Garey wrote: As far as I can tell, after discussing this matter with other asterisk users in my area, my telco _does_ provide disconnect supervision.. It seems that the problem is actually related to the Sangoma A200 card I'm using, as two other people both using this same card have expressed the same problem.. Are there any other users on this list using the Sangoma A200 FXO port card, and experiencing problems with asterisk not detecting when a channel has been disconnected? Thanks, Are you using kewlstart? -- Now accepting new clients in Birmingham, Atlanta, Huntsville, Chattanooga, and Montgomery. ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Sangoma A200 preventing Zap channels from disconnecting immediately after PSTN line hangs up (getting empty voicemails)
John Novack wrote: Mike Garey wrote: well, the problem isn't that the card doesn't detect a disconnect, it's that it doesn't detect it immediately (or at least within a short period). Odds are that is the telco, and not the Sangoma or Digium card. That is quite normal for a 10-30 second delay. Not all telco CO's send an immediate pulse when the caller hangs up. Is there no way to detect 5-6 seconds of silence by Asterisk? This is from /path/src/asterisk/configs/voicemail.conf.sample. Amazing how much good stuff is in that directory. Especially handy to read after a significant upgrade (i.e. 1.0.x to 1.2.x) ; 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 -- Now accepting new clients in Birmingham, Atlanta, Huntsville, Chattanooga, and Montgomery. ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Sangoma A200 preventing Zap channels from disconnecting immediately after PSTN line hangs up (getting empty voicemails)
Mike, As someone else mentioned, the delay in getting the disconnect from the CO is a function of the CO equipment and there isn't much you can do about that. In one of my test cases from yesterday, disconnect came within three seconds of the pstn phone hanging up. I'd have to guess that some CO switches probably have some form of timeout parameter that is applied to the entire switch, and the parameter probably has something to do with limiting internal switch issues, conflicts with flash, etc, etc. I'd also guess the delay can probably be traced to specific CO switch vendors, model of switch, etc. In the old electro-mechanical switches, disconnect would happen within a second or two. If a pstn caller listens to someone's entire voicemail greeting and then hangs up, you're going to be stuck with an empty voicemail of whatever duration that you have maxsilence set to in voicemail.conf. Don't think there is anything you can actually do about that. Rich Mike Garey wrote: well, the problem isn't that the card doesn't detect a disconnect, it's that it doesn't detect it immediately (or at least within a short period). I'm talking about 10 or so seconds before the channel is hung up - which is causing empty voicemail messages to be left when the user hangs up before the voicemail starts to record (since the channel sticks around, and asterisk thinks the person is still there). I tried enabling "busydetect=yes" in zapata.conf, but it didn't make a difference. Mike On 4/24/06, Mark Phillips <[EMAIL PROTECTED]> wrote: Likewise here. Using a 10 port FXO card and no problems detecting remote hangup. I'll grant you it can be a little slow sometimes however. On Mon, 2006-04-24 at 16:54 -0500, Rich Adamson wrote: Mike Garey wrote: As far as I can tell, after discussing this matter with other asterisk users in my area, my telco _does_ provide disconnect supervision.. It seems that the problem is actually related to the Sangoma A200 card I'm using, as two other people both using this same card have expressed the same problem.. Are there any other users on this list using the Sangoma A200 FXO port card, and experiencing problems with asterisk not detecting when a channel has been disconnected? Thanks, Hasn't been a problem here with either the TDM400 or A200D cards (both are in use in same box). Just tested it again from an external pstn phone, calling into asterisk. When the pstn phone hangs up, asterisk recognized it and dropped the sip session that was handling the call (to a 7960). ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Sangoma A200 preventing Zap channels from disconnecting immediately after PSTN line hangs up (getting empty voicemails)
yes, I'm using kewlstart On 4/24/06, Sean Cook <[EMAIL PROTECTED]> wrote: > On Mon, 2006-04-24 at 17:20 -0400, Mike Garey wrote: > > As far as I can tell, after discussing this matter with other asterisk > > users in my area, my telco _does_ provide disconnect supervision.. It > > seems that the problem is actually related to the Sangoma A200 card > > I'm using, as two other people both using this same card have > > expressed the same problem.. Are there any other users on this list > > using the Sangoma A200 FXO port card, and experiencing problems with > > asterisk not detecting when a channel has been disconnected? Thanks, > > Are you using kewlstart? > > > ___ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users > ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Sangoma A200 preventing Zap channels from disconnecting immediately after PSTN line hangs up (getting empty voicemails)
On Mon, 2006-04-24 at 17:20 -0400, Mike Garey wrote: > As far as I can tell, after discussing this matter with other asterisk > users in my area, my telco _does_ provide disconnect supervision.. It > seems that the problem is actually related to the Sangoma A200 card > I'm using, as two other people both using this same card have > expressed the same problem.. Are there any other users on this list > using the Sangoma A200 FXO port card, and experiencing problems with > asterisk not detecting when a channel has been disconnected? Thanks, Are you using kewlstart? ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Sangoma A200 preventing Zap channels from disconnecting immediately after PSTN line hangs up (getting empty voicemails)
Mike Garey wrote: well, the problem isn't that the card doesn't detect a disconnect, it's that it doesn't detect it immediately (or at least within a short period). Odds are that is the telco, and not the Sangoma or Digium card. That is quite normal for a 10-30 second delay. Not all telco CO's send an immediate pulse when the caller hangs up. Is there no way to detect 5-6 seconds of silence by Asterisk? John Novack I'm talking about 10 or so seconds before the channel is hung up - which is causing empty voicemail messages to be left when the user hangs up before the voicemail starts to record (since the channel sticks around, and asterisk thinks the person is still there). I tried enabling "busydetect=yes" in zapata.conf, but it didn't make a difference. Mike On 4/24/06, Mark Phillips <[EMAIL PROTECTED]> wrote: Likewise here. Using a 10 port FXO card and no problems detecting remote hangup. I'll grant you it can be a little slow sometimes however. On Mon, 2006-04-24 at 16:54 -0500, Rich Adamson wrote: Mike Garey wrote: As far as I can tell, after discussing this matter with other asterisk users in my area, my telco _does_ provide disconnect supervision.. It seems that the problem is actually related to the Sangoma A200 card I'm using, as two other people both using this same card have expressed the same problem.. Are there any other users on this list using the Sangoma A200 FXO port card, and experiencing problems with asterisk not detecting when a channel has been disconnected? Thanks, Hasn't been a problem here with either the TDM400 or A200D cards (both are in use in same box). Just tested it again from an external pstn phone, calling into asterisk. When the pstn phone hangs up, asterisk recognized it and dropped the sip session that was handling the call (to a 7960). ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Sangoma A200 preventing Zap channels from disconnecting immediately after PSTN line hangs up (getting empty voicemails)
well, the problem isn't that the card doesn't detect a disconnect, it's that it doesn't detect it immediately (or at least within a short period). I'm talking about 10 or so seconds before the channel is hung up - which is causing empty voicemail messages to be left when the user hangs up before the voicemail starts to record (since the channel sticks around, and asterisk thinks the person is still there). I tried enabling "busydetect=yes" in zapata.conf, but it didn't make a difference. Mike On 4/24/06, Mark Phillips <[EMAIL PROTECTED]> wrote: > Likewise here. > > Using a 10 port FXO card and no problems detecting remote hangup. I'll > grant you it can be a little slow sometimes however. > > On Mon, 2006-04-24 at 16:54 -0500, Rich Adamson wrote: > > Mike Garey wrote: > > > As far as I can tell, after discussing this matter with other asterisk > > > users in my area, my telco _does_ provide disconnect supervision.. It > > > seems that the problem is actually related to the Sangoma A200 card > > > I'm using, as two other people both using this same card have > > > expressed the same problem.. Are there any other users on this list > > > using the Sangoma A200 FXO port card, and experiencing problems with > > > asterisk not detecting when a channel has been disconnected? Thanks, > > > > Hasn't been a problem here with either the TDM400 or A200D cards (both > > are in use in same box). > > > > Just tested it again from an external pstn phone, calling into asterisk. > > When the pstn phone hangs up, asterisk recognized it and dropped the sip > > session that was handling the call (to a 7960). > > > > > > ___ > > --Bandwidth and Colocation provided by Easynews.com -- > > > > Asterisk-Users mailing list > > To UNSUBSCRIBE or update options visit: > >http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > > ___ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users > ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Sangoma A200 preventing Zap channels from disconnecting immediately after PSTN line hangs up (getting empty voicemails)
Likewise here. Using a 10 port FXO card and no problems detecting remote hangup. I'll grant you it can be a little slow sometimes however. On Mon, 2006-04-24 at 16:54 -0500, Rich Adamson wrote: > Mike Garey wrote: > > As far as I can tell, after discussing this matter with other asterisk > > users in my area, my telco _does_ provide disconnect supervision.. It > > seems that the problem is actually related to the Sangoma A200 card > > I'm using, as two other people both using this same card have > > expressed the same problem.. Are there any other users on this list > > using the Sangoma A200 FXO port card, and experiencing problems with > > asterisk not detecting when a channel has been disconnected? Thanks, > > Hasn't been a problem here with either the TDM400 or A200D cards (both > are in use in same box). > > Just tested it again from an external pstn phone, calling into asterisk. > When the pstn phone hangs up, asterisk recognized it and dropped the sip > session that was handling the call (to a 7960). > > > ___ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users > > ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Sangoma A200 preventing Zap channels from disconnecting immediately after PSTN line hangs up (getting empty voicemails)
Mike Garey wrote: As far as I can tell, after discussing this matter with other asterisk users in my area, my telco _does_ provide disconnect supervision.. It seems that the problem is actually related to the Sangoma A200 card I'm using, as two other people both using this same card have expressed the same problem.. Are there any other users on this list using the Sangoma A200 FXO port card, and experiencing problems with asterisk not detecting when a channel has been disconnected? Thanks, Hasn't been a problem here with either the TDM400 or A200D cards (both are in use in same box). Just tested it again from an external pstn phone, calling into asterisk. When the pstn phone hangs up, asterisk recognized it and dropped the sip session that was handling the call (to a 7960). ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [Asterisk-Users] Sangoma A200 preventing Zap channels from disconnecting immediately after PSTN line hangs up (getting empty voicemails)
As far as I can tell, after discussing this matter with other asterisk users in my area, my telco _does_ provide disconnect supervision.. It seems that the problem is actually related to the Sangoma A200 card I'm using, as two other people both using this same card have expressed the same problem.. Are there any other users on this list using the Sangoma A200 FXO port card, and experiencing problems with asterisk not detecting when a channel has been disconnected? Thanks, Mike On 4/24/06, Hadley Rich <[EMAIL PROTECTED]> wrote: > On Tuesday 25 April 2006 05:50, Mike Garey wrote: > > When someone calls into our asterisk server over a PSTN line, dials an > > extension and then hangs up, the SIP phone related to the given > > extension will ring about 4 or 5 times before asterisk shows that the > > channel has been hung up in the console. This isn't such a big deal > > on its own, but what's happening now is that if a user calls in from a > > PSTN line, gets voicemail on the extension, and hangs up before the > > voicemail starts to record, an empty message will still be recorded > > and sent to the user. > > It sounds very much like you need disconnect supervision. > > http://www.voip-info.org/wiki-Asterisk+Disconnect+Supervision > > You'll need to see what your provider provides (if anything) and setup your > zaptel.conf/zapata.conf accordingly. > > hads > > -- > A fool and his money are soon using Windows. > ___ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: >http://lists.digium.com/mailman/listinfo/asterisk-users > ___ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users