[asterisk-users] Configure Asterisk to preserve SIP header?
Scott McNab
scott.mcnab at gmail.com
Fri Feb 6 00:14:33 CST 2009
Thanks for your help.
In case anyone is interested, I managed managed to get it to forward the
Call-Info SIP header using the following extension config:
exten => _X.,1,SIPAddHeader(Call-Info: ${SIP_HEADER(Call-Info)})
exten => _X.,2,Dial(SIP/${EXTEN})
Thanks again,
Scott
On Thu, Feb 5, 2009 at 9:10 PM, Benny Amorsen
<benny+usenet at amorsen.dk<benny%2Busenet at amorsen.dk>
> wrote:
> Scott McNab <scott.mcnab at gmail.com> writes:
>
> > Call-Info: <sip:192.168.100.50>;answer-after=0
> >
> > Is it possible to configure Asterisk so that it forwards this SIP header
> > intact?
>
> > I know that it is possible to set up a dialplan to insert this header for
> > specific extensions, but I really would like to be able to generate this
> > header using my client!
>
> exten => _X!,n,SIPAddHeader(${SIP_HEADER(Call-Info)})
>
> Asterisk doesn't forward anything, it isn't a proxy, but you can
> achieve some of the effect by that dial plan rule.
>
> Syntax is from memory, completely untested.
>
>
> /Benny
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090206/2c351c43/attachment.htm
More information about the asterisk-users
mailing list