[asterisk-users] Configure Asterisk to preserve SIP header?

Benny Amorsen benny+usenet at amorsen.dk
Thu Feb 5 06:10:05 CST 2009


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




More information about the asterisk-users mailing list