In article <[EMAIL PROTECTED]>,
Ast Exp <[EMAIL PROTECTED]> wrote:
> On 3/22/07, Tony Mountifield <[EMAIL PROTECTED]> wrote:
> >
> > Look at the UserEvent dialplan application, e.g.
> >
> > exten => _X.,n,UserEvent(SIP|SIPHdr: ${YOURSIPHEADER})
> >
> > You would probably put this just before your Dial() statement.
> >
> > Then you could watch for this event over the AMI and store the header
> > against the channel.
>
> Could this be used to extract the service identifier IE from an IAX
> channel? Something like
>
> exten => _X.,n,UserEvent(IAX|IAXHdr: ${IAX_IE_SERVICEIDENT})
That would depend only on whether Asterisk makes the value of interest
available via a channel variable.
Cheers
Tony
--
Tony Mountifield
Work: [EMAIL PROTECTED] - http://www.softins.co.uk
Play: [EMAIL PROTECTED] - http://tony.mountifield.org
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev