Skip to content
ggodart edited this page Jan 1, 2021 · 1 revision

CID_Announce

See original

SYNOPSIS

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'

DESCRIPTION

Announces a call. CID with category of 'reject' will not be announced.

INHERITS

Telephony_Item (undocumented)

METHODS

INI PARAMETERS

None

AUTHOR

Jason Sharpee [email protected]

Special Thanks to: Bruce Winter - MH

SEE ALSO

For example see g_phone.pl

Clone this wiki locally