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

Chris Stenton jacs at gnome.co.uk
Thu Jun 17 13:24:23 MST 2004


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" <david.carter at codepipe.com>
> To: <asterisk-users at lists.digium.com>
> 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: asterisk-users-admin at lists.digium.com
> > [mailto:asterisk-users-admin at lists.digium.com]On Behalf Of Kannaiyan
> > Natesan
> > Sent: 17 June 2004 19:59
> > To: asterisk-users at lists.digium.com
> > 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" <jacs at gnome.co.uk>
> > To: <asterisk-users at lists.digium.com>
> > 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" <nkans at speak2world.com>
> > > To: <asterisk-users at lists.digium.com>
> > > 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
> > > > >  _/ _/    _/          _/ _/     _/    _/  _/_/    kevin at cursor.biz
> > > > > _/   _/  _/_/_/_/      _/    _/_/_/  _/    _/
> > > > >
> > > > > _______________________________________________
> > > > > Asterisk-Users mailing list
> > > > > Asterisk-Users at lists.digium.com
> > > > > 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
> > > > Asterisk-Users at lists.digium.com
> > > > 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
> > > Asterisk-Users at lists.digium.com
> > > 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
> > Asterisk-Users at lists.digium.com
> > 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
> > Asterisk-Users at lists.digium.com
> > 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
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list