RE: [Asterisk-Users] BT Caller ID - From Patch ?

2004-06-17 Thread Chris Bond
Another solution to get uk caller id is to get a meteor unit, andy powell
kindly wrote a few agi scripts and the perl script for the meteor to
integerate it fully with *.

-Original Message-
From: Kannaiyan Natesan [mailto:[EMAIL PROTECTED] 
Sent: 17 June 2004 6:20 PM
To: [EMAIL PROTECTED]
Subject: [Asterisk-Users] BT Caller ID - From Patch ?

Any body used patch,

http://bugs.digium.com/bug_view_page.php?bug_id=0001719

to get the callerid for BT Line.

I applied the patch successfully but could not get it to work.
Any help.

Here are the logs:

 -- Starting simple switch on 'Zap/1-1'
Jun 17 18:22:31 NOTICE[426000]: chan_zap.c:4811 ss_thread: Got event 2
(Ring/Answered)...
Jun 17 18:22:34 NOTICE[426000]: chan_zap.c:4811 ss_thread: Got event 2
(Ring/Answered)...
-- 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-c377 is ringing
  == Spawn extension (default, s, 2) exited non-zero on 'Zap/1-1'
-- Hungup 'Zap/1-1'

and in my extensions.conf

exten => s,1,MySQLPut(cid/02085034825=${CALLERID}${EXTEN})
exten => s,2,Dial(SIP/12345,20,tr)

can anyone please help what could be the problem.

My Zapata.conf:

[channels]

busydetect=1
busycount=7

relaxdtmf=yes
callwaiting=yes
callwaitingcallerid=yes
threewaycalling=yes
transfer=yes
cancallforward=yes

usecallerid=yes
ukcallerid=yes

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


Am I missing anything here?

Kannaiyan



___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] BT Caller ID - From Patch ?

2004-06-17 Thread Kevin Walsh
Kannaiyan Natesan [EMAIL PROTECTED] wrote:
> Any body used patch,
> 
> http://bugs.digium.com/bug_view_page.php?bug_id=0001719
> 
> to get the callerid for BT Line.
> 
> I applied the patch successfully but could not get it to work.
> Any help.
> 
> [snip]
> 
> My Zapata.conf:
> 
> usecallerid=yes
> ukcallerid=yes
> 
Change those two lines to simply "usecallerid=uk".

And yes, the patches work well.

-- 
   _/   _/  _/_/_/_/  _/_/  _/_/_/  _/_/
  _/_/_/   _/_/  _/_/_/_/_/  _/   K e v i n   W a l s h
 _/ _/_/  _/ _/ _/_/  _/_/[EMAIL PROTECTED]
_/   _/  _/_/_/_/  _/_/_/_/  _/_/

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] BT Caller ID - From Patch ?

2004-06-17 Thread Kannaiyan Natesan
 >
> > [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 Dial("Zap/1-1", "SIP/12345|20|tr") in new stack
-- Called 12345
-- SIP/12345-810a is ringing
  == Spawn extension (default, s, 2) exited non-zero on 'Zap/1-1'
-- Hungup 'Zap/1-1'


> And yes, the patches work well.
  Still I didn't get it to work. Do I need to take care of any other
settings?

I applied the patch from the bug report.

Kannaiyan

>
> --
>_/   _/  _/_/_/_/  _/_/  _/_/_/  _/_/
>   _/_/_/   _/_/  _/_/_/_/_/  _/   K e v i n   W a l s h
>  _/ _/_/  _/ _/ _/_/  _/_/[EMAIL PROTECTED]
> _/   _/  _/_/_/_/  _/_/_/_/  _/_/
>
> ___
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] BT Caller ID - From Patch ?

2004-06-17 Thread Chris Stenton
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 Dial("Zap/1-1", "SIP/12345|20|tr") in new stack
> -- Called 12345
> -- SIP/12345-810a is ringing
>   == Spawn extension (default, s, 2) exited non-zero on 'Zap/1-1'
> -- Hungup 'Zap/1-1'
>
>
> > And yes, the patches work well.
>   Still I didn't get it to work. Do I need to take care of any other
> settings?
>
> I applied the patch from the bug report.
>
> Kannaiyan
>
> >
> > --
> >_/   _/  _/_/_/_/  _/_/  _/_/_/  _/_/
> >   _/_/_/   _/_/  _/_/_/_/_/  _/   K e v i n   W a l s h
> >  _/ _/_/  _/ _/ _/_/  _/_/[EMAIL PROTECTED]
> > _/   _/  _/_/_/_/  _/_/_/_/  _/_/
> >
> > ___
> > Asterisk-Users mailing list
> > [EMAIL PROTECTED]
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> >http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> >
> >
>
>
> ___
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] BT Caller ID - From Patch ?

2004-06-17 Thread Kannaiyan Natesan
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 Dial("Zap/1-1", "SIP/12345|20|tr") in new stack
> > -- Called 12345
> > -- SIP/12345-810a is ringing
> >   == Spawn extension (default, s, 2) exited non-zero on 'Zap/1-1'
> > -- Hungup 'Zap/1-1'
> >
> >
> > > And yes, the patches work well.
> >   Still I didn't get it to work. Do I need to take care of any other
> > settings?
> >
> > I applied the patch from the bug report.
> >
> > Kannaiyan
> >
> > >
> > > --
> > >_/   _/  _/_/_/_/  _/_/  _/_/_/  _/_/
> > >   _/_/_/   _/_/  _/_/_/_/_/  _/   K e v i n   W a l s
h
> > >  _/ _/_/  _/ _/ _/_/  _/_/[EMAIL PROTECTED]
> > > _/   _/  _/_/_/_/  _/_/_/_/  _/_/
> > >
> > > ___
> > > Asterisk-Users mailing list
> > > [EMAIL PROTECTED]
> > > http://lists.digium.com/mailman/listinfo/asterisk-users
> > > To UNSUBSCRIBE or update options visit:
> > >http://lists.digium.com/mailman/listinfo/asterisk-users
> > >
> > >
> > >
> >
> >
> > ___
> > Asterisk-Users mailing list
> > [EMAIL PROTECTED]
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> >http://lists.digium.com/mailman/listinfo/asterisk-users
> >
>
> ___
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>
>


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


RE: [Asterisk-Users] BT Caller ID - From Patch ?

2004-06-17 Thread David J Carter
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 Dial("Zap/1-1", "SIP/12345|20|tr") in new stack
> > -- Called 12345
> > -- SIP/12345-810a is ringing
> >   == Spawn extension (default, s, 2) exited non-zero on 'Zap/1-1'
> > -- Hungup 'Zap/1-1'
> >
> >
> > > And yes, the patches work well.
> >   Still I didn't get it to work. Do I need to take care of any other
> > settings?
> >
> > I applied the patch from the bug report.
> >
> > Kannaiyan
> >
> > >
> > > --
> > >_/   _/  _/_/_/_/  _/_/  _/_/_/  _/_/
> > >   _/_/_/   _/_/  _/_/_/_/_/  _/   K e v i n   W a l s
h
> > >  _/ _/_/  _/ _/ _/_/  _/_/[EMAIL PROTECTED]
> > > _/   _/  _/_/_/_/  _/_/_/_/  _/_/
> > >
> > > ___
> > > Asterisk-Users mailing list
> > > [EMAIL PROTECTED]
> > > http://lists.digium.com/mailman/listinfo/asterisk-users
> > > To UNSUBSCRIBE or update options visit:
> > >http://lists.digium.com/mailman/listinfo/asterisk-users
> > >
> > >
> > >
> >
> >
> > ___
> > Asterisk-Users mailing list
> > [EMAIL PROTECTED]
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> >http://lists.digium.com/mailman/listinfo/asterisk-users
> >
>
> ___
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>
>


___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] BT Caller ID - From Patch ?

2004-06-17 Thread Kannaiyan Natesan
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 Dial("Zap/1-1", "SIP/12345|20|tr") in new stack
> > > -- Called 12345
> > > -- SIP/12345-810a is ringing
> > >   == Spawn extension (default, s, 2) exited non-zero on 'Zap/1-1'
> > > -- Hungup 'Zap/1-1'
> > >
> > >
> > > > And yes, the patches work well.
> > >   Still I didn't get it to work. Do I need to take care of any
other
> > > settings?
> > >
> > > I applied the patch from the bug report.
> > >
> > > Kannaiyan
> > >
> > > >
> > > > --
> > > >_/   _/  _/_/_/_/  _/_/  _/_/

Re: [Asterisk-Users] BT Caller ID - From Patch ?

2004-06-17 Thread Chris Stenton
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


Ok thats your problem. 

Either you have not patched your zaptel driver or you did not unload and
reload the zaptel driver. Which ever way you are still using the non
patched zaptel driver.

the  zt_get_history is a new ioctl in the zaptel driver for the bt
caller id.

Chris



> -- 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 restarte

Re: [Asterisk-Users] BT Caller ID - From Patch ?

2004-06-17 Thread Chris Stenton
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: I

RE: [Asterisk-Users] BT Caller ID - From Patch ?

2004-06-17 Thread Kevin Walsh
Kannaiyan Natesan [EMAIL PROTECTED] 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.
> 
You have patched, compiled and installed Asterisk.  You have not done
the same for zaptel.

Patch, compile and install zaptel, then recompile and install Asterisk.

Distinctive ring (or "Callsign", with BT's hallucinogenic renaming policy)
works fine with the patches.

-- 
   _/   _/  _/_/_/_/  _/_/  _/_/_/  _/_/
  _/_/_/   _/_/  _/_/_/_/_/  _/   K e v i n   W a l s h
 _/ _/_/  _/ _/ _/_/  _/_/[EMAIL PROTECTED]
_/   _/  _/_/_/_/  _/_/_/_/  _/_/

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] BT Caller ID - From Patch ?

2004-06-17 Thread Kannaiyan Natesan
Fantastic. That solved my problem.
I did reloaded the drivers now by entering,


modprobe -r wcfxo
modprobe -r zaptel
modprobe zaptel
modprobe wcfxo

output:

 -- Starting simple switch on 'Zap/1-1'
-- Executing MySQLput("Zap/1-1", "cid/cid=07751625432") in new stack
-- mysqlput: family=cid, key=cid, value=07751625432
-- Executing Dial("Zap/1-1", "SIP/12345|20|tr") in new stack
-- Called 12345
-- SIP/12345-72e4 is ringing
  == Spawn extension (default, s, 2) exited non-zero on 'Zap/1-1'
-- Hungup 'Zap/1-1'

Thanks Chris Bond, Kelvin Stenton, Chris Stenton & to others who helped me
to solved this problem.

Kannaiyan


- Original Message -
From: "Chris Stenton" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 17, 2004 9:24 PM
Subject: Re: [Asterisk-Users] BT Caller ID - From Patch ?


> 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
>
>
> Ok thats your problem.
>
> Either you have not patched your zaptel driver or you did not unload and
> reload the zaptel driver. Which ever way you are still using the non
> patched zaptel driver.
>
> the  zt_get_history is a new ioctl in the zaptel driver for the bt
> caller id.
>
> Chris
>
>
>
> > -- 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 1

Re: [Asterisk-Users] BT Caller ID - From Patch ? - Distinctive ring

2004-06-17 Thread Kannaiyan Natesan
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
entering"usedistinctiveringdetection=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
&g

RE: [Asterisk-Users] BT Caller ID - From Patch ? - Distinctive ring

2004-06-18 Thread Kevin Walsh
Kannaiyan Natesan [EMAIL PROTECTED] wrote:
> I got the dring value from the following call log.
> 
> -- Detected ring pattern: 337,0,0
> 
> 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. 
> 
My dring1/2 settings are different (BT too, by the way):

dring1 = 367,0,0
dring2 = 247,0,0

You got your settings from the right place (the log).  Perhaps BT vary
the distinctive ring cadence depending the exchange to which you're
connected, and the equipment used in that exchange.  It seems weird
that they don't (appear to) have a standard.

-- 
   _/   _/  _/_/_/_/  _/_/  _/_/_/  _/_/
  _/_/_/   _/_/  _/_/_/_/_/  _/   K e v i n   W a l s h
 _/ _/_/  _/ _/ _/_/  _/_/[EMAIL PROTECTED]
_/   _/  _/_/_/_/  _/_/_/_/  _/_/

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users