[asterisk-bugs] [JIRA] (ASTERISK-26082) PJSIP MessageSend Content-Type issue

Asterisk Team (JIRA) noreply at issues.asterisk.org
Wed Jun 1 09:14:56 CDT 2016


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

Asterisk Team commented on ASTERISK-26082:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

> PJSIP MessageSend Content-Type issue
> ------------------------------------
>
>                 Key: ASTERISK-26082
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26082
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_pjsip
>    Affects Versions: 13.9.1
>            Reporter: Alex
>
> Basically, when trying to override Content-Type, we get following sent:
> -----------------------------------------------------
> <--- Transmitting SIP request (667 bytes) to ... --->
> MESSAGE sip:... SIP/2.0
> Via: SIP/2.0/UDP ...
> From: <sip:...>;tag=...
> To: <sip:...>
> Contact: <sip:...>
> Call-ID: ftXWZRVPgfw3BNe8rV6KlWJJS40fbV.l
> CSeq: 15177 MESSAGE
> Event: snom-settings
> Content-Type: application/xml
> Max-Forwards: 70
> User-Agent: FPBX-AsteriskNOW-13.0.120(13.9.1)
> Content-Type: text-plain
> Content-Length:   170
> <content>
> -----------------------------------------------------
> Please notice the duplicated Content-Type header. First it's proper one, set with MESSAGE_DATA(Content-Type), and then another one is wrongly inserted from ast_sip_body structure, which defaults to text/plain.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list