[sr-dev] mediaproxy-ng Got LOOKUP, but no usable callstreams found

Juha Heinanen jh at tutpro.com
Sun Oct 27 16:45:24 CET 2013


a sip ua that only supports rtp/avp is sending invite to jssip ua and i
make this kind of offer on it:

Oct 27 17:28:50 rautu /usr/sbin/sip-proxy[8156]: INFO: ===== making rtpproxy_offer(co1SP+r)

outgoing invite looks fine and jssip is happy with it.  it replies with
this kind of 200 ok:

SIP/2.0 200 OK
Record-Route: <sip:192.98.102.30;transport=tcp;lr;savpf;pm>
Via: SIP/2.0/WS  192.98.102.30;branch=z9hG4bK3347.f9aa980aac8a49f0059ae9f7691cafe5.0;i=2
Via: SIP/2.0/TCP 188.67.67.5:51375;received=192.98.102.30;branch=z9hG4bK85a22944e41f9cac;rport=57018
To: <sip:jh at test.tutpro.com>;tag=egmrvkni4j
From: <sip:test at test.tutpro.com>;tag=943af1f962302e2d
Call-ID: 96dabb8d0412d3f5
CSeq: 9113 INVITE
Contact: <sip:jh at test.tutpro.com;gr=urn:uuid:954352ab-46f2-4eef-b771-9c5ff4900843>
Content-Type: application/sdp
Content-Length: 1056

v=0
o=- 3981174047439634860 2 IN IP4 127.0.0.1
s=-
t=0 0
a=msid-semantic: WMS dUI8U3367dUaz5NAE6cZpoEf3xcoEvApx6dm
m=audio 47207 RTP/SAVPF 0 8 101
c=IN IP4 188.67.67.5
a=rtcp:37710 IN IP4 188.67.67.5
a=candidate:4130326675 1 udp 2113937151 188.67.67.5 47207 typ host generation 0
a=candidate:1742886165 1 udp 2113937151 192.98.102.30 33266 typ host generation 0
a=candidate:4130326675 2 udp 2113937150 188.67.67.5 37710 typ host generation 0
a=candidate:1742886165 2 udp 2113937150 192.98.102.30 45924 typ host generation 0
a=ice-ufrag:CwQt9Ssgev6ee3Bj
a=ice-pwd:JDANa2ehlkWeV4qxjG5Kqb3c
a=mid:audio
a=sendrecv
a=crypto:0 AES_CM_128_HMAC_SHA1_80 inline:LPd/5pIsj4VD6peaLVALE83pz7z3d5DCU1El0cRm
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=ssrc:449829374 cname:CagN0RFDWP+bPWyu
a=ssrc:449829374 msid:dUI8U3367dUaz5NAE6cZpoEf3xcoEvApx6dm dUI8U3367dUaz5NAE6cZpoEf3xcoEvApx6dma0
a=ssrc:449829374 mslabel:dUI8U3367dUaz5NAE6cZpoEf3xcoEvApx6dm
a=ssrc:449829374 label:dUI8U3367dUaz5NAE6cZpoEf3xcoEvApx6dma0


i then make this kind of answer on the 200 ok:

Oct 27 17:28:55 rautu /usr/sbin/sip-proxy[8160]: INFO: ===== making rtpproxy_answer(co2sp+r)

for some reason mediaproxy-ng does not like the answer and reports:

Oct 27 17:28:55 rautu mediaproxy-ng[17684]: [96dabb8d0412d3f5 - z9hG4bK85a22944e41f9cac] Got LOOKUP, but no usable callstreams found

still mediaproxy-ng works as it should and calling ua gets this kind of
200 ok:

T 2013/10/27 17:28:55.915677 192.98.102.30:5060 -> 192.98.102.30:57018 [AP]
SIP/2.0 200 OK.
Record-Route: <sip:192.98.102.30;transport=tcp;lr;savpf;pm>.
Via: SIP/2.0/TCP 188.67.67.5:51375;received=192.98.102.30;branch=z9hG4bK85a22944e41f9cac;rport=57018.
To: <sip:jh at test.tutpro.com>;tag=egmrvkni4j.
From: <sip:test at test.tutpro.com>;tag=943af1f962302e2d.
Call-ID: 96dabb8d0412d3f5.
CSeq: 9113 INVITE.
Contact: <sip:jh at test.tutpro.com;gr=urn:uuid:954352ab-46f2-4eef-b771-9c5ff4900843>.
Content-Type: application/sdp.
Content-Length: 789.
.
v=0.
o=- 3981174047439634860 2 IN IP4 192.98.102.30.
s=-.
t=0 0.
a=msid-semantic: WMS dUI8U3367dUaz5NAE6cZpoEf3xcoEvApx6dm.
a=ice-lite.
m=audio 50226 RTP/AVP 0 8 101.
c=IN IP4 192.98.102.30.
a=mid:audio.
a=sendrecv.
a=rtpmap:0 PCMU/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:101 telephone-event/8000.
a=ssrc:449829374 cname:CagN0RFDWP+bPWyu.
a=ssrc:449829374 msid:dUI8U3367dUaz5NAE6cZpoEf3xcoEvApx6dm dUI8U3367dUaz5NAE6cZpoEf3xcoEvApx6dma0.
a=ssrc:449829374 mslabel:dUI8U3367dUaz5NAE6cZpoEf3xcoEvApx6dm.
a=ssrc:449829374 label:dUI8U3367dUaz5NAE6cZpoEf3xcoEvApx6dma0.
a=rtcp:50227.
a=ice-ufrag:3AXaewTZ.
a=ice-pwd:kFLmjvPdBqGhKHfgNnbHhLuljrtw.
a=candidate:G16dyvMo2umxYq42 1 UDP 2130706432 192.98.102.30 50226 typ host.
a=candidate:G16dyvMo2umxYq42 2 UDP 2130706431 192.98.102.30 50227 typ host.

why does mediaproxy-ng claim that does not find any usable streams even
when it does proper job on the 200 ok and the call works fine?

-- juha


More information about the sr-dev mailing list