1
# $Id: 363_non_sip_uri_subscribe.py 2392 2008-12-22 18:54:58Z bennylp $
5
# Some non-SIP URI's in Contact header
8
"""SUBSCRIBE sip:localhost SIP/2.0
9
Via: SIP/2.0/UDP 192.168.0.14:5060;rport;branch=z9hG4bKPj9db9
11
From: <sip:192.168.0.14>;tag=08cd5bfc2d8a4fddb1f5e59c6961d298
13
Call-ID: 3373d9eb32aa458db7e69c7ea51e0bd7
15
Contact: mailto:dontspam@pjsip.org
16
Contact: <mailto:dontspam@pjsip.org>
17
Contact: http://www.pjsip.org/the%20path.cgi?pname=pvalue
18
Contact: <sip:localhost>
21
Accept: application/pidf+xml, application/xpidf+xml
22
Allow-Events: presence, refer
23
User-Agent: PJSUA v0.9.0-trunk/win32
28
sendto_cfg = sip.SendtoCfg( "Non SIP URI in Contact",
29
"--null-audio --auto-answer 200",
30
"", 200, complete_msg=complete_msg)