That was an excellent information which you gave in advance.
I did that too.
Intially I was bit confused with the dring, and I was worried about finding
the right pattern. But it gave me the value when i make a call after
enteringusedistinctiveringdetection=yes in zapata.conf. And I got the
dring value from the following call log.
-- Starting simple switch on 'Zap/1-1'
Jun 18 04:07:42 NOTICE[245776]: chan_zap.c:4811 ss_thread: Got event 2
(Ring/Answered)...
-- Detected ring pattern: 337,0,0
-- Executing Answer(Zap/1-1, ) in new stack
-- Executing Dial(Zap/1-1, SIP/12345|20|tr) in new stack
-- Called 12345
-- SIP/12345-31aa is ringing
== Spawn extension (default, s, 2) exited non-zero on 'Zap/1-1'
-- Hungup 'Zap/1-1'
Here is the configuration for my BT Line:
usedistinctiveringdetection=yes
dring1 = 367,0,0
dring1context = default
dring2 = 337,0,0
dring2context = business ; this matches the second phone number alloted by
BT.
Thanks once again chris.
Kannaiyan
- Original Message -
From: Chris Stenton [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 17, 2004 9:26 PM
Subject: Re: [Asterisk-Users] BT Caller ID - From Patch ?
Also I believe the patch is in the driver to detect distinctive ring
tone for home/business calls. Look in the archive to set it up for
a BT line.
Chris
On Thu, 2004-06-17 at 21:02, Kannaiyan Natesan wrote:
I get this error when i receive the call on the line. Also I have Call
Sign on my telephone line, does that affects this anyway?
Call Sign -- two telephone numbers for a single telephone line with
two
distinct ringtone.
Jun 17 21:04:50 ERROR[360464]: chan_zap.c:4759 ss_thread: zt_get_history
failed: Inappropriate ioctl for device
-- Starting simple switch on 'Zap/1-1'
Jun 17 21:04:50 ERROR[360464]: chan_zap.c:4759 ss_thread: zt_get_history
failed: Inappropriate ioctl for device
-- Executing MySQLput(Zap/1-1, cid/cid=s) in new stack
-- mysqlput: family=cid, key=cid, value=s
-- Executing Dial(Zap/1-1, SIP/12345|20|tr) in new stack
-- Called 12345
-- SIP/12345-fb4a is ringing
== Spawn extension (default, s, 2) exited non-zero on 'Zap/1-1'
-- Hungup 'Zap/1-1'
Is there is any situation I get this error? any possibilities?
If anyone needs more information please let me know.
Kannaiyan
- Original Message -
From: David J Carter [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 17, 2004 9:08 PM
Subject: RE: [Asterisk-Users] BT Caller ID - From Patch ?
I have it working with the X100P no problems, on both BT and Telewest
lines.
Anybody got it working on the TDM400P yet?
Dave
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Kannaiyan
Natesan
Sent: 17 June 2004 19:59
To: [EMAIL PROTECTED]
Subject: Re: [Asterisk-Users] BT Caller ID - From Patch ?
I have the following settings chris. Also i confirmed with BT that
caller
is
enabled on my line.
Let me know if I need to modify anything. Thanks.
zaptel.conf:
fxsks=1
loadzone=uk
defaultzone=uk
zapata.conf:
[channels]
busydetect=1
busycount=7
relaxdtmf=yes
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes
usecallerid=uk
echotraining=yes
echocancel=yes
echocancelwhenbridged=yes
jitterbuffers=4
rxgain=0.0
txgain=0.0
group=1
pickupgroup=1-4
immediate=no
context=default
signalling=fxs_ks
callerid=asreceived
channel=1
Kannaiyan
- Original Message -
From: Chris Stenton [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 17, 2004 7:38 PM
Subject: Re: [Asterisk-Users] BT Caller ID - From Patch ?
It works fine for me.
make sure you only have
usecallerid=uk
in the config.
If you also have
usecallerid=yes
set it will default to the US style.
Make sure you have the uk settings in zaptel.conf. Can you see the
callerid
with a std phone on the line?
Chris
- Original Message -
From: Kannaiyan Natesan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, June 17, 2004 7:20 PM
Subject: Re: [Asterisk-Users] BT Caller ID - From Patch ?
[snip]
My Zapata.conf:
usecallerid=yes
ukcallerid=yes
Change those two lines to simply usecallerid=uk.
I changed as you said and restarted asterisk. Still doesn't work.
-- Starting simple switch on 'Zap/1-1'
Jun 17 19:24:48 ERROR[262160]: chan_zap.c:4759 ss_thread:
zt_get_history
failed: Inappropriate ioctl for device
-- Executing MySQLput(Zap/1-1, cid/cid=s) in new stack
-- mysqlput: family=cid, key=cid, value=s
-- Executing