blob: 07a08f2aca617dea0524a493b6d565e80e800241 [file] [log] [blame]
Benny Prijono945aeb22008-12-22 18:54:58 +00001# $Id$
Benny Prijono3190f692008-06-20 00:29:17 +00002import 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=rtpmap:0 PCMU/8000
14a=sendrecv
15a=rtpmap:101 telephone-event/8000
16a=fmtp:101 0-15
17"""
18
19args = "--null-audio --use-ice --auto-answer 200 --max-calls 1"
20include = []
21exclude = ["a=ice", "a=candidate"]
22
23sendto_cfg = sip.SendtoCfg( "caller has no ice, answer must not have ICE",
24 pjsua_args=args, sdp=sdp, resp_code=200,
25 resp_inc=include, resp_exc=exclude)
26