[Kamailio-Users] Having problems using RTPProxy to bridge internal/external networks

Alex Balashov abalashov at evaristesys.com
Thu Oct 15 19:49:20 CEST 2009


Daniel-Constantin Mierla wrote:

> IIRC, I use:
> 
> if(dst_ip==private_ip)
>       force_rtp_proxy("ocfaei");
> else
>       force_rtp_proxy("ocfaie");
> 
> rtpproxy started with: -l external_ip/private_ip
> 
> Probably is rtpproxy 1.1 -- cannot check right now.

Interesting - thanks Daniel.

I do not think I understand why it is important that the flags occur in 
a certain order within the string, or why it is valid to duplicate those 
flags as in the alg.cfg example.

I thought these flags just mapped to bits set in a bit field, such that 
for example a == (1 << 1) and enabling it is just a matter of flags |= a?

-- 
Alex Balashov - Principal
Evariste Systems
Web     : http://www.evaristesys.com/
Tel     : (+1) (678) 954-0670
Direct  : (+1) (678) 954-0671




More information about the sr-users mailing list