[Asterisk-Users] Caller ID from Database

Jim Paraschou algogr at yahoo.com
Sat Dec 6 11:13:46 MST 2003


Hi all,
Does anybody know a way to set callerid to a channel
by searching the incoming cid to a database and return
the name of the caller and set the callerid to the
channel.
I tried it with agi script in C but the problem is
that agi command SET CALLERID did not work for me with
a variable.
What i mean is that printf("SET CALLERID 123<JIM>")
for example works fine printf("SET CALLERID %s",clid)
where clid is a string variable does not work.
Anyone can help?
Thanks
Dimitris

__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/



More information about the asterisk-users mailing list