Thanks a lot.
S.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pedro
Nunes
Sent: mercredi 12 octobre 2005 19:18
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [Asterisk-Users] AGI and set_callerid for number and name
Curse,
Look at this php script ...
Contactlookup.agi
#!/usr/local/bin/php -q
4501,1,agi,contactlookup.agi
exten => 4501,2,SetCIDName(${Name})
exten => 4501,3,Dial(SIP/421,15)
It looks to an mssql DB, try to find the callerID number in table
"extensions", and then sets a variable named "Name" to the value of
table "Name". Cool hah...
Pedro Nunes
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Serge
Lhermitte
Sent: quarta-feira, 12 de Outubro de 2005 17:57
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] AGI and set_callerid for number and name
Hi,
I've been trying to use the set_callerid function in the AGI. It sets
the CallerIDname properly but I can't figure out how to set the
CallerIDnumber.
Is it at at possible ?
Cheers.
SL
___
--Bandwidth and Colocation sponsored by Easynews.com --
Asterisk-Users mailing list
Asterisk-Users@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
___
--Bandwidth and Colocation sponsored by Easynews.com --
Asterisk-Users mailing list
Asterisk-Users@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
___
--Bandwidth and Colocation sponsored by Easynews.com --
Asterisk-Users mailing list
Asterisk-Users@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