[asterisk-bugs] [JIRA] (ASTERISK-21815) SipRemoveHeader does not remove previously added Alert-Info Header

Rusty Newton (JIRA) noreply at issues.asterisk.org
Wed Jun 5 14:55:03 CDT 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-21815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=207035#comment-207035 ] 

Rusty Newton commented on ASTERISK-21815:
-----------------------------------------

bq. But as a side thought, why does asterisk silently remove the quotes in the SIP Header ?

I don't understand the question. Asterisk doesn't remove any quotes. It was keeping the quotes that were sent to it.

The quotes you see in debug exist to denote that string. As in the quotes you see below:
{noformat}
SIPRemoveHeader("SIP/2202-0000010a", "Alert-Info:")
{noformat}

If you mean that Asterisk is removing the unintentional quotes before it sends out the SIP message.. I don't know. You could ask in #asterisk-dev or on the dev list
                
> SipRemoveHeader does not remove previously added Alert-Info Header
> ------------------------------------------------------------------
>
>                 Key: ASTERISK-21815
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21815
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: PBX/General
>    Affects Versions: 1.8.22.0, 10.12.2
>         Environment: ubunue 10.04
>            Reporter: Peter Katzmann
>         Attachments: full
>
>
> Hello,
> we tried to remove a previously added alert-info header element to avoid wrong ringtones during call forwarding.
> I tried several incarnations of SipRemoveHeader(Alert-Info:), Alert-Info, Alert-
> But the info element is still in the header 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list