[Kamailio-Users] Caller and Callee behind the same NAT
Daniel-Constantin Mierla
miconda at gmail.com
Tue Dec 29 11:20:56 CET 2009
Hello,
On 12/29/09 9:00 AM, juergen at glowka.de wrote:
> On Tuesday 29 December 2009 01:55:27 juergen at glowka.de wrote:
>
>> Hello,
>>
>> I'm new here. So I say "hello" to everybody.
>>
>> Maybe, somebody can help me or push me in the right direction.
>>
>> If there are Caller and Callee behind the same NAT, so it should
>> be better, they connect directly (e.g. 192.168.x.1<-->192.168.x.2),
>> instead of using the rtp-proxy (this causes a jitter noise) .
>>
>>
>> I'm using Kamailio 1.5.3 with RTPPROXY 1.2.1.
>>
>> Has anybody a code snip or a sample kamailio.cfg for me?
>> I would be thankful for it.
>>
> Better than giving you the solution, try to guest it ...
>
> Think a little ... what have in common a REQUEST from UAC A to UAC B if they
> are behing THE SAME NAT ROUTER ?
>
>
just to mention that the syntax in the wiki example is for an older
version (probably 1.1 or so), now the script language has been improved
and you can replace:
avp_printf("$avp(i:450)", "$dd");
if ( avp_check("$avp(i:450)", "eq/$src_ip/g") )
with this:
if ( $dd == $si )
Cheers,
Daniel
--
Daniel-Constantin Mierla
* http://www.asipto.com/
More information about the Users
mailing list