-
Notifications
You must be signed in to change notification settings - Fork 130
Items CID_Announce
ggodart edited this page Jan 1, 2021
·
1 revision
See original
Example initialization:
use CID_Announce;
$cid = new CID_Announce($telephony_driver,'Call from $name $snumber.');
Constructor Parameters:
ex. $x = new CID_Announce($y,$z);
$x - Reference to the class
$y - Telephony driver reference
$z - Format for speaking
Following variables are substitued in ""
$name,$first,$middle,$last,$number,$fnumber
(formated),$snumber(speakable),$type,$category,$city,
$state,$time,$areacode,$prefix,$suffix,$soundfile
Input states:
"cid" - Caller ID event
"ring" - Ring event 'to pass along to other consumers of this object'
Output states:
"cid" - Caller ID event
"ring" - Ring event 'to pass along to other consumers of this object'
Announces a call. CID with category of 'reject' will not be announced.
Telephony_Item (undocumented)
None
Jason Sharpee [email protected]
Special Thanks to: Bruce Winter - MH
For example see g_phone.pl