blob: c00960145823d0e713267199473169ae4a100671 [file] [log] [blame]
Alexandre Lision8af73cb2013-12-10 14:11:20 -05001# $Id$
2import inc_sip as sip
3import inc_sdp as sdp
4
5# Incoming MESSAGE without body is now accepted
6#
7complete_msg = \
8"""MESSAGE sip:localhost SIP/2.0
9Via: SIP/2.0/UDP 192.168.0.14:5060;rport;branch=z9hG4bKPj9db9
10Max-Forwards: 70
11From: <sip:192.168.0.14>;tag=08cd5bfc2d8a4fddb1f5e59c6961d298
12To: <sip:localhost>
13Call-ID: 3373d9eb32aa458db7e69c7ea51e0bd7
14CSeq: 23809 MESSAGE
15Contact: <sip:192.168.0.14:5060>
16User-Agent: PJSUA v0.8.0-trunk/win32
17Content-Type: text/plain
18Content-Length: 50
19"""
20
21
22sendto_cfg = sip.SendtoCfg( "empty MESSAGE", "--null-audio --auto-answer 200",
23 "", 200, complete_msg=complete_msg)
24