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?<br><br>-Steve<br><br><br><div class="gmail_quote">On 8 June 2010 09:44, Peter P GMX <span dir="ltr">&lt;<a href="mailto:Prometheus001@gmx.net">Prometheus001@gmx.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hello,<br>
<br>
we have a SIP based Videoconferencing solution which we would like to<br>
integrate in Freeswitch. Registering the endpoints works, however all<br>
other operations which are done via messaging do not work as expected,<br>
as Freeswitch changes the Content-Type, see below.<br>
How can we tell Freeswitch not to change the Content-Type?<br>
<br>
Best regards<br>
Peter<br>
<br>
Original message from UA to Freeswitch with &quot;Content-Type:<br>
application/octet-stream.&quot;:<br>
<br>
U 2010/06/01 18:21:57.056468 <a href="http://192.168.178.145:5530" target="_blank">192.168.178.145:5530</a> -&gt;  <a href="http://192.168.178.220:5060" target="_blank">192.168.178.220:5060</a><br>
MESSAGE sip:835351@my.domain SIP/2.0.<br>
From: Hans<br>
&lt;sip:835352@my.domain&gt;;tag=de58b276076cdf119f8bcf0221b28bff.<br>
To: sip:835351@my.domain.<br>
Via: SIP/2.0/UDP<br>
192.168.178.145:5530;branch=z9hG4bKae56b276076cdf119f8bcf0221b28bff;uas-addr=192.168.178.220.<br>
<br>
CSeq: 3 MESSAGE.<br>
Call-ID: 645ab276-076c-df11-824f-cf0221b28bff.<br>
Contact: &quot;Hans&quot;&lt;<a href="http://sip:835352@192.168.178.145:5530" target="_blank">sip:835352@192.168.178.145:5530</a>&gt;.<br>
User-Agent: BRAVIS/0.0.0.27.4675 (Linux 2.6.32-22-generic; generic;<br>
Ubuntu 10.04 LTS; i686; de; 8).<br>
Content-Type: application/octet-stream.<br>
Content-Length: 231.<br>
.<br>
BRVSDRABAAEAAACeAAAAGfLjfQQAAAAvrRdulaIBAAAAMQEA/wAASwUAAABzcmZseP////+n<br>
pgi9D7MvrRduD7MBAAAANAEA/QAASwUAAABzcmZseP////+npgi9D7Onpgi9D7MBAAAAMwEA<br>
BVHDfgQAAABob3N0/////5WmD7d9pQQUp3cPswEAAAAyAQADUcN+BAAAAGhvc3QA////laYP<br>
t32lAgAAAA==.<br>
<br>
Modified message from Freeswitch to another UA with &quot;Content-Type:<br>
text/html&quot;:<br>
<br>
U 2010/06/01 18:21:57.061965 <a href="http://192.168.178.220:5060" target="_blank">192.168.178.220:5060</a> -&gt;  <a href="http://192.168.178.122:5530" target="_blank">192.168.178.122:5530</a><br>
MESSAGE sip:835351@192.168.178.122:5530;transport=udp SIP/2.0.<br>
Via: SIP/2.0/UDP 192.168.178.220;rport;branch=z9hG4bKaHZUBrU7S2BXQ.<br>
Max-Forwards: 70.<br>
From: Hans<br>
&lt;sip:835352@my.domain&gt;;tag=de58b276076cdf119f8bcf0221b28bff.<br>
To: &quot;Peter &quot;&lt;sip:835351@192.168.178.122:5530;transport=udp&gt;.<br>
Call-ID: a3bd6fee-e83c-122d-1ca4-080027e51f59.<br>
CSeq: 131586180 MESSAGE.<br>
Contact:&lt;<a href="http://sip:mod_sofia@192.168.178.220:5060" target="_blank">sip:mod_sofia@192.168.178.220:5060</a>&gt;.<br>
User-Agent: FreeSWITCH-mod_sofia/1.0.head-git-.<br>
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO,<br>
REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE.<br>
Supported: timer, precondition, path, replaces.<br>
Content-Type: text/html.<br>
Content-Length: 233.<br>
.<br>
BRVSDRABAAEAAACeAAAAGfLjfQQAAAAvrRdulaIBAAAAMQEA/wAASwUAAABzcmZseP////+n<br>
pgi9D7MvrRduD7MBAAAANAEA/QAASwUAAABzcmZseP////+npgi9D7Onpgi9D7MBAAAAMwEA<br>
BVHDfgQAAABob3N0/////5WmD7d9pQQUp3cPswEAAAAyAQADUcN+BAAAAGhvc3QA////laYP<br>
t32lAgAAAA==.<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br>