1
# $Id: 200_ice_success_2.py 2084 2008-06-27 23:53:00Z bennylp $
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 192.168.0.4 4382 typ host
24
args = "--null-audio --use-ice --auto-answer 200 --max-calls 1"
25
include = ["a=ice-ufrag", # must have ICE
26
"a=candidate:[0-9a-zA-Z]+ 2 UDP" # must have RTCP component
29
"ice-mismatch" # must not mismatch
32
sendto_cfg = sip.SendtoCfg( "caller sends only one component",
33
pjsua_args=args, sdp=sdp, resp_code=200,
34
resp_inc=include, resp_exc=exclude,