function 'SIP_HEADER'

[Synopsis]
Gets the specified SIP header from an incoming INVITE message.
 
[Description]
Since there are several headers (such as Via) which can occur multiple times,
SIP_HEADER takes an optional second argument to specify which header with
that name to retrieve. Headers start at offset '1'.
Please observe that contents of the SDP (an attachment to the SIP request)
cant be accessed with this function.
 
[Syntax]
SIP_HEADER(name[,number])
 
[Arguments]
number
    If not specified, defaults to '1'.

[See Also] Not available

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

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