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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jan 29 07:20:45 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/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-01-29 07:20 CST
====================================================================== 
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.


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

---------------------------------------------------------------------- 
 (0099039) svnbot (reporter) - 2009-01-29 07:20
 http://bugs.digium.com/view.php?id=14059#c99039 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 172268

U   trunk/channels/chan_sip.c
U   trunk/include/asterisk/app.h
U   trunk/main/app.c

------------------------------------------------------------------------
r172268 | oej | 2009-01-29 07:20:44 -0600 (Thu, 29 Jan 2009) | 15 lines

- Make sure we set setvar= variables on outbound calls too, not only
inbound calls.
- Also, change a function in app.c to return a userful value instead of
always returning 0.

Patch by fnordian, changed by Corydon76 and myself.

This does not close the bug report, as fnordian had an additional change
we're still discussing.

(related to issue http://bugs.digium.com/view.php?id=14059)
Reported by: fnordian
Patches: 
      chan_sip_hfield.patch uploaded by fnordian (license 110)
      20090116__bug14059.diff.txt uploaded by Corydon76 (license 14)
Tested by: fnordian, Corydon76, oej


------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=172268 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-01-29 07:20 svnbot         Note Added: 0099039                          
======================================================================




More information about the asterisk-bugs mailing list