[Serusers] Nathelper natping-interval malfunction.
pelinescu-onciul at fokus.fraunhofer.de
Thu Jun 26 17:24:36 CEST 2003
On Jun 23, 2003 at 15:09, Younger Wang <wygmail at 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 188.8.131.52. Ser is listening on external address 184.108.40.206. I
> added "modparam("nathelper", "natping-interval", 5) " to the nathelper.cfg
> When ATA registered to Ser, I noticed 192.168.0.2:5056(UDP) is mapped to
> 220.127.116.11: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 18.104.22.168:1025(UDP) every 5 seconds.
> However, the UDP packet is actually sent to 22.214.171.124: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).
More information about the sr-users