Re: [SR-Users] sdp_with_transport

2017-02-01 Thread Daniel-Constantin Mierla
Hello, looking in the code, the sdp_with_transport() does a strict/exact match on the transport part - the parameter of the function must be exact value in the sdp. The sdp_with_transport_like() does a fuzzy match - the parameter of the function must be part of the value in the sdp. Therefore,

Re: [SR-Users] sdp_with_transport

2017-01-31 Thread Serhat Guler
Hello, I have also realized that weird weird behavior with sdp_with_transport method and started using sdp_with_transport_like("RTP/SAVPF") instead. sdp_with_transport("RTP/SAVPF") returns false for the following line: m=audio 56481 UDP/TLS/RTP/SAVPF 109 9 0 8 If anyone could clarify it, it

[SR-Users] sdp_with_transport

2017-01-31 Thread M. Salman
Hi Guys, Just wanted to clarify the following case: what should be result of sdp_with_transport("RTP/SAVPF") on line: m=audio 10231 UDP/TLS/RTP/SAVPF 111 103 104 9 0 8 106 105 13 126 I am having a weird behavior for two different versions of Kamailio. I hope I am doing something wrong.