#include <PtAddressForwarding.h>
Public Types | |
| enum | ForwardingType { FORWARD_UNCONDITIONALLY = 1, FORWARD_ON_BUSY = 2, FORWARD_ON_NOANSWER = 3 } |
| enum | FilterType { ALL_CALLS = 1, INTERNAL_CALLS = 2, EXTERNAL_CALLS = 3, SPECIFIC_ADDRESS = 4 } |
| enumcode: FORWARD_UNCONDITIONALLY - Forward calls unconditionally enumcode: FORWARD_ON_BUSY - Forward calls on busy enumcode: FORWARD_ON_NOANSWER - Forward calls on no answer More... | |
Public Member Functions | |
| PtAddressForwarding () | |
| enumcode: ALL_CALLS - Apply forwarding instruction to all incoming calls enumcode: INTERNAL_CALLS - Apply instruction to calls originating within the provider's domain enumcode: EXTERNAL_CALLS - Apply instruction to calls originating from outside the provider's domain enumcode: SPECIFIC_ADDRESS - Apply instruction to calls originating from a specific address More... | |
| PtAddressForwarding (const char *destinationURL, int type=FORWARD_UNCONDITIONALLY, int noAnswerTimeout=0) | |
| PtAddressForwarding (const char *destinationURL, int type, PtBoolean internalCalls, int noAnswerTimeout) | |
| param: destinationURL - Destination address URL for the call forwarding operation param: type - Forwarding instruction type param: noAnswerTimeout - Timeout value for forwarding on no answer default 0 means 24 seconds More... | |
| PtAddressForwarding (const char *destinationURL, int type, const char *callerURL, int noAnswerTimeout) | |
| param: destinationURL - Destination address URL for the call forwarding operation param: type - Forwarding instruction type param: internalCalls - If TRUE, forward only internal calls, otherwise forward only external calls param: noAnswerTimeout - Timeout value for forwarding on no answer More... | |
| PtAddressForwarding (const char *destinationURL, int type, int filterType, const char *callerURL, int noAnswerTimeout) | |
| param: destinationURL - Destination address URL for the call forwarding operation param: type - Forwarding instruction type param: callerURL - The URL for the incoming caller address that this forward operation affects param: noAnswerTimeout - Timeout value for forwarding on no answer More... | |
| PtAddressForwarding (const PtAddressForwarding &rPtAddressForwarding) | |
| param: destinationURL - Destination address URL for the call forwarding operation param: type - Forwarding instruction type param: filterType - Forwarding filter type param: callerURL - The URL for the incoming caller address that this forward operation affects param: noAnswerTimeout - Timeout value for forwarding on no answer More... | |
| virtual | ~PtAddressForwarding () |
| PtAddressForwarding & | operator= (const PtAddressForwarding &rhs) |
| PtBoolean | operator== (const PtAddressForwarding &rhs) |
| PtStatus | getDestinationAddress (char *address, int len) |
| PtStatus | getFilter (int &filterType) |
| PtStatus | getSpecificCaller (char *address, int len) |
| PtStatus | getType (int &type) |
| PtStatus | getNoAnswerTimeout (int &time) |
Private Attributes | |
| int | mForwardingType |
| int | mNoAnswerTimeout |
| int | mFilterType |
| UtlString | mDestinationUrl |
| UtlString | mCallerUrl |
Friends | |
| class | PtAddress |
| class | CpCallManager |
| TaoStatus | TaoAddressAdaptor::addressSetForwarding (TaoMessage &rMsg) |
| enum FilterType |
| enum ForwardingType |
enumcode: ALL_CALLS - Apply forwarding instruction to all incoming calls enumcode: INTERNAL_CALLS - Apply instruction to calls originating within the provider's domain enumcode: EXTERNAL_CALLS - Apply instruction to calls originating from outside the provider's domain enumcode: SPECIFIC_ADDRESS - Apply instruction to calls originating from a specific address
| PtAddressForwarding | ( | const char * | destinationURL, |
| int | type = FORWARD_UNCONDITIONALLY, |
||
| int | noAnswerTimeout = 0 |
||
| ) |
| PtAddressForwarding | ( | const char * | destinationURL, |
| int | type, | ||
| PtBoolean | internalCalls, | ||
| int | noAnswerTimeout | ||
| ) |
param: destinationURL - Destination address URL for the call forwarding operation param: type - Forwarding instruction type param: noAnswerTimeout - Timeout value for forwarding on no answer default 0 means 24 seconds
| PtAddressForwarding | ( | const char * | destinationURL, |
| int | type, | ||
| const char * | callerURL, | ||
| int | noAnswerTimeout | ||
| ) |
param: destinationURL - Destination address URL for the call forwarding operation param: type - Forwarding instruction type param: internalCalls - If TRUE, forward only internal calls, otherwise forward only external calls param: noAnswerTimeout - Timeout value for forwarding on no answer
| PtAddressForwarding | ( | const char * | destinationURL, |
| int | type, | ||
| int | filterType, | ||
| const char * | callerURL, | ||
| int | noAnswerTimeout | ||
| ) |
param: destinationURL - Destination address URL for the call forwarding operation param: type - Forwarding instruction type param: callerURL - The URL for the incoming caller address that this forward operation affects param: noAnswerTimeout - Timeout value for forwarding on no answer
| PtAddressForwarding | ( | const PtAddressForwarding & | rPtAddressForwarding | ) |
param: destinationURL - Destination address URL for the call forwarding operation param: type - Forwarding instruction type param: filterType - Forwarding filter type param: callerURL - The URL for the incoming caller address that this forward operation affects param: noAnswerTimeout - Timeout value for forwarding on no answer
|
virtual |
| PtStatus getDestinationAddress | ( | char * | address, |
| int | len | ||
| ) |
| PtStatus getFilter | ( | int & | filterType | ) |
| PtStatus getNoAnswerTimeout | ( | int & | time | ) |
| PtStatus getSpecificCaller | ( | char * | address, |
| int | len | ||
| ) |
| PtStatus getType | ( | int & | type | ) |
| PtAddressForwarding & operator= | ( | const PtAddressForwarding & | rhs | ) |
| PtBoolean operator== | ( | const PtAddressForwarding & | rhs | ) |
|
friend |
|
friend |
|
friend |
|
private |
|
private |
|
private |
|
private |
|
private |