Méthode |
Description |
|
__construct ( DialDescriptor $dialDescriptor ) : void |
Constructor. |
|
getAccount ( ) : string |
Returns account code to use for this call. |
|
getAlwaysDelete ( ) : boolean |
If the file's modification time is in the future, the call file will not
be deleted |
|
getApplication ( ) : string |
Returns Asterisk Application to run (use instead of specifiying context,
extension and priority) |
|
getApplicationData ( ) : string |
Returns the options to be passed to application. |
|
getArchive ( ) : boolean |
Sets if should move to subdir "outgoing_done" with "Status: value",
where value can be Completed, Expired or Failed. |
|
getCallerId ( ) : string |
Returns Caller ID, Please note: It may not work if you do not respect
the format: CallerID: "Some Name" <1234> |
|
getChannel ( ) : string |
Returns channel to use for the call. |
|
getContext ( ) : string |
Returns context to use for this call when answered. |
|
getExtension ( ) : string |
Returns extension to use for this call when answered. |
|
getMaxRetries ( ) : integer |
Returns number of retries before failing (not including the initial
attempt, e.g. 0 = total of 1 attempt to make the call). Default is 0. |
|
getPriority ( ) : string |
Returns priority to use for this call when answered. |
|
getRetryTime ( ) : integer |
Returns seconds between retries, Don't hammer an unavailable phone. |
|
getVariable ( string $key ) : string |
Returns the value for the given variable. |
|
getWaitTime ( ) : integer |
Returns seconds to wait for an answer. Default is 45. |
|
serialize ( ) : string |
Returns the text describing this call file, ready to be spooled. |
|
setAccount ( string $value ) : void |
Sets account code to use for this call. |
|
setAlwaysDelete ( boolean $value ) : void |
If the file's modification time is in the future, the call file will not
be deleted |
|
setApplication ( string $value ) : void |
Sets Asterisk Application to run (use instead of specifiying context,
extension and priority) |
|
setApplicationData ( array $options = [] ) : void |
Sets the options to be passed to application. |
|
setArchive ( boolean $value ) : void |
Sets if should move to subdir "outgoing_done" with "Status: value",
where value can be Completed, Expired or Failed. |
|
setCallerId ( string $value ) : void |
Sets the Caller ID, Please note: It may not work if you do not respect
the format: CallerID: "Some Name" <1234> |
|
setContext ( string $value ) : void |
Sets context to use for this call when answered. |
|
setExtension ( string $value ) : void |
Sets extension to use for this call when answered. |
|
setMaxRetries ( integer $value ) : void |
Sets number of retries before failing (not including the initial
attempt, e.g. 0 = total of 1 attempt to make the call). Default is 0. |
|
setPriority ( string $value ) : void |
Sets priority to use for this call when answered. |
|
setRetryTime ( integer $value ) : void |
Sets seconds between retries, Don't hammer an unavailable phone. |
|
setVariable ( string $key, string $value ) : void |
Sets a given variable with the given value. |
|
setWaitTime ( integer $value ) : void |
Sets seconds to wait for an answer. Default is 45. |
|
unserialize ( string $text ) : void |
Deconstructs a call file from the given text. |
|