On Sep 22, 2009 at 17:58, Juha Heinanen <[email protected]> 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:[email protected]",
                 "sip:127.0.0.1:5060;transport=udp", "",
                "From: <sip:[email protected]>;tag=a\r\nTo: 
sip:[email protected]\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

_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to