[Freeswitch-users] Messaging: Content-Type: application/octet-stream changed to text/html.
Steven Ayre
steveayre at gmail.com
Tue Jun 8 06:08:50 PDT 2010
It looks like text/html is currently hardcoded into mod_sofia... it might be
possible to adjust it though, why not open a Jira ticket as a feature
request?
-Steve
On 8 June 2010 09:44, Peter P GMX <Prometheus001 at gmx.net> wrote:
> Hello,
>
> we have a SIP based Videoconferencing solution which we would like to
> integrate in Freeswitch. Registering the endpoints works, however all
> other operations which are done via messaging do not work as expected,
> as Freeswitch changes the Content-Type, see below.
> How can we tell Freeswitch not to change the Content-Type?
>
> Best regards
> Peter
>
> Original message from UA to Freeswitch with "Content-Type:
> application/octet-stream.":
>
> U 2010/06/01 18:21:57.056468 192.168.178.145:5530 -> 192.168.178.220:5060
> MESSAGE sip:835351 at my.domain SIP/2.0.
> From: Hans
> <sip:835352 at my.domain>;tag=de58b276076cdf119f8bcf0221b28bff.
> To: sip:835351 at my.domain.
> Via: SIP/2.0/UDP
> 192.168.178.145:5530
> ;branch=z9hG4bKae56b276076cdf119f8bcf0221b28bff;uas-addr=192.168.178.220.
>
> CSeq: 3 MESSAGE.
> Call-ID: 645ab276-076c-df11-824f-cf0221b28bff.
> Contact: "Hans"<sip:835352 at 192.168.178.145:5530>.
> User-Agent: BRAVIS/0.0.0.27.4675 (Linux 2.6.32-22-generic; generic;
> Ubuntu 10.04 LTS; i686; de; 8).
> Content-Type: application/octet-stream.
> Content-Length: 231.
> .
> BRVSDRABAAEAAACeAAAAGfLjfQQAAAAvrRdulaIBAAAAMQEA/wAASwUAAABzcmZseP////+n
> pgi9D7MvrRduD7MBAAAANAEA/QAASwUAAABzcmZseP////+npgi9D7Onpgi9D7MBAAAAMwEA
> BVHDfgQAAABob3N0/////5WmD7d9pQQUp3cPswEAAAAyAQADUcN+BAAAAGhvc3QA////laYP
> t32lAgAAAA==.
>
> Modified message from Freeswitch to another UA with "Content-Type:
> text/html":
>
> U 2010/06/01 18:21:57.061965 192.168.178.220:5060 -> 192.168.178.122:5530
> MESSAGE sip:835351 at 192.168.178.122:5530;transport=udp SIP/2.0.
> Via: SIP/2.0/UDP 192.168.178.220;rport;branch=z9hG4bKaHZUBrU7S2BXQ.
> Max-Forwards: 70.
> From: Hans
> <sip:835352 at my.domain>;tag=de58b276076cdf119f8bcf0221b28bff.
> To: "Peter "<sip:835351 at 192.168.178.122:5530;transport=udp>.
> Call-ID: a3bd6fee-e83c-122d-1ca4-080027e51f59.
> CSeq: 131586180 MESSAGE.
> Contact:<sip:mod_sofia at 192.168.178.220:5060>.
> User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-.
> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,
> REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE.
> Supported: timer, precondition, path, replaces.
> Content-Type: text/html.
> Content-Length: 233.
> .
> BRVSDRABAAEAAACeAAAAGfLjfQQAAAAvrRdulaIBAAAAMQEA/wAASwUAAABzcmZseP////+n
> pgi9D7MvrRduD7MBAAAANAEA/QAASwUAAABzcmZseP////+npgi9D7Onpgi9D7MBAAAAMwEA
> BVHDfgQAAABob3N0/////5WmD7d9pQQUp3cPswEAAAAyAQADUcN+BAAAAGhvc3QA////laYP
> t32lAgAAAA==.
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100608/bebe8a6e/attachment.html
More information about the FreeSWITCH-users
mailing list