[SR-Users] mediaproxy-ng documentation available

Juha Heinanen jh at tutpro.com
Tue Jul 9 14:43:35 CEST 2013


let me know if this is not the right forum to discuss mediaproxg-ng
issues.

got so far that i tried to make the first test call.

offer produced to syslog:

Jul  9 15:31:50 siika /usr/sbin/sip-proxy[11043]: INFO: ===== making rtpproxy_offer(co1)
Jul  9 15:31:50 siika mediaproxy-ng[8678]: Got valid command from 127.0.0.1:49613: offer - { "sdp": "v=0#015#012o=- 437955195 1958899385 IN IP4 188.67.173.24#015#012s=-#015#012c=IN IP4 188.67.173.24#015#012t=0 0#015#012a=tool:baresip 0.4.4#015#012m=audio 11864 RTP/AVP 96 97 98 9 8 0 101#015#012b=AS:125#015#012a=rtpmap:96 SILK/24000#015#012a=rtpmap:97 speex/16000#015#012a=fmtp:97 mode="7";vbr=off;cng=on#015#012a=rtpmap:98 speex/8000#015#012a=fmtp:98 mode="7";vbr=off;cng=on#015#012a=rtpmap:9 G722/8000#015#012a=rtpmap:8 PCMA/8000#015#012a=rtpmap:0 PCMU/8000#015#012a=rtpmap:101 telephone-event/8000#015#012a=fmtp:101 0-15#015#012a=sendrecv#015#012a=label:1#015#012a=ptime:20#015#012m=video 11790 RTP/AVP 96#015#012b=AS:875#015#012a=rtpmap:96 VP8/90000#015#012a=fmtp:96 max-fs=3600#015#012a=sendrecv#015#012a=label:2#015#012a=framerate:25#015#012a=rtcp-fb:* nack pli#015#012a=content:main#015#012", "replace": [ "session-connection", "origin" ], "call-id": "92cf0b20e6bb471f", "via-branch": "z9hG4bKfe15ff7064beea1e", "received-from": [ "IP4", "192.98.102.10" ], "from-tag": "b4088ca29783a8c3", "command": "offer" }
Jul  9 15:31:50 siika mediaproxy-ng[8678]: [92cf0b20e6bb471f] Creating new call
Jul  9 15:31:50 siika mediaproxy-ng[8678]: [92cf0b20e6bb471f - z9hG4bKfe15ff7064beea1e] Opened ports 50020..50021 for RTP
Jul  9 15:31:50 siika mediaproxy-ng[8678]: [92cf0b20e6bb471f - z9hG4bKfe15ff7064beea1e] Opened ports 50022..50023 for RTP
Jul  9 15:31:50 siika mediaproxy-ng[8678]: [92cf0b20e6bb471f - z9hG4bKfe15ff7064beea1e] Opened ports 50024..50025 for RTP
Jul  9 15:31:50 siika mediaproxy-ng[8678]: [92cf0b20e6bb471f - z9hG4bKfe15ff7064beea1e] Opened ports 50026..50027 for RTP
Jul  9 15:31:50 siika mediaproxy-ng[8678]: Returning to SIP proxy: d3:sdp1049:v=0#015#012o=- 437955195 1958899385 IN IP4 0.0.0.0#015#012s=-#015#012c=IN IP4 0.0.0.0#015#012t=0 0#015#012a=tool:baresip 0.4.4#015#012a=ice-lite#015#012m=audio 50020 RTP/AVP 96 97 98 9 8 0 101#015#012b=AS:125#015#012a=rtpmap:96 SILK/24000#015#012a=rtpmap:97 speex/16000#015#012a=fmtp:97 mode="7";vbr=off;cng=on#015#012a=rtpmap:98 speex/8000#015#012a=fmtp:98 mode="7";vbr=off;cng=on#015#012a=rtpmap:9 G722/8000#015#012a=rtpmap:8 PCMA/8000#015#012a=rtpmap:0 PCMU/8000#015#012a=rtpmap:101 telephone-event/8000#015#012a=fmtp:101 0-15#015#012a=sendrecv#015#012a=label:1#015#012a=ptime:20#015#012a=rtcp:50021#015#012a=ice-ufrag:zh7wWUuR#015#012a=ice-pwd:Jsf02iXReProwbGapBQKvHd4YkyT#015#012a=candidate:nIBozd1qJPXwc730 1 UDP 2130706432 0.0.0.0 50020 typ host#015#012a=candidate:nIBozd1qJPXwc730 2 UDP 2130706431 0.0.0.0 50021 typ host#015#012m=video 50024 RTP/AVP 96#015#012b=AS:875#015#012a=rtpmap:96 VP8/90000#015#012a=fmtp:96 max-fs=3600#015#012a=sendrecv#015#012a=label:2#015#012a=framerate:25#015#012a=rtcp-fb:* nack pli#015#012a=content:main#015#012a=rtcp:50025#015#012a=ice-ufrag:d3KUtZSv#015#012a=ice-pwd:iPkwCLT7Xzhma64FNfIJyeCLhkFI#015#012a=candidate:nIBozd1qJPXwc730 1 UDP 2130706432 0.0.0.0 50024 typ host#015#012a=candidate:nIBozd1qJPXwc730 2 UDP 2130706431 0.0.0.0 50025 typ host#015#0126:result2:oke

why are ip4 addresses 0.0.0.0?  my mediaproxy-ng is running with these
options and i did not pass ip address as param too offer:

$ ps ax | egrep media
 8678 ?        Sl    10:19 /usr/sbin/mediaproxy-ng --ip=192.98.102.10 --listen-ng=127.0.0.1:25060 --timeout=60 --silent-timeout=3600 --pidfile=/var/run/mediaproxy-ng.pid --tos=184 --port-min=50000 --port-max=60000 --no-fallback --table=0

i would thus expect to see ip4 192.98.102.10 in the sdp returned to sip
proxy.

what did i do wrong?

-- juha


More information about the sr-users mailing list