1
# $Id: 400_inv_answered_with_less_media.py 3716 2011-08-19 12:24:48Z nanang $
5
# Offer with 2 media lines answered with only 1 media line
7
pjsua = "--null-audio sip:127.0.0.1:$PORT --id=sip:1000@localhost --extra-audio --use-srtp=0"
12
o=- 0 0 IN IP4 127.0.0.1
16
m=audio 4000 RTP/AVP 0 101
19
a=rtpmap:101 telephone-event/8000
23
req = sip.RecvfromTransaction("Receiving 2 media lines, answer with 1 media line", 200,
24
include=["m=audio \d+ RTP/AVP", "m=audio \d+ RTP/AVP"],
26
resp_hdr=["Content-type: application/sdp"],
30
recvfrom_cfg = sip.RecvfromCfg("Receiving answer with less media lines",