On Sep 22, 2009 at 17:58, Juha Heinanen <jh(a)tutpro.com> wrote:
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?
I've tried something similar and it work for me (the invite generated by
it looks ok):
(perl)
my $res=XMLRPC::Lite->proxy("http://127.0.0.1:5060")
->call("tm.t_uac_wait", "INVITE",
"sip:andrei\@iptel.org",
"sip:127.0.0.1:5060;transport=udp", "",
"From: <sip:andrei\@iptel.org>;tag=a\r\nTo:
sip:andrei\@iptel.org\r\nWarning: !!\r\nCall-ID: 4ab8e4b575bf1\r\nCSeq: 1
INVITE\r\nReject-Contact: *;automata=\"YES\"\r\nContent-Type:
application/sdp\r\n",
"v=0\r\no=short-test 0 0 IN IP4 0.0.0.0\r\n"
)
->result;
Could you try to dump the sip packet it generates and/or send me a pcap
trace of the xmlrpc exchange (so that I can try to replay it)?
Andrei