Thanks John & Dmitry, amazing how something like that doesnt stand out when you're looking at it yourself :)
Now then, Im having a problem with the Vias and the magic cookie in the branch tag. The proxy doesnt support RFC2543 clients so it drops the response. The 180 looks like this: SIP/2.0 180 Ringing Via: SIP/2.0/UDP 192.168.254.201:5060;branch=z9hG4bK-d8754z-4691a9510bc7321b-1-MA..--d8754z-;rport Via: SIP/2.0/UDP 192.168.254.200:5061 Contact: <sip:192.168.254.200:5060;transport=UDP> To: "sipp_rx"<sip:[email protected]:5060;user=phone>;tag=1 From: "sipp_tx"<sip:[email protected]:5060>;tag=1 Call-ID: [email protected] CSeq: 2 INVITE Content-Length: 0 As you can see theres no branch starting z9h.... on the second Via which is the UAS How do I generate this? Thanks Andrew Dmitry Goncharov wrote: > > > Andrew Wood wrote: >> Hi >> >> Im trying to use SIP-P to test a SIP proxy, but the proxy keeps >> rejecting the 180 Ive created in SIP-P saying: >> " Missing mandatory header fields (To, From, CSeq, Call-Id or Via)" >> >> The 180 is defined as follows: >> >> <send> >> <![CDATA[ >> SIP/2.0 180 Ringing >> [last_Via:] >> [last_From:];tag=[peer_tag_param] >> [last_To:];tag=[call_number] >> last_Call-ID:] >> [last_Cseq:] >> Contact: <sip:[local_ip]:[local_port];transport=[transport]> >> Content-Length: 0 >> ]]> >> </send> >> >> Can anyone see what Im doing wrong here please? >> >> Thanks >> Andrew >> >> >> > Left square bracket before last_Call-ID? > Br, Dmitry > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Sipp-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sipp-users
