asteriskguru asteriskguru
2010-Jul-29 18:44 UTC
[asterisk-users] Disconnect supervision tone detection
Hi,
I am using TDM400 card with 3 fxs and 1 fxo. I am struggling to detect
hangup tone or disconnect supervision tone from my CO. I attached the
recorded wav file which contains my telco's disconnect supervision.
I am using ,
asterisk-1.4.33.1
dahdi-linux-complete-2.3.0.1+
2.3.0
OS => Debian-lenny 5
users.conf
-------------
[trunk_1]
trunkname = pstn ; GUI metadata
busydetect = yes
busycount = 3
busypattern = 480,620
ringtimeout = 8000
answeronpolarityswitch = no
hanguponpolarityswitch = no
callprogress = no
progzone = in
usecallerid = yes
cidstart = ring
pulsedial = no
cidsignalling = v23
flash = 750
rxflash = 1250
mailbox callerid = asreceived
dahdichan = 1
context = DID_trunk_1
group = 1
hasexten = no
hasiax = no
hassip = no
registeriax = no
registersip = no
trunkstyle = analog
disallow = all
allow = all
gui_volume = 2 ; GUI metadata
signalling = fxs_ks
gui_fxooffset = 0 ; GUI metadata
rxgain = 0
txgain = 0.0
channel = 1
/dahdi/system.conf
# Span 1: WCTDM/4 "Wildcard TDM400P REV I Board 5" (MASTER)
fxsks=1
fxoks=2
fxoks=3
fxoks=4
# Global data
loadzone = in
defaultzone = in
indications.conf:
--------------------
[general]
country=in ; default location
[in]
description = India
ringcadence = 400,200,400,2000
dial = 400*25
busy = 400/750,0/750
ring = 400*25/400,0/200,400*25/400,0/2000
congestion = 400/250,0/250
callwaiting = 400/200,0/100,400/200,0/7500
dialrecall !350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440
record = 1400/500,0/15000
info = !950/330,!1400/330,!1800/330,0/1000
stutter
!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,!350+440/100,!0/100,350+440
========================================
Can anybody guide me on right ? . although I spent 1 day I didn't get any
answers for this.
I am keen on to write blog for this if it is works well. It will helpfull
for india asterisk users.
hope guidance from you ,
Ashik at india
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.digium.com/pipermail/asterisk-users/attachments/20100730/7a3db52e/attachment.htm
Danny Nicholas
2010-Jul-29 18:52 UTC
[asterisk-users] Disconnect supervision tone detection
We will need to see your dahdi.conf and chan_dahdi.conf files as well. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100729/90982a6f/attachment.htm
asteriskguru asteriskguru
2010-Jul-30 04:34 UTC
[asterisk-users] Disconnect supervision tone detection
Hi, I changed all settings in users.conf to chan-dahdi.conf here is configuration settings. chan_dahdi.conf: ---------------------- signalling=fxs_ks busydetect=yes busycount=3 busypattern=300,300 answeronpolarityswitch = no hanguponpolarityswitch = no callprogress = no progzone = in usecallerid = yes cidstart = ring callerid=asreceived group=0 context=from-pstn channel => 1 ;;; line="2 WCTDM/4/1 FXOKS" signalling=fxo_ks callerid="Channel 2" <4002> mailbox=4002 group=5 context=from-internal channel => 2 ;;; line="3 WCTDM/4/2 FXOKS" signalling=fxo_ks callerid="Channel 3" <4003> mailbox=4003 group=5 context=from-internal channel => 3 ;;; line="4 WCTDM/4/3 FXOKS" signalling=fxo_ks callerid="Channel 4" <4004> mailbox=4004 group=5 context=from-internal channel => 4 =============== *CLI> dahdi show channel 1 Channel: 1 File Descriptor: 16 Span: 1 Extension: Dialing: no Context: from-pstn Caller ID: Calling TON: 0 Caller ID name: Destroy: 0 InAlarm: 0 Signalling Type: FXS Kewlstart Radio: 0 Owner: <None> Real: <None> Callwait: <None> Threeway: <None> Confno: -1 Propagated Conference: -1 Real in conference: 0 DSP: no Relax DTMF: no Dialing/CallwaitCAS: 0/0 Default law: ulaw Fax Handled: no Pulse phone: no Echo Cancellation: 128 taps, currently OFF Actual Confinfo: Num/0, Mode/0x0000 Actual Confmute: No Hookstate (FXS only): Offhook ================== Hope guidance from you, Ashik On Fri, Jul 30, 2010 at 12:22 AM, Danny Nicholas <danny at debsinc.com> wrote:> We will need to see your dahdi.conf and chan_dahdi.conf files as well. > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > 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/20100730/24546945/attachment.htm