[asterisk-dev] ARI - Add Support for custom SIP Headers with Originate
Olle E. Johansson
oej at edvina.net
Sun Mar 8 06:03:08 CDT 2015
On 08 Mar 2015, at 09:52, Nir Simionovich <nir.simionovich at gmail.com> wrote:
> Hi All,
>
> So, I've been banging my head against an issue with ARI. While Channel Originate enables
> you to originate channels, you can't really do a "SIPAddHeader" type functionality in there.
>
> Originally, I was under impression that endpoints/message should be able to give me the functionality I wanted, but it didn't.
>
> So, I realized that the functionality I'm looking for doesn't really exist.
>
> Question, are we missing a feature here? or is there an alternative method of achieving the
> same functionality?
If you can add channel variables, you can add SIP headers.
Look at a dump of the channel after you executed SIPaddheader to figure out how it works.
Add two headers, and run dumpchan().
/O
More information about the asterisk-dev
mailing list