On Jun 23, 2003 at 15:09, Younger Wang <wygmail(a)yeah.net> wrote:
I am testing Nathelper module. It works well
delivering SIP messages.
However, natping-interval function seems malfunction.
The NAT scenario is simulated by a microsoft ICS. There is a Cisco ATA
behind NAT with internal address 192.168.0.2 and it's mapped to external
address 192.17.1.22. Ser is listening on external address 192.17.1.173. I
added "modparam("nathelper", "natping-interval", 5) " to
the nathelper.cfg
file.
When ATA registered to Ser, I noticed 192.168.0.2:5056(UDP) is mapped to
192.17.1.22:1025(UDP). Register is successful and call could be established
between internal ATA and external ATA(one way audio). It's expected that
Ser should send a UDP packet to 192.17.1.22:1025(UDP) every 5 seconds.
However, the UDP packet is actually sent to 192.17.1.22:260(UDP). I wonder
what's the problem?
260 is htons(1025). There was something like this fixed recently by the
nathelper module author, so please try updating to the latest cvs
(0.8.11dev34), or the latest cvs 0_8_11 pre-release (0.8.11pre34)
(cvs update/checkout -r rel_0_8_11).
Andrei