# $Id$
import inc_sip as sip
import inc_sdp as sdp

# Torture message from RFC 4475
# 3.1.1.  Valid Messages
# 3.1.1.5. Use of % When It Is Not an Escape 
complete_msg = \
"""RE%47IST%45R sip:registrar.example.com SIP/2.0
To: "%Z%45" <sip:<EMAIL>>
From: "%Z%45" <sip:<EMAIL>>;tag=f232jadfj23
Call-ID: esc02.asdfnqwo34rq23i34jrjasdcnl23nrlknsdf
Via: SIP/2.0/TCP host.example.com;rport;branch=z9hG4bK209%fzsnel234
CSeq: 29344 RE%47IST%45R
Max-Forwards: 70
Contact: <sip:<EMAIL>>
C%6Fntact: <sip:<EMAIL>>
Contact: <sip:<EMAIL>>
l: 0
"""

sendto_cfg = sip.SendtoCfg( "RFC 4475 3.1.1.5", 
			    "--null-audio --auto-answer 200", 
			    "", 405, complete_msg=complete_msg)


# $Id$
import inc_sip as sip
import inc_sdp as sdp

# Torture message from RFC 4475
# 3.1.1.  Valid Messages
# 3.1.1.5. Use of % When It Is Not an Escape 
complete_msg = \
"""RE%47IST%45R sip:registrar.example.com SIP/2.0
To: "%Z%45" <sip:<EMAIL>>
From: "%Z%45" <sip:<EMAIL>>;tag=f232jadfj23
Call-ID: esc02.asdfnqwo34rq23i34jrjasdcnl23nrlknsdf
Via: SIP/2.0/TCP host.example.com;rport;branch=z9hG4bK209%fzsnel234
CSeq: 29344 RE%47IST%45R
Max-Forwards: 70
Contact: <sip:<EMAIL>>
C%6Fntact: <sip:<EMAIL>>
Contact: <sip:<EMAIL>>
l: 0
"""

sendto_cfg = sip.SendtoCfg( "RFC 4475 3.1.1.5", 
			    "--null-audio --auto-answer 200", 
			    "", 405, complete_msg=complete_msg)


# $Id$ # Torture message from RFC 4475 # 3.1.1.  Valid Messages # 3.1.1.5. Use of % When It Is Not an Escape RE%47IST%45R sip:registrar.example.com SIP/2.0 To: "%Z%45" <sip:<EMAIL>> From: "%Z%45" <sip:<EMAIL>>;tag=f232jadfj23 Call-ID: esc02.asdfnqwo34rq23i34jrjasdcnl23nrlknsdf Via: SIP/2.0/TCP host.example.com;rport;branch=z9hG4bK209%fzsnel234 CSeq: 29344 RE%47IST%45R Max-Forwards: 70 Contact: <sip:<EMAIL>> C%6Fntact: <sip:<EMAIL>> Contact: <sip:<EMAIL>> l: 0