Displaying 1 result from an estimated 1 matches for "__sipaddheader51".
Did you mean:
__sipaddheader
2023 Apr 10
1
Setting PJSIP header from AMI
...ing from an older asterisk/SIP to a newer (18+) asterisk/PJSIP and trying to figure out how to add [identity] header when originating a call from AMI/PAMI.
In the older version we would just set a variable like this:
$action = new OriginateAction("SIP/....");
$action->setVariable('__SIPADDHEADER51',"Identity: $identity"); // $identity contains generated by 3rd party header
Is there anything similar for
$action = new OriginateAction("PJSIP/....");
???
that would work for PJSIP?
Any suggestions are appreciated.
Alex Zarubin/TTH
-------------- next...