So I made the mistake of buying a Carrier Access channel bank without noticing the page on the wiki about the fact that they don't support disconnect supervision (bastards!). However, apart from that, I do have it working fine for incoming calls. Is there some trick to get asterisk to detect the hangup tones from SBC? I've tried busydetect and callprogress as suggested, but neither seems to work. The tone is not a busy tone, but that ear-piercing high pitched buzzer. It goes "if you'd like to make a call, please hang up and try again. If you need help, hang up and then dial your operator. BEEP BEEP BEEP etc." I am set up here with recording gear and spectrum analyzer software, so I can identify the tones and timing if necessary. However I'm not sure how to make asterisk detect the tones, or if this work has already been done. Anyone know?
On Fri, 2004-01-02 at 12:25, Sean Adams wrote:> So I made the mistake of buying a Carrier Access channel bank without > noticing the page on the wiki about the fact that they don't support > disconnect supervision (bastards!). However, apart from that, I do have > it working fine for incoming calls. > > Is there some trick to get asterisk to detect the hangup tones from > SBC? I've tried busydetect and callprogress as suggested, but neither > seems to work. The tone is not a busy tone, but that ear-piercing high > pitched buzzer. It goes "if you'd like to make a call, please hang up > and try again. If you need help, hang up and then dial your operator. > BEEP BEEP BEEP etc." > > I am set up here with recording gear and spectrum analyzer software, so > I can identify the tones and timing if necessary. However I'm not sure > how to make asterisk detect the tones, or if this work has already been > done. Anyone know?Are the tones increasing in pitch? Are they the Special Information Tones (SIT) that are also on the message when you dial a number that has been disconnected? If so, then they are defined somewhere in the code, at least as part of app_zapateller since that is how it tries to get rid of telemarketers. You could then see about adding that to the dsp routines to detect the SIT tones and determine what to do at that time. BTW, which CAC channel bank did you buy? The ADIT 600 should do disconnect supervision, and I thought the AB1 did too. Are you also sure you have that on your line so as to be detected? Your other option might be to switch to groundstart lines which detect hangup much easier. May be difficult to get unless you are a business though. -- Steven Critchfield <critch@basesys.com>
busydetect should help you. Set busycount=10 busydetect=yes in zapata.conf and measure the length of the tone .. should be equal the pause too. Then in dsp.c change the vaules BUSY_MIN and BUSY_MAX for example like this: your result - 100, your result + 100 [ms] regards Martin On Fri, 2 Jan 2004, Sean Adams wrote:> > So I made the mistake of buying a Carrier Access channel bank without > noticing the page on the wiki about the fact that they don't support > disconnect supervision (bastards!). However, apart from that, I do have > it working fine for incoming calls. > > Is there some trick to get asterisk to detect the hangup tones from > SBC? I've tried busydetect and callprogress as suggested, but neither > seems to work. The tone is not a busy tone, but that ear-piercing high > pitched buzzer. It goes "if you'd like to make a call, please hang up > and try again. If you need help, hang up and then dial your operator. > BEEP BEEP BEEP etc." > > I am set up here with recording gear and spectrum analyzer software, so > I can identify the tones and timing if necessary. However I'm not sure > how to make asterisk detect the tones, or if this work has already been > done. Anyone know? > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >
<html><div style='background-color:'><DIV class=RTE> <DIV class=Section1> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi ,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I need to execute a query when a user hangs up the agi application , I’ve tried monitoring some return values of AGI commands <o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Still doesn’t work .<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Any ideas ?<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanx <o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Ali Mughrabi<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P></DIV></DIV></div><br clear=all><hr>MSN 8 helps <a href="http://g.msn.com/8HMAEN/2743??PS=">ELIMINATE E-MAIL VIRUSES. </a> Get 2 months FREE*.</html>
Hi, I'm using a td400p card with an FXO port and asterisk 1.2.1 in South Korea and asterisk isn't detecting when PSTN callers hangup. I've gone through all the settings related to hangup detection and none work. I've tried: hanguponpolarityswitch=yes callprogress=yes busydetect=yes busycount=6 Debug doesn't show reverse polarity events so I'm pretty stuck. I've got zaptel configured with a loadzone of US and kewlstart signialling. Has anybody had success with these cards/asterisk in South Korea? Thanks JC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051219/1ed18516/attachment.htm
On Tue, 10 Jan 2006, Jonathan@thecrawshaws.com wrote:> Thanks for your suggestion Steve. > I have done as you advised and set busypattern=300,200 to match the sample > I recorded. > This hasn't worked though, asterisk doesn't seem to detect the busy signal. > Does asterisk require a the signal to be in a certain power range? The > signal I get > is very quiet. > Thanks for your help > Regards > JonathanYeah - it needs to be reasonably loud to be detected. Too bad. Steve
Is it possible to patch the zaptel drivers (or whatever appropriate files) to use DTMF tone "D" for hangup detection? I have a Toshiba PBX which does not provide CPC by any means other than congestion or D tone. Thanks, Aaron Picht