<div dir="ltr">Hi,<br><br>sorry, I had a misunderstanding of how rtpproxy starts working. The r flag indeed fixed the problem.<br><br>Thanks,<br>Sebastian<br><br><br>On Mon, Jul 8, 2013 at 2:32 PM, Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>> wrote:<br>

><br>> Hi Sebastian,<br>><br>> I understood, the 'r' flag (iirc being the right one) tells to rtpproxy to trust the ip in sdp and send the rtp to it as soon as received from the other side. It is the same case as chaining many rtpproxies.<br>

><br>> Cheers,<br>> Daniel<br>><br>><br>> On 7/8/13 2:25 PM, Sebastian Damm wrote:<br>><br>> Hi Daniel,<br>><br>> sorry, I probably didn't explain the problem correctly. The SIP part is okay, the ports on the rtpproxy are allocated, but bridging the audio doesn't work until both parties actually send at least one RTP packet. Since both streams (the inbound and the outbound call) end up at one of the rtpproxies, there will never be an audio stream from the B2BUA to the rtpproxy.<br>

><br>> Best Regards,<br>> Sebastian<br>><br>><br>> On Mon, Jul 8, 2013 at 1:57 PM, Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>> wrote:<br>> ><br>> > Hello,<br>

> ><br>> > iirc the flag, for the requests/replies coming from b2bua, use the 'r' as part of parameters to rtpproxy functions -- check the readme of the module.<br>> ><br>> > Cheers,<br>> > Daniel<br>

> ><br>> ><br>> > On 7/8/13 1:52 PM, Sebastian Damm wrote:<br>> ><br>> > Hi,<br>> ><br>> > we are building a setup where we use an rtpproxy in all cases. This works fine except for one scenario.<br>

> ><br>> > Caller -> SIP(+rtpproxy) -> B2BUA -> SIP(+rtpproxy) -> Called<br>> ><br>> > In this case, the B2BUA implements forwarding and sends the call back through our setup. The B2BUA does not send out a 183 reponse by itself.<br>

> ><br>> > Now, when the caller sends the INVITE, the rtpproxy gets enabled in both cases. The caller sends his RTP to the rtpproxy, after a 183 or 200 OK response, the called sends RTP to the rtpproxy, too, But since the B2BUA doesn't send any audio, both rtpproxies don't know where to pass on the RTP.<br>

> ><br>> > Does anybody know how to circumvent this issue? I searched for an option to tell rtpproxy to send the RTP to the address advertised in the SDP as long as it hasn't received any packets on the port, but couldn't find it.<br>

> ><br>> > Any hints?<br>> > Thanks in advance,<br>> > Sebastian<br>> ><br>><br>><br>> -- <br>> Daniel-Constantin Mierla - <a href="http://www.asipto.com">http://www.asipto.com</a><br>

> <a href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a><br><br></div>