[asterisk-bugs] [Asterisk 0014059]: [patch] chanvar-option for peers in sip.conf

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jul 1 08:46:09 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14059 
====================================================================== 
Reported By:                fnordian
Assigned To:                oej
====================================================================== 
Project:                    Asterisk
Issue ID:                   14059
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1 
SVN Revision (number only!): 162992 
Request Review:              
====================================================================== 
Date Submitted:             2008-12-11 05:27 CST
Last Modified:              2009-07-01 08:46 CDT
====================================================================== 
Summary:                    [patch] chanvar-option for peers in sip.conf
Description: 
hi,
the attached patch introduces a new configuration-option for sip-peers
called "hfield". if set, the value of this option is appended to an
outgoing sip-invite. 
by repeating the option it is possible to add multiple header-fields.

this enables per peer sip-header-fields e.g. for p-preferred-identity.


====================================================================== 

---------------------------------------------------------------------- 
 (0107297) fnordian (reporter) - 2009-07-01 08:46
 https://issues.asterisk.org/view.php?id=14059#c107297 
---------------------------------------------------------------------- 
The additional change is the "header"-config-option to have peer-specific
sip-header-fields for outgoing calls. I am still very interested in that,
but waited for the "final decision" from your side.

The proposed alternative for
header=X-Foo: bar
is
setvar=__SIPADDHEADERduper=X-Foo: bar

which in my opinion is not really an option but a config-hack because it
brings an internal implementationstrategy of chan_sip to the config file. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-01 08:46 fnordian       Note Added: 0107297                          
======================================================================




More information about the asterisk-bugs mailing list