Hi!

Just suggest someone already tried mediaproxy-ng with conversion RTP/SRTP. Few examples of options' usage would be very appreciated! May authors bring them into the tutorial?

E.g. caller invokes RTP/SAVPF profile (SIP over WS), but calle supports RTP/AVP only. During the simple tests I've put rtpproxy_offer("spFRWOCII1-") into the INVITE route. However it doesn't work as was expected: mediaproxy offers the same SDP for callee. SIP 488 (Not Acceptable) as a result for caller.

Log events: 

[kamailio]
...
 ERROR: rtpproxy-ng [rtpproxy.c:1229]: unknown option `s'
...
 ERROR: rtpproxy-ng [rtpproxy.c:1318]: proxy replied with error: Unknown call-id

[mediaproxy-ng]
...
mediaproxy-ng[1507]: Got valid command from 127.0.0.1:57782: answer - { "sdp": "v=0#015#012o=user2 0 0 IN IP4 10.61.24.86#015#012s=-#015#012c=IN IP4 10.61.24.86#015#012t=0 0#015#012m=audio 5008 RTP/SAVPF 0 8 126#015#012a=rtpmap:0 PCMU/8000#015#012a=rtpmap:8 PCMA/8000#015#012a=rtpmap:126 telephone-event/8000#015#012a=direction:active#015#012", "ICE": "remove", "flags": [ "force", "trust-address", "symmetric" ], "replace": [ "origin", "session-connection" ], "call-id": "5pl3eepicm9un6a3ir8e", "via-branch": "z9hG4bK6568.ba6f970a58580cf0ae892a1a7b5aa09d.0", "received-from": [ "IP4", "127.0.0.1" ], "from-tag": "iqqqf0ucto", "to-tag": "19CE5B50-51E7D8F60001641A-788B8700", "command": "answer" }

mediaproxy-ng[1507]: Protocol error in packet from 127.0.0.1:57782: Unknown call-id [d3:sdp202:v=0#015#012o=user2 0 0 IN IP4 10.61.24.86#015#012s=-#015#012c=IN IP4 10.61.24.86#015#012t=0 0#015#012m=audio 5008 RTP/SAVPF 0 8 126#015#012a=rtpmap:0 PCMU/8000#015#012a=rtpmap:8 PCMA/8000#015#012a=rtpmap:126 telephone-event/8000#015#012a=direction:active#015#0123:ICE6:remove5:flagsl5:force13:trust-address9:symmetrice7:replacel6:origin18:session-connectione7:call-id20:5pl3eepicm9un6a3ir8e10:via-branch46:z9hG4bK6568.ba6f970a58580cf0ae892a1a7b5aa09d.013:received-froml3:IP49:127.0.0.1e8:from-tag10:iqqqf0ucto6:to-tag34:19CE5B50-51E7D8F60001641A-788B87007:command6:answere]

mediaproxy-ng[1507]: Returning to SIP proxy: d6:result5:error12:error-reason15:Unknown call-ide


regards,
/A


2013/7/14 Richard Fuchs <rfuchs@sipwise.com>
On 07/14/13 08:59, Alexey Rybalko wrote:

> Regarding the mediaproxy-ng  documentation special features can't be
> invoked without usage of 'ng' protocol provided by rptmediaproxy-ng.
> Unfortunately there is no info about rtpproxy-ng module itself. Haven't
> found it at Sipwise GitHub site.

You can get it either as a patch file here:
https://github.com/sipwise/kamailio/blob/master/debian/patches/sipwise/rtproxy-ng.patch

Or by checking out the branch rfuchs/rtpproxy-ng in the regular Kamailio
repository.

cheers


_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users