1
# $Id: 200_ice_success_4.py 2376 2008-12-11 17:25:50Z nanang $
8
o=- 0 0 IN IP4 127.0.0.1
12
m=audio 4000 RTP/AVP 0 101
13
a=rtcp:4382 IN IP4 192.168.0.4
18
a=rtpmap:101 telephone-event/8000
20
a=candidate:XX 1 UDP 1234 127.0.0.1 4000 typ host
21
a=candidate:YY 2 UDP 1234 127.0.0.2 4002 typ host
24
args = "--null-audio --use-ice --auto-answer 200 --max-calls 1 --ice-no-rtcp"
25
include = ["a=ice-ufrag"] # must have ICE
27
"ice-mismatch", # must not mismatch
28
"a=candidate:[0-9a-zA-Z]+ 2 UDP" # must not have RTCP component
31
sendto_cfg = sip.SendtoCfg( "pjsua with --ice-no-rtcp ignores RTCP things in the SDP",
32
pjsua_args=args, sdp=sdp, resp_code=200,
33
resp_inc=include, resp_exc=exclude,