NAT problems...

Jorge Luis
2011-03-07
2013-05-09
  • Jorge Luis
    Jorge Luis
    2011-03-07

    Hi all,
    I have a simple scenario with the follow problem:

    A OpenSIPS server with public address 1.2.3.4
    A pair UAC behind NAT, A -> 192.168.3.100  and  B -> 192.168.3.101
    NAT public address -> 5.6.7.8

    If i try to call from A to B using Mediaproxy no problem.
    But if no use Mediaproxy there is not dialog, no hear nothing.

    When parse the sip traffic can see that both UAC are sending RTP to 5.6.7.8
    Further in the contact column on the location table, we can see:
    sip:A@5.6.7.8   and  sip:B@5.6.7.8

    when i think that would must be:  A@192.168.3.100  and  B@192.168.3.101
    or no? What's happening?

    Very Thanks.
    Jorge Luis.

     
  • Jorge Luis
    Jorge Luis
    2011-03-10

    Hi all,

    I checked that some gateways rewrite the Contact field of SIP Message Header. This can be parsed by SER to order divert RTP for Mediaproxy.

    Thanks, bye