Get port status. If within a time range Timeout (in miliseconds)
no event occures, 1 is returned.
Input parameter string StatusParams
may contain:
| Parameter |
Description |
| msn |
Called MSN. |
| local_id |
local_id for a line, if defined by MSN. |
| FaxChange |
value 1, if it is allowed to receive on this MSN,
otherwise 0. |
| CalledPartyNumber |
For ISDN only. Called party number. |
| CalledPartySubaddress |
For ISDN only. |
| CallingPartyNumber |
For ISDN only. Calling party number. |
| CallingPartySubaddress |
For ISDN only. |
Return code:
| Code |
Description |
| 0 |
Port is not open. |
| 1 |
Port is open - nothing is happening. |
| 2 |
The ring was detected on the line. |
| 3 |
Line is busy. |
| 4 |
Undefined error. |
| 10 |
No dial-tone. |
| 11 |
Called party is busy. |
| 12 |
Incoming call is being handled. |