when trying to send INVITE using t_uac_wait, i get back response
claiming that Content-Type is missing. why, because it seems to be
there?
-- juha
---------------------------------------------------
T 2009/09/22 17:52:37.484316 127.0.0.1:35765 -> 127.0.0.1:6060 [AP]
POST /RPC2 HTTP/1.0.
Host: 127.0.0.1.
Connection: close.
User-Agent: XML_RPC Client.
Content-Type: text/xml.
Content-Length: 972.
.
##
T 2009/09/22 17:52:37.484745 127.0.0.1:35765 -> 127.0.0.1:6060 [AP]
<?xml version="1.0" ?>.
<methodCall>.
.<methodName>tm.t_uac_wait</methodName>.
.<params>.
..<param>.
...<value>.
....<string>INVITE</string>.
...</value>.
..</param>.
..<param>.
...<value>.
....<string>sip:jh_test_fi@192.98.101.10:5074;transport=udp</string>.
...</value>.
..</param>.
..<param>.
...<value>.
....<string>.</string>.
...</value>.
..</param>.
..<param>.
...<value>.
....<string>.</string>.
...</value>.
..</param>.
..<param>.
...<value>.
....<string>From: <sip:click2dial@test.fi>;tag=4ab8e4b575bf1
Call-ID: 4ab8e4b575bf1(a)test.fi
Contact: <sip:click2dial@!!>
To: <sip:jh@test.fi>
CSeq: 1 INVITE
Reject-Contact: *;automata="YES"
Content-Type: application/sdp
</string>.
...</value>.
..</param>.
..<param>.
...<value>.
....<string>v=0
o=click-to-dial 0 0 IN IP4 0.0.0.0
s=session
c=IN IP4 0.0.0.0
b=CT:1000
t=0 0
m=audio 9 RTP/AVP 0
a=rtpmap:0 PCMU/8000
</string>.
...</value>.
..</param>.
.</params>.
</methodCall>.
##
T 2009/09/22 17:52:37.485616 127.0.0.1:6060 -> 127.0.0.1:35765 [AP]
HTTP/1.0 200 OK.
Via: SIP/2.0/TCP 127.0.0.1:35765.
Server: SIP Router (2.99.0-dev01-serk (i386/linux)).
Content-Length: 278.
.
<?xml version="1.0"?>
<methodResponse>
<fault>
<value>
<struct>
<member>
<name>faultCode</name>
<value><int>400</int></value>
</member>
<member>
<name>faultString</name>
<value><string>Content-Type missing</string></value>
</member>
</struct>
</value>
</fault>
</methodResponse>