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

Kannaiyan Natesan nkans at speak2world.com
Thu Jun 17 10:20:25 MST 2004


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






More information about the asterisk-users mailing list