Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:laxity:aster
asterisk-16-LTS
asterisk.enablechathtml.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File asterisk.enablechathtml.patch of Package asterisk-16-LTS
diff -Naru asterisk-13.1.0_orig/channels/chan_sip.c asterisk-13.1.0/channels/chan_sip.c --- asterisk-13.1.0_orig/channels/chan_sip.c 2014-12-10 23:41:05.000000000 +0900 +++ asterisk-13.1.0/channels/chan_sip.c 2015-02-23 18:10:43.000000000 +0900 @@ -18737,7 +18737,8 @@ char stripped[SIPBUFSIZE]; enum sip_get_dest_result dest_result; - if (strncmp(content_type, "text/plain", strlen("text/plain"))) { /* No text/plain attachment */ + if ((strncmp(content_type, "text/plain", strlen("text/plain"))) + && (strncmp(content_type, "text/html", strlen("text/html")))) { /* No text/plain or text/html attachment */ transmit_response(p, "415 Unsupported Media Type", req); /* Good enough, or? */ if (!p->owner) { sip_scheddestroy(p, DEFAULT_TRANS_TIMEOUT);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor