[Devel] Improving force_rtp_proxy

Klaus Darilion klaus.mailinglists at pernau.at
Wed Feb 22 17:21:10 CET 2006


Marc Haisenko wrote:
> On Wednesday 22 February 2006 16:35, Bogdan-Andrei Iancu wrote:
>> Hi Marc,
>>
>> you are right...I made a superficial evaluation of the problem :(.
>>
>> as an implementation alternative, we can use the flags to be able to
>> create session for replies and to confirm it for requests (ACKs).
>>     http://openser.org/docs/modules/1.1.x/nathelper.html#AEN267
> 
> Hmmm, so you'd move part of the logic into openser.cfg ? I guess users would 
> miss that one too easily, wouldn't they ?

IMO the solution should avoid to complex openser.cfg scripts.

If a message (request or response) does not contain an SDP, 
force_rtp_proxy should return without doing anything.

If a message (request or response) contains an SDP, force_rtp_proxy should:
  1. check if session exits. If yes, update the session. update
     means.
  2. if no sessions exists, create the session

regards
klaus

> But if you think that this is the cleaner/preferred solution then I'll do 
> that.
> 
> C'ya,
> 	Marc
> 




More information about the Devel mailing list