API Docs for:
Show:

peer_status_adapter_13 Class

Module: astproxy

Provides adapter from asterisk status of "PeerEntry" event to a status description string.

Item Index

Properties

AST_PEER_STATUS_2_STR_ADAPTER

Object

Adapter from asterisk status of "PeerEntry" event to a status string. The key is the status code and the value is the status string description. The status reported by the "PeerEntry" event must be compared with this property using the "indexOf" method, because when the status is online it reports also the time in milliseconds, e.g. "OK (5 ms)".