Summary:ASTERISK-15156: Etisalat UAE Disconnect Tone
Reporter:Otufemi Otuyemi (otufemi)Labels:
Date Opened:2009-11-17 15:46:57.000-0600Date Closed:2011-06-07 14:08:17
Versions:Frequency of

We observed that Asterisk does not detect the Disconnect-Tone, and hence it does not release a PSTN channel after an external calling party, hangs-up.

The PSTN operator is Etisalat and this occurs in certain parts of the Dubai, UAE.

The Disconnect-Tone pattern (frequency/duration in milliseconds) is show below:

Comments:By: Leif Madsen (lmadsen) 2009-12-01 11:11:13.000-0600

Just wanted to confirm we acknowledge the issue, but this code is quite old and this is kind of expected behaviour. I'm leaving this open for now as it is something that should eventually get resolved.

By: Anil Kumar (anilkumar) 2011-04-11 03:50:35

I am from Dubai and I added the below in /etc/asterisk/indications.conf which I got from voip-info.org.

description = United Arab Emirates
ringcadence = 1500,4000
dial = 350+440
busy = 400/375,0/375
disconnect-tone = 400/400,0/350,400/225,0/525
ring = 400+425/400,0/200,400+425/400,0/2000
congestion = 425/400,0/350,425/225,0/525
callwaiting = 420/40,0/1960
dialrecall = 420
; RECORDTONE - not specified
record = 1400/80,0/14920
info = 950/330,1450/330,1850/330,0/1000
stutter = 380+420

Still I am not able to get the disconnection working. Is there any thing wrong in my configuration.

By: David Woolley (davidw) 2011-04-11 06:27:28

I could be wrong, but I think lmadsen was saying that Asterisk does not support any form of inbound inband disconnect supervision.

I'm not sure that support for anything much more than pure tone on idle is going to be supported by many PABXes, and, as I can't find 2600 in the source, I'm not even sure that Asterisk does this.

Note that disconnect-tone doesn't appear to exist anywhere in the source code for (and 1.6.1.anything are no longer supported).

By: Anil Kumar (anilkumar) 2011-04-11 10:57:58

So what should I do for the disconnection issue or how to use the above description. Is there any tool to find the frequency of line tones. I have a very successfully running Asterisk system (Elastix) other than this and one other issue.

By: David Woolley (davidw) 2011-04-12 06:11:32

You use the above description to send the tone using Playtones, not to recognize it.

I think you need to take this to a support channel, rather than a bug reporting one.

By: Alec Davis (alecdavis) 2011-04-13 19:27:10

in chan_dahdi.conf check the following settings.


Above setting required here in New Zealand for FXO module to hangup, particulary when linereversal isn't provided by the TELCO.

By: Alec Davis (alecdavis) 2011-04-13 20:11:13

In trunk, reading chan_dahdi.c:parse_busy_pattern it appears that the busypattern length can be 4.
But checking 1.6.1 length of only 2


busypattern ignores the frequency, but detects the tone length, and quiet length

By: cmaj (cmaj) 2011-04-26 23:15:10

You'd need to modify main/dsp.c to check frequency. (Would be nice if that file was "fed" by something like indications.conf instead of hard coding.)

By: Jonathan Rose (jrose) 2011-04-27 10:25:15

4-length busy patterns specified in chan_dahdi are a feature of trunk.  They can be set using a syntax pretty much identical to what alecdavis specified above.  They are alternating tone and silence lengths.