thank you for ur solution, I did this in dail plan yesterday ... it took me 5 hours to find that solution , I wish u replied to me earlier but thanx :) ________________________________________ From: asterisk-users-boun...@lists.digium.com [asterisk-users-boun...@lists.digium.com] On Behalf Of Torbjörn Abrahamsson [torbjorn.abrahams...@gmail.com] Sent: Monday, November 28, 2011 12:43 AM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: Re: [asterisk-users] Does Asterisk alter the Headers of INVITE Message
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-boun...@lists.digium.com [mailto:asterisk-users-boun...@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-boun...@lists.digium.com [asterisk-users-boun...@lists.digium.com] On Behalf Of Faraj Khasib [fkha...@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-boun...@lists.digium.com [asterisk-users-boun...@lists.digium.com] On Behalf Of Alex Balashov [abalas...@evaristesys.com] Sent: Sunday, November 27, 2011 4:41 PM To: asterisk-users@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 -- _____________________________________________________________________ -- 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