blob: 186e3166e34acf1f287719a1a78900afd7fb7b95 [file] [log] [blame]
Benny Prijono3190f692008-06-20 00:29:17 +00001# $Id:$
2import inc_sip as sip
3import inc_sdp as sdp
4
5sdp = \
6"""
7v=0
8o=- 0 0 IN IP4 127.0.0.1
9s=pjmedia
10c=IN IP4 127.0.0.1
11t=0 0
12m=audio 4000 RTP/AVP 0 101
13a=ice-ufrag:1234
14a=ice-pwd:5678
15a=rtpmap:0 PCMU/8000
16a=sendrecv
17a=rtpmap:101 telephone-event/8000
18a=fmtp:101 0-15
19a=candidate:XX 1 UDP 1 1.1.1.1 2222 typ host
20"""
21
22args = "--null-audio --use-ice --auto-answer 200 --max-calls 1"
23include = ["a=ice-mismatch"]
24exclude = []
25
26sendto_cfg = sip.SendtoCfg( "caller sends mismatched offer for comp 1",
27 pjsua_args=args, sdp=sdp, resp_code=200,
28 resp_inc=include, resp_exc=exclude)
29