function 'IAXPEER'

[Synopsis]
Gets IAX peer information.
 
[Description]
Gets information associated with the specified IAX2 peer.
 
[Syntax]
IAXPEER(peername[,item])
 
[Arguments]
peername
    CURRENTCHANNEL - If <peername> is specified to this value, return
    the IP address of the endpoint of the current channel
item
    If <peername> is specified, valid items are:
    ip - (default) The IP address.
    status - The peers status (if 'qualify=yes')
    mailbox - The configured mailbox.
    context - The configured context.
    expire - The epoch time of the next expire.
    dynamic - Is it dynamic? (yes/no).
    callerid_name - The configured Caller ID name.
    callerid_num - The configured Caller ID number.
    codecs - The configured codecs.
    codec[x] - Preferred codec index number <x> (beginning with '0')

[See Also] function 'SIPPEER'

Asterisk: функции диалплана

Только авторизованные участники могут оставлять комментарии.
  • asterisk/func/iaxpeer.txt
  • Последние изменения: 2014/05/07