1
# $Id: 200_ice_success_1.py 2392 2008-12-22 18:54:58Z bennylp $
8
o=- 0 0 IN IP4 127.0.0.1
12
m=audio 4000 RTP/AVP 0 101
17
a=rtpmap:101 telephone-event/8000
19
a=candidate:XX 1 UDP 1234 127.0.0.1 4000 typ host
22
args = "--null-audio --use-ice --auto-answer 200 --max-calls 1"
23
include = ["a=ice-ufrag"] # must have ICE
24
exclude = ["a=candidate:[0-9a-zA-Z]+ 2 UDP", # must not answer with 2 components
25
"ice-mismatch" # must not mismatch
28
sendto_cfg = sip.SendtoCfg( "caller sends only one component",
29
pjsua_args=args, sdp=sdp, resp_code=200,
30
resp_inc=include, resp_exc=exclude)