PHP Interface PAGI\CallerId\ICallerId

PHP Version 5
Author: Marcelo Gornstein ([email protected])
Show file Open project: marcelog/pagi

Public Methods

Method Description
getANI ( ) : string Returns caller id ani. CALLERID(ani)
getDNID ( ) : string Returns caller id dnid. CALLERID(dnid)
getName ( ) : string Returns caller id name. CALLERID(name)
getNumber ( ) : string Returns caller id number. CALLERID(num)
getRDNIS ( ) : string Returns caller id rdnis. CALLERID(rdnis)
setANI ( string $value ) : void Sets caller id ani. CALLERID(ani).
setCallerPres ( string $presentationMode ) : void Changes the caller id presentation mode.
setDNID ( string $value ) : void Sets caller id dnid. CALLERID(dnid)
setName ( string $value ) : void Sets caller id name. CALLERID(name)
setNumber ( string $value ) : void Sets caller id number. CALLERID(num)
setRDNIS ( string $value ) : void Sets caller id rdnis. CALLERID(rdnis)

Method Details

getANI() public method

Returns caller id ani. CALLERID(ani)
public getANI ( ) : string
return string

getDNID() public method

Returns caller id dnid. CALLERID(dnid)
public getDNID ( ) : string
return string

getName() public method

Returns caller id name. CALLERID(name)
public getName ( ) : string
return string

getNumber() public method

Returns caller id number. CALLERID(num)
public getNumber ( ) : string
return string

getRDNIS() public method

Returns caller id rdnis. CALLERID(rdnis)
public getRDNIS ( ) : string
return string

setANI() public method

Sets caller id ani. CALLERID(ani).
public setANI ( string $value ) : void
$value string ANI.
return void

setCallerPres() public method

Changes the caller id presentation mode.
public setCallerPres ( string $presentationMode ) : void
$presentationMode string Can be one of: allowed_not_screened - Presentation Allowed, Not Screened. allowed_passed_screen - Presentation Allowed, Passed Screen. allowed_failed_screen - Presentation Allowed, Failed Screen. allowed - Presentation Allowed, Network Number. prohib_not_screened - Presentation Prohibited, Not Screened. prohib_passed_screen - Presentation Prohibited, Passed Screen. prohib_failed_screen - Presentation Prohibited, Failed Screen. prohib - Presentation Prohibited, Network Number. unavailable - Number Unavailable.
return void

setDNID() public method

Sets caller id dnid. CALLERID(dnid)
public setDNID ( string $value ) : void
$value string DNID.
return void

setName() public method

Sets caller id name. CALLERID(name)
public setName ( string $value ) : void
$value string Name.
return void

setNumber() public method

Sets caller id number. CALLERID(num)
public setNumber ( string $value ) : void
$value string Number.
return void

setRDNIS() public method

Sets caller id rdnis. CALLERID(rdnis)
public setRDNIS ( string $value ) : void
$value string RDNIS.
return void