[Users] force_rtp_proxy() and t_write_unix()

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Apr 11 09:51:37 CEST 2007


Victor Gamov wrote:
> Bogdan-Andrei Iancu wrote:
>> Hi Victor,
>>
>> Victor Gamov wrote:
>>> hi!
>>>
>>> Can anybody explain me:  when I do force_rtp_proxy("c") and then 
>>> t_write_unix() which request body write to socket -- original or 
>>> rewrited by force_rtp_proxy() ?
>> the original one.
>
> hm.
> So if I want to use t_write_unix() to send request to my own program 
> I'll never get rewrited request (RURI, SDP and other)?
you will get only the new RURi, but the not the rest of the changes.
>
>>> Now I trying to configure OpenSER-1.2.0 to work with SEMS and I 
>>> found that SEMS get original SDP with internal IPs.  Is it my 
>>> OpenSER misconfiguration?
>> As far as know, this scenario never worked with SEMS (passing a 
>> different IP for SDP) -  SEMS supports COMEDIA and if it is activate 
>> or not (via fix_nated_sdp("1") ) is signalled via a flag.
>
> sounds not bad.
> but why not simple to write rewrited request (by force_rtp_proxy() or 
> some other functions) like t_relay() ?
it is the old story with lumps - there are couple of older threads on 
this topic.

regards,
bogdan






More information about the Users mailing list