[sr-dev] rtpengine SDP duplication

Alex Balashov abalashov at evaristesys.com
Mon Jul 14 14:58:33 CEST 2014


Hello,

I am not calling rtpproxy_offer() from branch_route (though perhaps I 
should be), but rather from a request route called from a failure_route. 
However, rtpproxy_offer() does get called every time on every branch, 
and perhaps that is the route of my mistake.

I'll investigate more and see what I can figure out. It seems to me that 
the aim should be to call rtpproxy_offer() from branch_route and have it 
work precisely as Juha expects, because I need to have the option of 
hairpinning media on some branches and not on others.

-- Alex

On 07/14/2014 08:41 AM, Richard Fuchs wrote:

> On 07/13/14 21:11, Alex Balashov wrote:
>> No. But, of course, rtpproxy_offer() is being called on both branches.
>
> I'm not too familiar with the internals of the branching logic, but if
> you send out the same SDP a second time, you don't need to call _offer()
> again. If you do want to call it again (say, with different flags),
> you'd have to undo the changes done by the first call and then call it
> again. The msg_apply_changes() function may come in useful.
>
> cheers
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>


-- 
Alex Balashov - Principal
Evariste Systems LLC
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/

Please be kind to the English language:

http://www.entrepreneur.com/article/232906



More information about the sr-dev mailing list