1
# $Id: 251_multipart_ok_simple.py 3243 2010-08-01 09:48:51Z bennylp $
8
Content-Type: application/sdp
11
o=- 0 0 IN IP4 127.0.0.1
15
m=audio 4000 RTP/AVP 0 101
18
a=rtpmap:101 telephone-event/8000
22
Content-Type: text/plain
24
Hi there this is definitely not SDP
29
args = "--null-audio --auto-answer 200 --max-calls 1"
30
extra_headers = "Content-Type: multipart/mixed; boundary=12345"
31
include = ["v=0", "m=audio"]
34
sendto_cfg = sip.SendtoCfg( "Valid multipart/mixed body containing SDP",
35
pjsua_args=args, sdp="", resp_code=200,
36
extra_headers=extra_headers, body=body,
37
resp_inc=include, resp_exc=exclude)