Re: [asterisk-users] Setting PJSIP header from AMI

2023-04-10 Thread Joshua C. Colp
On Mon, Apr 10, 2023 at 8:25 PM Alex Zarubin wrote: > Hello, > > > > We are moving 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

[asterisk-users] Setting PJSIP header from AMI

2023-04-10 Thread Alex Zarubin
Hello, We are moving 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/");