[Asterisk-Users] NAT problems
Bartosz Wegrzyn
junk at lexon.ws
Thu Aug 5 13:21:50 MST 2004
Hello,
I am connected to my SIP provider through the DSL router with NAT.
I do have a dynamic ip address. My router ip is on 192.168.1.1, the * box
is on 192.168.1.254. To overcome the NAT problems I forward all incoming
packets to my router and I use the externip,localnet,nat * options.
Nevertheles, I am having problems with my incoming calls which fail from
time to time. When everything works my asterisk console logs:
-- Executing Ringing("SIP/147.135.8.129-097351d0", "") in new stack --
Executing Goto("SIP/147.135.8.129-097351d0", "menu|s|1") in newstack --
Goto (menu,s,1) -- Executing
SetMusicOnHold("SIP/147.135.8.129-097351d0", "default")in new stack --
Executing ......
My incoming calls starts to fail whenever * console logs:
-- Executing Ringing("SIP/192.168.8.3-097351d0", "") in new stack --
Executing Goto("SIP/192.168.8.3-097351d0", "menu|s|1") in newstack --
Goto (menu,s,1) -- Executing SetMusicOnHold("SIP/192.168.8.3-097351d0",
"default")in new stack -- Executing .........
The above messeges are the same except one thing: the IP address after
"SIP/......." Everytime, when this IP address is local my incoming calls
fail. I think that this issue is related to my NAT.
What exacly the ip address after SIP means. Does it show which IP address
should be the packets sent to. If my understanding is correct, does it
mean that asterisk is trying to send packets to 192.168.8.3 which is not
existing IP address on my network, so the calls fail.
Please explaing, or give me any suggestions where can I find more about
what that mean. Also, how does the asterisk figures out that IP so it
canlater put it there?
Thank You
More information about the asterisk-users
mailing list