[Home]

Summary:DAHLIN-00008: Turkey country support for ZAPTEL, hangups not recognized, callerid not working
Reporter:murat sahinbas (msahinbas)Labels:
Date Opened:2007-08-14 08:27:33Date Closed:2009-03-17 08:52:48
Priority:MajorRegression?No
Status:Closed/CompleteComponents:wctdm
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) ttas_arayuz_kriteri_eng.pdf
Description:Can we please have country support for Turkey, (TR, +90), added into the next zaptel package release?

zonedata.c does not contain any ITU E.180 recommendations for turkey, i've added these and recompiled as found from (http://www.voip-info.org/wiki/view/Asterisk+indications+Turkey ), reloaded, however, we are still experiencing unrecognized hangups from Turk Telekom PSTN lines when callers hangup.

Turk Telekom does *not* provide supervised disconnects on analog PSTN, and the tone we receive we when caller hangs up is similar to busy, with three short beeps, followed by one long beep, which keeps repeating.  We've tried busydetect, polarityswitch, etc. with no success.  Callerid does *not* work either, and it might be related to this issue.

As it stands, asterisk using zaptel (wctdm, with Digium TDM400p) does not work in Turkey.  Can offer small bounty for any developer wishing to solve this issue, also for callerid.


Comments:By: Tzafrir Cohen (tzafrir) 2007-08-14 10:51:18

As seen in #asterisk-dev:

<puzzled> yarrix: the info about turkish tones can be found in this doc: http://www.itu.int/ITU-T/inr/forms/files/tones-0203.pdf

msahinbas: I think it may help if you could provide an email or whatever for off-line contact.


The entry from there:

COUNTRY/TONE                        FREQUENCY in Hz     CADENCE in seconds

Turkey
Busy tone -          450    0.5 on 0.5 off
Confirmation tone -  450    0.04 on 0.04 off
Congestion tone -    450    3x(0.2 on 0.2 off) 0.6 on 0.2 off
Dial tone -          450    continuous
Special dial tone -                 450                 1.0 on 0.25 off
Howler tone -                       1400/2060/2460/2600 0.1 on 0.1 off
Number unobtainable tone -          450                 0.2 on 0.2 off
Ringing tone -                      450                 2.0 on 4.0 off
Special information tone -          950/1400/1800       3x0.3 on 1.0 off
Warning tone - operator intervening 450                 0.2 on 0.2 off 0.6 on 0.2 off
Waiting tone - I                    350+450             0.5 on 0.5 off
Waiting tone - II                   450                 0.5 on 2.5 off
Call waiting tone -                 450                 0.2 on 0.6 off 0.2 on 8.0 off

By: murat sahinbas (msahinbas) 2007-08-14 12:20:25

Sorry, if you need to contact me about that bounty, please send email to:

msahinbas@fibro.com.tr


I've also attached a paper by Turk Telekom that supposedly describes their network specifications, it is in english.  Please see the attachments.

Thanks in advance.



By: Tzafrir Cohen (tzafrir) 2007-08-20 23:33:34

Do you have a configuration that works for you?

Can you post it here?

By: ciscoine (ciscoine) 2007-11-24 10:05:13.000-0600

Asterisk version               =>  1.2.13
Zaptel Driver version          =>  1.2.21
System OS                      =>  Debian Etch (4.0)
Hardware                       =>  X100p Voxzone FXO
Line                           =>  POTS

Note : Zaptel is compiled with Turkish indications support.

Hi,

I dont see any feedback for this problem, may the bug reporter give a feedback related with hang-up problem, cos this problem continues.

The problem  is below,

When an internal caller calls outside, it seems  established but there is no establishment in reality. If i unplug and replug PSTN (rj11) cable, caller can call outside with success, but if caller wants to disconnect called party foreign phone still rings.

For another call, user must replug the PSTN cable.

/etc/zaptel.conf
fxsks=1
loadzone=tr
defaultzone=tr

/etc/asterisk/zapata.conf

[channels]
context=pots_line
busydetect=yes
busycount=4
hanguponpolarityswitch
relaxdtmf=yes
callprogress=yes
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
usecallerid=yes
echocancel=yes
echocancelwhenbridged=yes
rxgain=2.0
txgain=2.0
immediate=yes
signalling=fxs_ks
group=1
pickupgroup=1
channel=>1

/etc/asterisk/extensions.conf

[pots_line]
exten =>  s,1,Dial(SIP/2001,20,tr)
exten =>  s,2,Hangup()


exten => _0X.,1,Dial,Zap/1/${EXTEN:1}
exten => 1111,1,Dial(Zap/1/<test no>) ;works
exten => 1111,2,Hangup()

By: Kevin P. Fleming (kpfleming) 2008-01-28 18:53:19.000-0600

Changing to 'feature', since support for an additional country is not a blocking issue.

By: Leif Madsen (lmadsen) 2008-12-04 15:36:33.000-0600

Any word on how to move this issue forward? Do we still have interest in this?

By: Giray Devlet (giray) 2009-02-06 01:02:21.000-0600

Hi All ... we are very interested in this ... our lines constantly stay in a "Offhook" state, with the only solution to restart everything.

By: Leif Madsen (lmadsen) 2009-02-09 11:12:40.000-0600

I've assigned the issue to sruffell to see if there is something he wants to do with it, but since this is considered a feature, this issue is lower priority than maybe some pressing issues sruffell has on his plate.

Thanks!

By: Russell Bryant (russell) 2009-03-17 08:24:10

I'm going to go ahead and add the tones to zonedata.c.  

However, better support for recognizing the tones that we receive on hangup is not something that I can do.  Asterisk has poor support for call progress tone detection in general.  Improving it, and adding support for detecting these tones, is something that would be _very_ welcome.  However, until someone writes the code, we're stuck with what we've got.  I won't leave this issue open for that since we do not keep open feature requests without a patch on the bug tracker.

By: Giray Devlet (giray) 2009-03-17 08:26:26

Cool thx ... much appreciated ...

By: Digium Subversion (svnbot) 2009-03-17 08:52:47

Repository: dahdi
Revision: 6187

U   tools/trunk/zonedata.c

------------------------------------------------------------------------
r6187 | russell | 2009-03-17 08:52:46 -0500 (Tue, 17 Mar 2009) | 5 lines

Add tone definitions for Turkey.

(closes issue DAHLIN-8)
Reported by: msahinbas

------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=6187