Name

IAXPEER — Obtains IAX channel information

Synopsis

IAXPEER(peername[|item])
IAXPEER(CURRENTCHANNEL[|item])

Gets IAX peer information.

If peername is specified, valid items are:

ip

The IP address of this peer. If item is not specified, the IP address will be given.

status

The peer’s status (if qualify=yes).

mailbox

The peer’s configured mailbox.

context

The peer’s configured context.

expire

The epoch time of the next registration expiration for this peer.

dynamic

Does this peer register with Asterisk? (yes/no)

callerid_name

The Caller ID name configured on this peer.

callerid_num

The Caller ID number configured on this peer.

codecs

The peer’s configured codecs.

codec[x]

Preferred codec index number x (beginning with zero).

See Also

SIPPEER()