Hi I am very new about the freeswitch and just finished setup a new freeswitch and config a test sip account from my voip provider. in the fs_cli, originate sofia/gateway/gw1/xxxxxx(my other number) &echo() I got the phone ring but no echo. originate sofia/user/1000 &echo() works fine. nat_map status shows; freeswitch@internal> nat_map status Nat Type: UNKNOWN, ExtIP: 0 total. freeswitch@internal> sofia status profile internal ================================================================================================= Name internal Domain Name N/A Auto-NAT false DBName sofia_reg_internal Just wonder how to fix the NAT issue on my freeswitch. The router is WRT54GL with Tomato 1.28 on it, which seems support upnp... Thanks a lot Alex
1) Ensure you have UPNP turned on in tomato. Double check. 2) Ensure debug logs go to your log *file* (since you want to capture info at startup and what you need will scroll off the screen or be too early to get in fs_cli) 3) start freeswitch 4) check the log file or msgs originating from switch_nat.c (nice that logs show the file, eh?) 5) pastebin the info in pastebin.freeswitch.org (or just the whole log from a freeswitch start, that might be better so you don't accidentally remove something needed) 6) Profit. :) Well, maybe not but I can look at 'em. On Sun, Jan 9, 2011 at 9:33 PM, Alex Wang <hadyn_whx@hotmail.com> wrote:
Hi
I am very new about the freeswitch and just finished setup a new freeswitch and config a test sip account from my voip provider.
in the fs_cli, originate sofia/gateway/gw1/xxxxxx(my other number) &echo() I got the phone ring but no echo. originate sofia/user/1000 &echo() works fine.
nat_map status shows; freeswitch@internal> nat_map status Nat Type: UNKNOWN, ExtIP:
0 total.
freeswitch@internal> sofia status profile internal ================================================================================================= Name internal Domain Name N/A Auto-NAT false DBName sofia_reg_internal
Just wonder how to fix the NAT issue on my freeswitch.
The router is WRT54GL with Tomato 1.28 on it, which seems support upnp...
Thanks a lot
Alex
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- -Rupa
Thanks Rupa Tomato 1.28 enable uPNP. Sometime works sometime not. I am doing more test. I also see outside connection trying to register extension after I turn on the uPNP, I know the uPNP also map the port out. How to disable that? Thanks Alex On Mon, 10 Jan 2011 11:13:16 -0600 Rupa Schomaker <rupa@rupa.com> wrote:
1) Ensure you have UPNP turned on in tomato. Double check.
2) Ensure debug logs go to your log *file* (since you want to capture info at startup and what you need will scroll off the screen or be too early to get in fs_cli)
3) start freeswitch
4) check the log file or msgs originating from switch_nat.c (nice that logs show the file, eh?)
5) pastebin the info in pastebin.freeswitch.org (or just the whole log from a freeswitch start, that might be better so you don't accidentally remove something needed)
6) Profit. :) Well, maybe not but I can look at 'em.
On Sun, Jan 9, 2011 at 9:33 PM, Alex Wang <hadyn_whx@hotmail.com> wrote:
Hi
I am very new about the freeswitch and just finished setup a new freeswitch and config a test sip account from my voip provider.
in the fs_cli, originate sofia/gateway/gw1/xxxxxx(my other number) ?&echo() I got the phone ring but no echo. originate sofia/user/1000 &echo() works fine.
nat_map status shows; freeswitch@internal> nat_map status Nat Type: UNKNOWN, ExtIP:
0 total.
freeswitch@internal> sofia status profile internal ================================================================================================= Name ? ? ? ? ? ? ? ? ? ?internal Domain Name ? ? ? ? ? ? N/A Auto-NAT ? ? ? ? ? ? ? ?false DBName ? ? ? ? ? ? ? ? ?sofia_reg_internal
Just wonder how to fix the NAT issue on my freeswitch.
The router is WRT54GL with Tomato 1.28 on it, which seems support upnp...
Thanks a lot
Alex
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- -Rupa
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
use nat-pmp upnp is unreliable sometimes. /b On Jan 10, 2011, at 12:55 PM, Alex Wang wrote:
Thanks Rupa
Tomato 1.28 enable uPNP. Sometime works sometime not. I am doing more test. I also see outside connection trying to register extension after I turn on the uPNP, I know the uPNP also map the port out. How to disable that?
Thanks
Alex
Thanks Brian Alex On Mon, 10 Jan 2011 13:24:27 -0600 Brian West <brian@freeswitch.org> wrote:
use nat-pmp upnp is unreliable sometimes.
/b
On Jan 10, 2011, at 12:55 PM, Alex Wang wrote:
Thanks Rupa
Tomato 1.28 enable uPNP. Sometime works sometime not. I am doing more test. I also see outside connection trying to register extension after I turn on the uPNP, I know the uPNP also map the port out. How to disable that?
Thanks
Alex
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Alex, There are some bugs in Tomato Firmware. Sometimes work and some times suddenly it strip some sip messages. Sometime no passwords. I find very difficult on this. Switch to some other firmware ... DD-WRT. your problem go away and you do not need to do any changes on the router firmware configuration and FreeSWITCH. I have this problem for a longtime finally figure out with the debug. Then I use the DD-WRT for Linksys WRT54GL the voip firmware version problem go away. Hope this helps. Thanks Lloyd On Mon, Jan 10, 2011 at 3:21 PM, Alex Wang <hadyn_whx@hotmail.com> wrote:
Thanks Brian
Alex
On Mon, 10 Jan 2011 13:24:27 -0600 Brian West <brian@freeswitch.org> wrote:
use nat-pmp upnp is unreliable sometimes.
/b
On Jan 10, 2011, at 12:55 PM, Alex Wang wrote:
Thanks Rupa
Tomato 1.28 enable uPNP. Sometime works sometime not. I am doing more test. I also see outside connection trying to register extension after I turn on the uPNP, I know the uPNP also map the port out. How to disable that?
Thanks
Alex
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
This sentence makes NO sense... passwords aren't set in plain text on the wire for SIP auth... so what exactly are you talking about? I for one have not had issues with Tomato. /b On Jan 10, 2011, at 2:39 PM, Aloysius Lloyd wrote:
There are some bugs in Tomato Firmware. Sometimes work and some times suddenly it strip some sip messages. Sometime no passwords. I find very difficult on this.
Hi Brian I do have some issue this morning relate to the NAT. But it hasn't back since I reboot the unit so I am not sure if the bug is true or not. I will update if I had. (hope not, I don't like dd-wrt) Alex On Mon, 10 Jan 2011 15:24:27 -0600 Brian West <brian@freeswitch.org> wrote:
This sentence makes NO sense... passwords aren't set in plain text on the wire for SIP auth... so what exactly are you talking about? I for one have not had issues with Tomato.
/b
On Jan 10, 2011, at 2:39 PM, Aloysius Lloyd wrote:
There are some bugs in Tomato Firmware. Sometimes work and some times suddenly it strip some sip messages. Sometime no passwords. I find very difficult on this.
I had bad experience about dd-wrt, not stable on my router, always cause the problem or hang up over night. I will try the nat-pmp on tomato. Switch back to dd-wrt will be my last option. BTW, how to disable extension register from external after I turn the upnp up? All the extensions are in my LAN and I do see some ip trying to register the extension from outside. Thanks Alex On Mon, 10 Jan 2011 15:39:51 -0500 Aloysius Lloyd <lloyd.aloysius@gmail.com> wrote:
Alex,
There are some bugs in Tomato Firmware. Sometimes work and some times suddenly it strip some sip messages. Sometime no passwords. I find very difficult on this.
Switch to some other firmware ... DD-WRT. your problem go away and you do not need to do any changes on the router firmware configuration and FreeSWITCH.
I have this problem for a longtime finally figure out with the debug. Then I use the DD-WRT for Linksys WRT54GL the voip firmware version problem go away.
Hope this helps.
Thanks Lloyd
On Mon, Jan 10, 2011 at 3:21 PM, Alex Wang <hadyn_whx@hotmail.com> wrote:
Thanks Brian
Alex
On Mon, 10 Jan 2011 13:24:27 -0600 Brian West <brian@freeswitch.org> wrote:
use nat-pmp upnp is unreliable sometimes.
/b
On Jan 10, 2011, at 12:55 PM, Alex Wang wrote:
Thanks Rupa
Tomato 1.28 enable uPNP. Sometime works sometime not. I am doing more test. I also see outside connection trying to register extension after I turn on the uPNP, I know the uPNP also map the port out. How to disable that?
Thanks
Alex
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Brian, Yes that correct. Sometimes Tomato suddenly send wrong messages to the sip server ... that causes authentication fails. We suspect the password strip off some characters. This is happen suddenly and after some time it will work back normal. I try with 1.25 , 1.27 and 1.28 ..... no luck then I switch to dd-wrt all problems go away. I am using Firmware: DD-WRT v24-sp2 (08/07/10) voip what is the Tomato firmware u r using? Thanks Lloyd On Mon, Jan 10, 2011 at 4:37 PM, Alex Wang <hadyn_whx@hotmail.com> wrote:
I had bad experience about dd-wrt, not stable on my router, always cause the problem or hang up over night. I will try the nat-pmp on tomato. Switch back to dd-wrt will be my last option.
BTW, how to disable extension register from external after I turn the upnp up? All the extensions are in my LAN and I do see some ip trying to register the extension from outside.
Thanks
Alex
On Mon, 10 Jan 2011 15:39:51 -0500 Aloysius Lloyd <lloyd.aloysius@gmail.com> wrote:
Alex,
There are some bugs in Tomato Firmware. Sometimes work and some times suddenly it strip some sip messages. Sometime no passwords. I find very difficult on this.
Switch to some other firmware ... DD-WRT. your problem go away and you do not need to do any changes on the router firmware configuration and FreeSWITCH.
I have this problem for a longtime finally figure out with the debug. Then I use the DD-WRT for Linksys WRT54GL the voip firmware version problem go away.
Hope this helps.
Thanks Lloyd
On Mon, Jan 10, 2011 at 3:21 PM, Alex Wang <hadyn_whx@hotmail.com> wrote:
Thanks Brian
Alex
On Mon, 10 Jan 2011 13:24:27 -0600 Brian West <brian@freeswitch.org> wrote:
use nat-pmp upnp is unreliable sometimes.
/b
On Jan 10, 2011, at 12:55 PM, Alex Wang wrote:
Thanks Rupa
Tomato 1.28 enable uPNP. Sometime works sometime not. I am doing more test. I also see outside connection trying to register extension after I turn on the uPNP, I know the uPNP also map the port out. How to disable that?
Thanks
Alex
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Here is the thread I post before ... http://lists.freeswitch.org/pipermail/freeswitch-users/2010-April/055696.htm... All sort of problem from Tomato. Also I can share you the experience. 1. If you unplug the power and restart the router . Phones never connect the server. 2. If you reboot from web interface . Then all phones start to work. 3. Etc ..... Here is another link http://www.dslreports.com/forum/r23423987-Equipment-Tomato-with-VOIP-warning Google : Tomato + SIP issues I am using dd-wrt for last four months never have any problem.FreeSWITCH default configuration working all the time. That is my experience. Hope this may help you. Thanks and regards, Loyd On Mon, Jan 10, 2011 at 4:46 PM, Aloysius Lloyd <lloyd.aloysius@gmail.com>wrote:
Brian,
Yes that correct. Sometimes Tomato suddenly send wrong messages to the sip server ... that causes authentication fails. We suspect the password strip off some characters. This is happen suddenly and after some time it will work back normal.
I try with 1.25 , 1.27 and 1.28 ..... no luck then I switch to dd-wrt all problems go away. I am using Firmware: DD-WRT v24-sp2 (08/07/10) voip
what is the Tomato firmware u r using?
Thanks Lloyd
On Mon, Jan 10, 2011 at 4:37 PM, Alex Wang <hadyn_whx@hotmail.com> wrote:
I had bad experience about dd-wrt, not stable on my router, always cause the problem or hang up over night. I will try the nat-pmp on tomato. Switch back to dd-wrt will be my last option.
BTW, how to disable extension register from external after I turn the upnp up? All the extensions are in my LAN and I do see some ip trying to register the extension from outside.
Thanks
Alex
On Mon, 10 Jan 2011 15:39:51 -0500 Aloysius Lloyd <lloyd.aloysius@gmail.com> wrote:
Alex,
There are some bugs in Tomato Firmware. Sometimes work and some times suddenly it strip some sip messages. Sometime no passwords. I find very difficult on this.
Switch to some other firmware ... DD-WRT. your problem go away and you do not need to do any changes on the router firmware configuration and FreeSWITCH.
I have this problem for a longtime finally figure out with the debug. Then I use the DD-WRT for Linksys WRT54GL the voip firmware version problem go away.
Hope this helps.
Thanks Lloyd
On Mon, Jan 10, 2011 at 3:21 PM, Alex Wang <hadyn_whx@hotmail.com> wrote:
Thanks Brian
Alex
On Mon, 10 Jan 2011 13:24:27 -0600 Brian West <brian@freeswitch.org> wrote:
use nat-pmp upnp is unreliable sometimes.
/b
On Jan 10, 2011, at 12:55 PM, Alex Wang wrote:
Thanks Rupa
Tomato 1.28 enable uPNP. Sometime works sometime not. I am doing more test. I also see outside connection trying to register extension after I turn on the uPNP, I know the uPNP also map the port out. How to disable that?
Thanks
Alex
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE: http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
I have never had these issue with Tomato... but reading that thread is somewhat comical. SIP Nat friendly? HA! /b On Jan 10, 2011, at 4:01 PM, Aloysius Lloyd wrote:
Here is another link http://www.dslreports.com/forum/r23423987-Equipment-Tomato-with-VOIP-warning
Google : Tomato + SIP issues
I am using dd-wrt for last four months never have any problem.FreeSWITCH default configuration working all the time.
That is my experience. Hope this may help you.
Thanks and regards, Loyd
What is your Tomato firmware version ? Let me give a Try on the version. Thanks Lloyd On Mon, Jan 10, 2011 at 5:15 PM, Brian West <brian@freeswitch.org> wrote:
I have never had these issue with Tomato... but reading that thread is somewhat comical.
SIP Nat friendly? HA!
/b
On Jan 10, 2011, at 4:01 PM, Aloysius Lloyd wrote:
Here is another link http://www.dslreports.com/forum/r23423987-Equipment-Tomato-with-VOIP-warning
Google : Tomato + SIP issues
I am using dd-wrt for last four months never have any problem.FreeSWITCH default configuration working all the time.
That is my experience. Hope this may help you.
Thanks and regards, Loyd
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
1.25 was the last time I updated. Used it extensively when writing all that crap to deal with nat in freeswitch. /b On Jan 10, 2011, at 4:31 PM, Aloysius Lloyd wrote:
What is your Tomato firmware version ? Let me give a Try on the version.
Thanks Lloyd
On Mon, Jan 10, 2011 at 5:15 PM, Brian West <brian@freeswitch.org> wrote: I have never had these issue with Tomato... but reading that thread is somewhat comical.
SIP Nat friendly? HA!
/b
FWIW, I have never had any issues with Tomato and SIP. It "just worked" for me. -MC On Mon, Jan 10, 2011 at 10:42 PM, Brian West <brian@freeswitch.org> wrote:
1.25 was the last time I updated. Used it extensively when writing all that crap to deal with nat in freeswitch.
/b
On Jan 10, 2011, at 4:31 PM, Aloysius Lloyd wrote:
What is your Tomato firmware version ? Let me give a Try on the version.
Thanks Lloyd
On Mon, Jan 10, 2011 at 5:15 PM, Brian West <brian@freeswitch.org> wrote:
I have never had these issue with Tomato... but reading that thread is somewhat comical.
SIP Nat friendly? HA!
/b
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Odd since Tomato doesn't have a SIP alg built in... /b On Jan 10, 2011, at 3:46 PM, Aloysius Lloyd wrote:
Brian,
Yes that correct. Sometimes Tomato suddenly send wrong messages to the sip server ... that causes authentication fails. We suspect the password strip off some characters. This is happen suddenly and after some time it will work back normal.
I try with 1.25 , 1.27 and 1.28 ..... no luck then I switch to dd-wrt all problems go away. I am using Firmware: DD-WRT v24-sp2 (08/07/10) voip
what is the Tomato firmware u r using?
Thanks Lloyd
participants (5)
-
Alex Wang
-
Aloysius Lloyd
-
Brian West
-
Michael Collins
-
Rupa Schomaker