i tried what happens when i make rtpproxy_answer("co2sp") call on 200 ok
from jssip ws client. mediaproxy-ng replied with failed to rewrite sdp
error. i don't know if there is something wrong in jssip sdp or if
there is a bug in mediaproxy-ng.
-- juha
Jul 12 12:00:35 siika /usr/sbin/sip-proxy[24258]: INFO: ===== making
rtpproxy_answer(co2sp)
Jul 12 12:00:35 siika mediaproxy-ng[15173]: Got valid command from 127.0.0.1:37753: answer
- { "sdp": "v=0#015#012o=- 7784118477498446372 2 IN IP4
127.0.0.1#015#012s=-#015#012t=0 0#015#012a=msid-semantic: WMS
Eu5Sypk7W9nqcEJTwC2L8NseDJ5errAYzo1b#015#012m=audio 52768 RTP/SAVPF 0 8 101#015#012c=IN
IP4 192.98.102.10#015#012a=rtcp:35156 IN IP4 192.98.102.10#015#012a=candidate:488769141 1
udp 2113937151 192.98.102.10 52768 typ host generation 0#015#012a=candidate:3477369669 1
udp 2113937151 87.95.11.3 54654 typ host generation 0#015#012a=candidate:488769141 2 udp
2113937150 192.98.102.10 35156 typ host generation 0#015#012a=candidate:3477369669 2 udp
2113937150 87.95.11.3 41538 typ host generation 0#015#012a=candidate:1403124357 1 tcp
1509957375 192.98.102.10 0 typ host generation 0#015#012a=candidate:2177339317 1 tcp
1509957375 87.95.11.3 0 typ host generation 0#015#012a=candidate:1403124357 2 tcp
1509957374 192.98.102.10 0 typ host generation 0#015#012a=candidate:2177339317 2 tcp
1509957374 87.95.11.3 0 typ host generation
0#015#012a=ice-ufrag:84M0GoeLawbPRCtI#015#012a=ice-pwd:0d0+xU+T7a4GeeFSWffXH71m#015#012a=sendrecv#015#012a=mid:audio#015#012a=crypto:0
AES_CM_128_HMAC_SHA1_80 inline:QfUiviqGYSIBnQdS/ZRuYKdBdTF11sjOc107mKS8#015#012a=rtpmap:0
PCMU/8000#015#012a=rtpmap:8 PCMA/8000#015#012a=rtpmap:101
telephone-event/8000#015#012a=ssrc:932705198
cname:/crPhms9UoL3P5CY#015#012a=ssrc:932705198 msid:Eu5Sypk7W9nqcEJTwC2L8NseDJ5errAYzo1b
Eu5Sypk7W9nqcEJTwC2L8NseDJ5errAYzo1ba0#015#012a=ssrc:932705198
mslabel:Eu5Sypk7W9nqcEJTwC2L8NseDJ5errAYzo1b#015#012a=ssrc:932705198
label:Eu5Sypk7W9nqcEJTwC2L8NseDJ5errAYzo1ba0#015#012m=video 35740 RTP/SAVPF 96#015#012c=IN
IP4 192.98.102.10#015#012a=rtcp:40599 IN IP4 192.98.102.10#015#012a=candidate:488769141 1
udp 2113937151 192.98.102.10 35740 typ host generation 0#015#012a=candidate:3477369669 1
udp 2113937151 87.95.11.3 55064 typ host generation 0#015#012a=candidate:488769141 2 udp
2113937150 192.98.102.10 40599 typ host generation 0#015#012a=candidate:3477369669 2 udp
2113937150 87.
Jul 12 12:00:35 siika mediaproxy-ng[15173]: [7cd288942112dd88 - z9hG4bK779cdf1cf94f5904]
Got LOOKUP, but no usable callstreams found
Jul 12 12:00:35 siika mediaproxy-ng[15173]: Error rewriting SDP
Jul 12 12:00:35 siika mediaproxy-ng[15173]: Protocol error in packet from 127.0.0.1:37753:
Error rewriting SDP [d3:sdp2555:v=0#015#012o=- 7784118477498446372 2 IN IP4
127.0.0.1#015#012s=-#015#012t=0 0#015#012a=msid-semantic: WMS
Eu5Sypk7W9nqcEJTwC2L8NseDJ5errAYzo1b#015#012m=audio 52768 RTP/SAVPF 0 8 101#015#012c=IN
IP4 192.98.102.10#015#012a=rtcp:35156 IN IP4 192.98.102.10#015#012a=candidate:488769141 1
udp 2113937151 192.98.102.10 52768 typ host generation 0#015#012a=candidate:3477369669 1
udp 2113937151 87.95.11.3 54654 typ host generation 0#015#012a=candidate:488769141 2 udp
2113937150 192.98.102.10 35156 typ host generation 0#015#012a=candidate:3477369669 2 udp
2113937150 87.95.11.3 41538 typ host generation 0#015#012a=candidate:1403124357 1 tcp
1509957375 192.98.102.10 0 typ host generation 0#015#012a=candidate:2177339317 1 tcp
1509957375 87.95.11.3 0 typ host generation 0#015#012a=candidate:1403124357 2 tcp
1509957374 192.98.102.10 0 typ host generation 0#015#012a=candidate:2177339317 2 tcp
1509957374 87.95.11.3 0 typ host generation
0#015#012a=ice-ufrag:84M0GoeLawbPRCtI#015#012a=ice-pwd:0d0+xU+T7a4GeeFSWffXH71m#015#012a=sendrecv#015#012a=mid:audio#015#012a=crypto:0
AES_CM_128_HMAC_SHA1_80 inline:QfUiviqGYSIBnQdS/ZRuYKdBdTF11sjOc107mKS8#015#012a=rtpmap:0
PCMU/8000#015#012a=rtpmap:8 PCMA/8000#015#012a=rtpmap:101
telephone-event/8000#015#012a=ssrc:932705198
cname:/crPhms9UoL3P5CY#015#012a=ssrc:932705198 msid:Eu5Sypk7W9nqcEJTwC2L8NseDJ5errAYzo1b
Eu5Sypk7W9nqcEJTwC2L8NseDJ5errAYzo1ba0#015#012a=ssrc:932705198
mslabel:Eu5Sypk7W9nqcEJTwC2L8NseDJ5errAYzo1b#015#012a=ssrc:932705198
label:Eu5Sypk7W9nqcEJTwC2L8NseDJ5errAYzo1ba0#015#012m=video 35740 RTP/SAVPF 96#015#012c=IN
IP4 192.98.102.10#015#012a=rtcp:40599 IN IP4 192.98.102.10#015#012a=candidate:488769141 1
udp 2113937151 192.98.102.10 35740 typ host generation 0#015#012a=candidate:3477369669 1
udp 2113937151 87.95.11.3 55064 typ host generation 0#015#012a=candidate:488769141 2 udp
2113937150 192.98.102.10 40599 typ host generation 0#015#012a=candidate:3477369669
Jul 12 12:00:35 siika mediaproxy-ng[15173]: Returning to SIP proxy:
d6:result5:error12:error-reason19:Error rewriting SDPe
Jul 12 12:00:35 siika /usr/sbin/sip-proxy[24258]: ERROR: rtpproxy-ng [rtpproxy.c:1343]:
rtpp_function_call(): proxy replied with error: Error rewriting SDP