Re: Accessing dialplan functions and SIP headers via ARI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


You can access the SIP headers using "SIP_HEADER(from)" (for example), I do it in ARI at the moment, using "Channels.GetChannelVar".

I'm using 12.7


> -----Original Message-----
> From: asterisk-app-dev-bounces@xxxxxxxxxxxxxxxx [mailto:asterisk-app-dev-
> bounces@xxxxxxxxxxxxxxxx] On Behalf Of Paul Belanger
> Sent: 18 December 2014 04:04
> To: Asterisk Application Development discussion
> Subject: Re:  Accessing dialplan functions and SIP headers
> via ARI
> On Wed, Dec 17, 2014 at 9:51 PM, Alistair Cunningham
> <acunningham@xxxxxxxxxxxxx> wrote:
> > Our re-write of the Enswitch telephony to use the ARI is making good
> > progress. We have encountered one thing that we can't figure out how
> > to do, and that's get the values of SIP headers via the ARI. Our
> > developer tells me that dialplan functions such as SIP_HEADER() are
> > unavailable via ARI. Is that correct? If so, what would be required to add
> this to the ARI?
> >
> He is correct, had the same problem.  I wanted access to the SIP callid field
> for some queue stuff, only way I could get it was to preset a channel variable
> before dumping the call into stasis.
> --
> Paul Belanger | PolyBeacon, Inc.
> Jabber: paul.belanger@xxxxxxxxxxxxxx | IRC: pabelanger (Freenode)
> Github: | Twitter:
> _______________________________________________
> asterisk-app-dev mailing list
> asterisk-app-dev@xxxxxxxxxxxxxxxx

asterisk-app-dev mailing list

[Index of Archives]     [Asterisk SS7]     [Asterisk Announcements]     [Asterisk Users]     [PJ SIP]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Linux API]

  Powered by Linux