From 0723dbc601c74330f792db67ad75f6d580c30d8b Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Mon, 22 Dec 2008 18:54:58 +0000 Subject: Created top-level directory tests and moved test-pjsua there. This will be the placeholder for future developed tests git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2392 74dad513-b988-da41-8d7b-12977e46ad98 --- ...24_sdp_with_unknown_static_unknown_transport.py | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 tests/pjsua/scripts-sendto/124_sdp_with_unknown_static_unknown_transport.py (limited to 'tests/pjsua/scripts-sendto/124_sdp_with_unknown_static_unknown_transport.py') diff --git a/tests/pjsua/scripts-sendto/124_sdp_with_unknown_static_unknown_transport.py b/tests/pjsua/scripts-sendto/124_sdp_with_unknown_static_unknown_transport.py new file mode 100644 index 00000000..5d1b7d3f --- /dev/null +++ b/tests/pjsua/scripts-sendto/124_sdp_with_unknown_static_unknown_transport.py @@ -0,0 +1,27 @@ +# $Id$ +import inc_sip as sip +import inc_sdp as sdp + +sdp = \ +""" +v=0 +o=- 0 0 IN IP4 127.0.0.1 +s=- +c=IN IP4 127.0.0.1 +t=0 0 +m=audio 5000 RTP/AVP 0 +m=xapplicationx 4000 XRTPX/XAVPX 54 +""" + +pjsua_args = "--null-audio --auto-answer 200" +extra_headers = "" +include = ["Content-Type: application/sdp", # response must include SDP + "m=audio [1-9]+[0-9]* RTP/AVP[\\s\\S]+m=xapplicationx 0 XRTPX/XAVPX " + ] +exclude = [] + +sendto_cfg = sip.SendtoCfg("Mixed audio and unknown and with unknown transport", + pjsua_args, sdp, 200, + extra_headers=extra_headers, + resp_inc=include, resp_exc=exclude) + -- cgit v1.2.3