[asterisk-bugs] [Asterisk 0012667]: Unable to overwrite SIP Header using SipAddHeader()

noreply at bugs.digium.com noreply at bugs.digium.com
Fri May 16 10:31:39 CDT 2008


The following issue has been CLOSED 
====================================================================== 
http://bugs.digium.com/view.php?id=12667 
====================================================================== 
Reported By:                dimitripietro
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12667
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.19 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             05-16-2008 08:44 CDT
Last Modified:              05-16-2008 10:31 CDT
====================================================================== 
Summary:                    Unable to overwrite SIP Header using SipAddHeader()
Description: 
I'm using the alert-info sip header to use distictive ringtone on Polycom
phone. Basically, the polycom need to see a specific value in the
alert-info field.

In Asterisk 1.2, I was using : Set(_ALERT_INFO=info=Custom 1) to set the
ringtone and to overwrite it later, it was using the same thing with
another value : Set(_ALERT_INFO=info=Custom 2)

In Asterisk 1.4, now I'm using : Sipaddheader(Alert-Info:Custom 1) but if
I try to overwrite it later with Sipaddheader(Alert-Info:Custom 2) it won't
work, it add a second header instead.

The polycom will now use the latest SIP Alert-Info header instead of the
newest.
====================================================================== 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-16-08 10:31  oej            Status                   new => closed       
======================================================================




More information about the asterisk-bugs mailing list