Quantcast
Channel: IP АТС Asterisk
Viewing all articles
Browse latest Browse all 1135

function 'PJSIP_HEADER'

$
0
0
function 'PJSIP_HEADER' Gets, adds, updates or removes the specified SIP header from a PJSIP session. [Description] Examples: ; ; Set 'somevar' to the value of the 'From' header. exten => 1,1,Set(somevar=${PJSIP_HEADER(read,From)}) ; ; Set 'via2' to the value of the 2nd 'Via' header. exten => 1,1,Set(via2=${PJSIP_HEADER(read,Via,2)}) ; ; Add an 'X-Myheader' header with the value of 'myvalue'. exten => 1,1,Set(PJSIP_HEADER(add,X-MyHeader)=myvalue) ; ; Add an 'X-Myheader' header with an empty …

Viewing all articles
Browse latest Browse all 1135

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>