[asterisk-users] Does Asterisk alter the Headers of INVITE Message

Torbjörn Abrahamsson torbjorn.abrahamsson at gmail.com
Mon Nov 28 00:43:56 CST 2011


Well, It doesn't forward the INVITE at all, as asterisk is NOT a proxy. It
creates a totally new INVITE when you issue the Dial application, with its
own set of headers.

Now, you can pass the Test header with something like this (taken from
memory...): 

SipAddHeader(Test: ${SIP_HEADER(Test)})

Do that prior to the call to the Dial application, and you will see your
header in the outgoing INVITE. Of course this means that your dial plan need
to know which headers to pass.

// T


-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Faraj Khasib
Sent: den 28 november 2011 00:42
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Does Asterisk alter the Headers of INVITE
Message

Any body knows how I can configure Asterisk SIP to pass all Header
Parameters?
________________________________________
From: asterisk-users-bounces at lists.digium.com
[asterisk-users-bounces at lists.digium.com] On Behalf Of Faraj Khasib
[fkhasib at iconnecths.com]
Sent: Sunday, November 27, 2011 4:50 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Does Asterisk alter the   Headers of
INVITE  Message

thats my main question if u can see "Does Asterisk alter the Headers    of
INVITE  Message"
I am using ASterisk NOW proxy .... I didnt configure it to delete anything ,
Can u tell me how I can change it to pass that parameters?
thanx
________________________________________
From: asterisk-users-bounces at lists.digium.com
[asterisk-users-bounces at lists.digium.com] On Behalf Of Alex Balashov
[abalashov at evaristesys.com]
Sent: Sunday, November 27, 2011 4:41 PM
To: asterisk-users at lists.digium.com
Subject: Re: [asterisk-users] Does Asterisk alter the Headers   of
INVITE  Message

On 11/27/2011 05:25 PM, Faraj Khasib wrote:

> Yes, see attached ... Proxy server alter my "Test" custom header and
> delete it, Is there a way to include it in message sent from SIP
> Proxy to target?

That would be a proxy configuration issue, wouldn't it?

In principle, the proxy should be passing these messages through
unmodified, unless you have an explicit configuration directive that
instructs it to remove headers from the INVITE.

--
Alex Balashov - Principal
Evariste Systems LLC
260 Peachtree Street NW
Suite 2200
Atlanta, GA 30303
Tel: +1-678-954-0670
Fax: +1-404-961-1892
Web: http://www.evaristesys.com/

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list