Name

SIPPEER — Retrieves info about a SIP peer

Synopsis

SIPPEER(peername[|item])

Gets SIP peer information.

Valid items are:

ip

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

mailbox

This peer’s configured mailbox.

context

The peer’s configured context.

expire

The epoch time of the next registration expiration.

dynamic

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

callerid_name

The Caller ID name configured on this peer.

callerid_number

The Caller ID number configured on this peer.

status

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

regexten

This peer’s registration extension, if configured.

limit

This peer’s call limit.

curcalls

Current number of calls. Only available if call-limit is set on this peer.

language

Default language for this peer.

accountcode

Account code for this peer.

useragent

The name of the SIP user agent.

codecs

The configured codecs for this peer.

codec[x]

Preferred codec index number x (beginning with zero).

See Also

IAXPEER()

Get Asterisk: The Future of Telephony, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.