Hello,
my next problem is with SIP device behind NAT.
First few seconds of the call are OK. Astrisk is sending the packets to
the public IP address of the FW/NAT (62.152.224.3). But this change in
10 second and packets are send to the my public addres.(192.168.1.163).
in the sip.conf for the phone(X-Lite) is
[998]
type=friend
username=998
secret=<pokus>
canreinvite=no
host=dynamic
dtmfmode=rfc2833
mailbox=998
nat=1
callerid=0650199802
Can anybody explain me, why the dest IP will change from public one to
the private one ?
best regards
hudecof
------------- CUT -------------
DEBUG[540687]: File rtp.c, Line 388 (ast_rtp_read): RTP NAT: Using
address 62.152.224.3:8000
DEBUG[540687]: File rtp.c, Line 942 (ast_rtp_raw_write): Difference is
4160, ms is 540
DEBUG[540687]: File rtp.c, Line 343 (ast_rtcp_read): RTP NAT: Using
address 192.168.1.163:8001
DEBUG[540687]: File rtp.c, Line 388 (ast_rtp_read): RTP NAT: Using
address 62.152.224.3:8000
DEBUG[540687]: File rtp.c, Line 942 (ast_rtp_raw_write): Difference is
6576, ms is 842
DEBUG[540687]: File rtp.c, Line 942 (ast_rtp_raw_write): Difference is
7848, ms is 1001
DEBUG[540687]: File rtp.c, Line 343 (ast_rtcp_read): RTP NAT: Using
address 192.168.1.163:8001
DEBUG[540687]: File rtp.c, Line 343 (ast_rtcp_read): RTP NAT: Using
address 192.168.1.163:8001
DEBUG[540687]: File rtp.c, Line 343 (ast_rtcp_read): RTP NAT: Using
address 192.168.1.163:8001
------------- CUT -------------
--
mail: [phudec@postel.sk] www: [http://www.postel.sk]
cellular: [+421 02 50203166] icq: [99518783]
gpg: [http://hudecof.net/data/hudecof.gpg]