[sr-dev] [kamailio/kamailio] rtpengine: add UDP/TLS/RTP/SAVP and UDP/TLS/RTP/SAVPF as valid transport protocols (#1458)

jerzyptak notifications at github.com
Tue Feb 27 23:44:27 CET 2018


For example calling from kamailio config file 
`rtpengine_answer("SDES-off ICE=remove trust-address replace-origin replace-session-connection UDP/TLS/RTP/SAVP");` will result in passing "UDP/TLS/RTP/SAVP" to rtpengine as an undefined flag instead of interpreting it as a valid transport protocol.
Relevant entry form rtpengine log:
`Feb 14 04:55:20 rtpengine[27464]: DEBUG: [ct5Atc9TLOVPwKPDYBHPdwDz at y94Z4s9yJ1MvK7XDiiI7vbC3]: Dump for 'answer' from 127.0.0.1:57578: { "sdp": "`
`		v=0`
`		o=- 3727601701 3727601702 IN IP4 10.10.1.145`
`		s=pjmedia`
`		c=IN IP4 162.253.31.67`
`		b=AS:1974`
`		t=0 0`
`		a=X-nat:0`
`		m=audio 18228 RTP/AVP 8 0 9 101`
`		c=IN IP4 162.253.31.67`
`		b=TIAS:64000`
`		a=rtcp:18229 IN IP4 162.253.31.67`
`		a=sendrecv`
`		a=rtpmap:9 G722/8000`
`		a=rtpmap:8 PCMA/8000`
`		a=rtpmap:0 PCMU/8000`
`		a=rtpmap:101 telephone-event/8000`
`		a=fmtp:101 0-15`
`		m=video 18344 RTP/AVP 99 34`
`		c=IN IP4 162.253.31.67`
`		b=TIAS:1800000`
`		a=rtcp:18345 IN IP4 162.253.31.67`
`		a=sendrecv`
`		a=rtpmap:34 H263/90000`
`		a=fmtp:34 CIF4=1;CIF=1;QCIF=1;SQCIF=1`
`		a=rtcp-fb:* nack pli`
`		a=rtcp-fb:* nack`
`		a=rtcp-fb:* ccm fir`
`		a=rtcp-fb:* ccm tmmbr`
`		a=rtpmap:99 H264/90000`
`		a=fmtp:99 profile-level-id=42001f; packetization-mode=1;max-br=1800`
`		m=text 0 RTP/AVP 105 102", `
`	"ICE": "remove", `
`	"flags": [ "SDES-off", "trust-address", "UDP/TLS/RTP/SAVP" ], `
`	"replace": [ "origin", "session-connection" ], `
`	"rtcp-mux": [ "demux" ], `
`	"call-id": "ct5Atc9TLOVPwKPDYBHPdwDz at y94Z4s9yJ1MvK7XDiiI7vbC3", `
`	"received-from": [ "IP4", "162.253.31.86" ], `
`	"from-tag": "g61LnUx6Lm5ZwUAp", `
`	"to-tag": "RCzLEby054b4GsK8OM5th2kArDosQ9N6", "command": "answer" `
`}`
`Feb 14 04:55:20 kammed-1-lv-103 rtpengine[27464]: WARNING: [ct5Atc9TLOVPwKPDYBHPdwDz at y94Z4s9yJ1MvK7XDiiI7vbC3]: Unknown flag encountered: 'UDP/TLS/RTP/SAVP' `

I know that rtpengine itself can correctly handle UDP/TLS/RTP/SAVP and UDP/TLS/RTP/SAVPF as long as kamailio rtpengine module passes them as transport protocol and not flags.



-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1458#issuecomment-369053981
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20180227/117d4401/attachment-0001.html>


More information about the sr-dev mailing list