VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
larclap at yahoo.com Guest
|
Posted: Mon Jun 08, 2009 9:27 pm Post subject: [Freeswitch-users] Can't hear outbound calls |
|
|
I had a working FS installation which I messed up by doing a fresh install. I tried to integrate all my custom changes, but I’m sure I screwed something up.
The symptom is on an outbound call, sometimes I can hear ringing, other times I cannot. Finally I can see FS connects via a softphone, but I hear only silence. The other side of the conversation hears static.
I pasted a siptrace of the external profile. The Contact, Via and SDP shows an address 0.0.0.0. http://pastebin.freeswitch.org/9318
FS exists on a LAN behind a NAT firewall along with all its clients. There is a SwitchVox system which predates the FS. I had to use an external sip = 5090 for FS. Also I think I had to use a different WAN address (xxx.xxx.xxx.83, which is the address mapped to 5090) than the one FS came up with (xxx.xxx.xxx.82), but I can’t figure out where I set this address.
I would appreciate any help. Thanks, Lars |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Mon Jun 08, 2009 9:40 pm Post subject: [Freeswitch-users] Can't hear outbound calls |
|
|
pastebin your profile config and the output of global_getvar
/b
On Jun 8, 2009, at 9:24 PM, Lars Zeb wrote:
|
|
Back to top |
|
|
larclap at yahoo.com Guest
|
Posted: Mon Jun 08, 2009 9:59 pm Post subject: [Freeswitch-users] Can't hear outbound calls |
|
|
http://pastebin.freeswitch.org/9319
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West
Sent: Monday, June 08, 2009 7:39 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Can't hear outbound calls
pastebin your profile config and the output of global_getvar
/b
On Jun 8, 2009, at 9:24 PM, Lars Zeb wrote:
I had a working FS installation which I messed up by doing a fresh install. I tried to integrate all my custom changes, but I’m sure I screwed something up.
The symptom is on an outbound call, sometimes I can hear ringing, other times I cannot. Finally I can see FS connects via a softphone, but I hear only silence. The other side of the conversation hears static.
I pasted a siptrace of the external profile. The Contact, Via and SDP shows an address 0.0.0.0. http://pastebin.freeswitch.org/9318
FS exists on a LAN behind a NAT firewall along with all its clients. There is a SwitchVox system which predates the FS. I had to use an external sip = 5090 for FS. Also I think I had to use a different WAN address (xxx.xxx.xxx.83, which is the address mapped to 5090) than the one FS came up with (xxx.xxx.xxx.82), but I can’t figure out where I set this address.
I would appreciate any help. Thanks, Lars
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 |
|
Back to top |
|
|
jason at jasonjgw.net Guest
|
Posted: Mon Jun 08, 2009 10:32 pm Post subject: [Freeswitch-users] Can't hear outbound calls |
|
|
Lars Zeb <larclap@yahoo.com> wrote:
Quote: | I had a working FS installation which I messed up by doing a fresh install.
I tried to integrate all my custom changes, but I'm sure I screwed something
up.
|
Git is an excellent tool for keeping track of FreeSWITCH configuration
changes. The history of my configuration is maintained in a git repository
under /opt/freeswitch/conf - git simply creates a .git subdirectory to store
all of the revisions as they are committed.
Git revert and git stash have been very useful at times, not to mention git
reset --hard.
Since Git is used for Linux kernel development, it should be available from
most recent Linux distributions, and it can probably be compiled for other
Unix-like environments as well.
_______________________________________________
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 |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Tue Jun 09, 2009 8:47 am Post subject: [Freeswitch-users] Can't hear outbound calls |
|
|
You have a upnp device handing out 0.0.0.0 as the gateway address ... I'll patch that shortly to disable that.
/b
On Jun 8, 2009, at 9:57 PM, Lars Zeb wrote:
Quote: | http://pastebin.freeswitch.org/9319
From: freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Brian West
Sent: Monday, June 08, 2009 7:39 PM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: Re: [Freeswitch-users] Can't hear outbound calls
pastebin your profile config and the output of global_getvar
/b
On Jun 8, 2009, at 9:24 PM, Lars Zeb wrote:
I had a working FS installation which I messed up by doing a fresh install. I tried to integrate all my custom changes, but I’m sure I screwed something up.
The symptom is on an outbound call, sometimes I can hear ringing, other times I cannot. Finally I can see FS connects via a softphone, but I hear only silence. The other side of the conversation hears static.
I pasted a siptrace of the external profile. The Contact, Via and SDP shows an address 0.0.0.0. http://pastebin.freeswitch.org/9318
FS exists on a LAN behind a NAT firewall along with all its clients. There is a SwitchVox system which predates the FS. I had to use an external sip = 5090 for FS. Also I think I had to use a different WAN address (xxx.xxx.xxx.83, which is the address mapped to 5090) than the one FS came up with (xxx.xxx.xxx.82), but I can’t figure out where I set this address.
I would appreciate any help. Thanks, Lars
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (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 West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us at ClueCon! http://www.cluecon.com |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Tue Jun 09, 2009 9:57 am Post subject: [Freeswitch-users] Can't hear outbound calls |
|
|
update to 13719, rupa did a patch that fixed this.. also find that printer that gives out the 0.0.0.0 addr and turn off upnp
/b
On Jun 8, 2009, at 9:57 PM, Lars Zeb wrote:
Quote: | http://pastebin.freeswitch.org/9319
From: freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Brian West
Sent: Monday, June 08, 2009 7:39 PM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: Re: [Freeswitch-users] Can't hear outbound calls
pastebin your profile config and the output of global_getvar
/b
On Jun 8, 2009, at 9:24 PM, Lars Zeb wrote:
I had a working FS installation which I messed up by doing a fresh install. I tried to integrate all my custom changes, but I’m sure I screwed something up.
The symptom is on an outbound call, sometimes I can hear ringing, other times I cannot. Finally I can see FS connects via a softphone, but I hear only silence. The other side of the conversation hears static.
I pasted a siptrace of the external profile. The Contact, Via and SDP shows an address 0.0.0.0. http://pastebin.freeswitch.org/9318
FS exists on a LAN behind a NAT firewall along with all its clients. There is a SwitchVox system which predates the FS. I had to use an external sip = 5090 for FS. Also I think I had to use a different WAN address (xxx.xxx.xxx.83, which is the address mapped to 5090) than the one FS came up with (xxx.xxx.xxx.82), but I can’t figure out where I set this address.
I would appreciate any help. Thanks, Lars
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (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 West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us at ClueCon! http://www.cluecon.com |
|
Back to top |
|
|
larclap at yahoo.com Guest
|
Posted: Tue Jun 09, 2009 11:05 am Post subject: [Freeswitch-users] Can't hear outbound calls |
|
|
Brian, I’m curious, how can you tell that a printer is giving out the 0.0.0.0 addr?
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West
Sent: Tuesday, June 09, 2009 7:41 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Can't hear outbound calls
update to 13719, rupa did a patch that fixed this.. also find that printer that gives out the 0.0.0.0 addr and turn off upnp
/b
On Jun 8, 2009, at 9:57 PM, Lars Zeb wrote:
http://pastebin.freeswitch.org/9319
From: freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Brian West
Sent: Monday, June 08, 2009 7:39 PM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: Re: [Freeswitch-users] Can't hear outbound calls
pastebin your profile config and the output of global_getvar
/b
On Jun 8, 2009, at 9:24 PM, Lars Zeb wrote:
I had a working FS installation which I messed up by doing a fresh install. I tried to integrate all my custom changes, but I’m sure I screwed something up.
The symptom is on an outbound call, sometimes I can hear ringing, other times I cannot. Finally I can see FS connects via a softphone, but I hear only silence. The other side of the conversation hears static.
I pasted a siptrace of the external profile. The Contact, Via and SDP shows an address 0.0.0.0. http://pastebin.freeswitch.org/9318
FS exists on a LAN behind a NAT firewall along with all its clients. There is a SwitchVox system which predates the FS. I had to use an external sip = 5090 for FS. Also I think I had to use a different WAN address (xxx.xxx.xxx.83, which is the address mapped to 5090) than the one FS came up with (xxx.xxx.xxx.82), but I can’t figure out where I set this address.
I would appreciate any help. Thanks, Lars
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 (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 West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us at ClueCon! http://www.cluecon.com |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Tue Jun 09, 2009 11:07 am Post subject: [Freeswitch-users] Can't hear outbound calls |
|
|
Because rupa on IRC is having the same problem.. Check the error message I print now and the device url will be printed thanks to rupa's patch.
/b
On Jun 9, 2009, at 11:03 AM, Lars Zeb wrote:
Quote: | Brian, I’m curious, how can you tell that a printer is giving out the 0.0.0.0 addr? |
Brian West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us at ClueCon! http://www.cluecon.com |
|
Back to top |
|
|
larclap at yahoo.com Guest
|
Posted: Tue Jun 09, 2009 12:06 pm Post subject: [Freeswitch-users] Can't hear outbound calls |
|
|
Thanks, Brian and Mike J and Ken R and Jason W.
Outbound calls are now working OK.
Brian, I don’t know where to look for the 0.0.0.0 addr error message. I checked the log/freeswitch.log but did not recognize anything.
I also noticed that nat_public_addr is not longer displayed in the global_getvar command. How is this value set?
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West
Sent: Tuesday, June 09, 2009 9:06 AM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Can't hear outbound calls
Because rupa on IRC is having the same problem.. Check the error message I print now and the device url will be printed thanks to rupa's patch.
/b
On Jun 9, 2009, at 11:03 AM, Lars Zeb wrote:
Brian, I’m curious, how can you tell that a printer is giving out the 0.0.0.0 addr?
Brian West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us at ClueCon! http://www.cluecon.com |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Tue Jun 09, 2009 12:07 pm Post subject: [Freeswitch-users] Can't hear outbound calls |
|
|
because 0.0.0.0 causes it to disable upnp cuz its invalid.
/b
On Jun 9, 2009, at 12:00 PM, Lars Zeb wrote:
Quote: | Thanks, Brian and Mike J and Ken R and Jason W.
Outbound calls are now working OK.
Brian, I don’t know where to look for the 0.0.0.0 addr error message. I checked the log/freeswitch.log but did not recognize anything.
I also noticed that nat_public_addr is not longer displayed in the global_getvar command. How is this value set?
|
Brian West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us at ClueCon! http://www.cluecon.com |
|
Back to top |
|
|
rupa at rupa.com Guest
|
Posted: Tue Jun 09, 2009 1:17 pm Post subject: [Freeswitch-users] Can't hear outbound calls |
|
|
If we get 0.0.0.0 as a public address, upnp support is disabled since we're getting the info from a gateway that can't route us to the internet. It is broken, so we don't trust it.
The message you should see in the logs is something like:
2009-06-08 13:51:44.587812 [ERR] switch_nat.c:126 uPNP Device (url: http://192.168.1.2:4444/wipconn) returned an invalid external address of 0.0.0.0. Disabling uPNP
2009-06-08 13:51:44.587812 [INFO] switch_nat.c:380 No PMP or UPnP NAT detected!
You'll probably not see this if you start fs in the background and then connect with fs_cli. So, look in your log files for it.
The url will give you an idea as to which device is sending you invalid info. In my case it is a dlink router setup as a access point but still was implementing upnp (bad). I was able to disable upnp on that router.
My printer (Epson Artisan 800) also participates in upnp, but it doesn't respond to the internet gateway stuff, so it was not the source of a problem for address discovery. It is causing me other issues but that is another story for another day for code that isn't committed yet.
2009/6/9 Lars Zeb <larclap@yahoo.com (larclap@yahoo.com)>
--
-Rupa |
|
Back to top |
|
|
larclap at yahoo.com Guest
|
Posted: Tue Jun 09, 2009 4:29 pm Post subject: [Freeswitch-users] Can't hear outbound calls |
|
|
Rupa,
Thanks for the detailed response. After upgrading from 13639 to 13732, I see no log errors. I am accessing Freeswitch vi fs_cli, but I did look in log/freeswitch.log. Certainly I see nothing that looks like your ERR below.
I too have a dlink router. I will look at its configuration and see if upnp is enabled.
Lars
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Rupa Schomaker
Sent: Tuesday, June 09, 2009 11:16 AM
To: freeswitch-users
Subject: Re: [Freeswitch-users] Can't hear outbound calls
If we get 0.0.0.0 as a public address, upnp support is disabled since we're getting the info from a gateway that can't route us to the internet. It is broken, so we don't trust it.
The message you should see in the logs is something like:
2009-06-08 13:51:44.587812 [ERR] switch_nat.c:126 uPNP Device (url: http://192.168.1.2:4444/wipconn) returned an invalid external address of 0.0.0.0. Disabling uPNP
2009-06-08 13:51:44.587812 [INFO] switch_nat.c:380 No PMP or UPnP NAT detected!
You'll probably not see this if you start fs in the background and then connect with fs_cli. So, look in your log files for it.
The url will give you an idea as to which device is sending you invalid info. In my case it is a dlink router setup as a access point but still was implementing upnp (bad). I was able to disable upnp on that router.
My printer (Epson Artisan 800) also participates in upnp, but it doesn't respond to the internet gateway stuff, so it was not the source of a problem for address discovery. It is causing me other issues but that is another story for another day for code that isn't committed yet.
2009/6/9 Lars Zeb <larclap@yahoo.com (larclap@yahoo.com)>
Thanks, Brian and Mike J and Ken R and Jason W.
Outbound calls are now working OK.
Brian, I don’t know where to look for the 0.0.0.0 addr error message. I checked the log/freeswitch.log but did not recognize anything.
I also noticed that nat_public_addr is not longer displayed in the global_getvar command. How is this value set?
From: freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Brian West
Sent: Tuesday, June 09, 2009 9:06 AM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: Re: [Freeswitch-users] Can't hear outbound calls
Because rupa on IRC is having the same problem.. Check the error message I print now and the device url will be printed thanks to rupa's patch.
/b
On Jun 9, 2009, at 11:03 AM, Lars Zeb wrote:
Brian, I’m curious, how can you tell that a printer is giving out the 0.0.0.0 addr?
Brian West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us at ClueCon! http://www.cluecon.com
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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 |
|
Back to top |
|
|
brian at freeswitch.org Guest
|
Posted: Tue Jun 09, 2009 4:33 pm Post subject: [Freeswitch-users] Can't hear outbound calls |
|
|
You have to start freeswitch without -nc to see it. Only happens during start up.
/b
On Jun 9, 2009, at 4:26 PM, Lars Zeb wrote:
Quote: | Rupa,
Thanks for the detailed response. After upgrading from 13639 to 13732, I see no log errors. I am accessing Freeswitch vi fs_cli, but I did look in log/freeswitch.log. Certainly I see nothing that looks like your ERR below.
I too have a dlink router. I will look at its configuration and see if upnp is enabled.
Lars
|
Brian West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us at ClueCon! http://www.cluecon.com |
|
Back to top |
|
|
larclap at yahoo.com Guest
|
Posted: Tue Jun 09, 2009 6:44 pm Post subject: [Freeswitch-users] Can't hear outbound calls |
|
|
Thanks for the explanation, Brian; it was lost on me before.
It was a DLink DIR-625 which had UPnP enabled. I turned it off.
It looks like the error message only appears on the console when started without the nc option; and it does not appear in log/freeswitch.log in any case.
2009-06-09 16:24:32.271913 [INFO] switch_event.c:564 Activate Eventing Engine.
2009-06-09 16:24:32.274131 [DEBUG] switch_event.c:552 Create event dispatch thread 0
2009-06-09 16:24:32.663627 [INFO] switch_nat.c:159 Scanning for NAT
2009-06-09 16:24:32.664053 [DEBUG] switch_nat.c:127 Checking for PMP 1/5
2009-06-09 16:24:32.913583 [DEBUG] switch_nat.c:127 Checking for PMP 2/5
2009-06-09 16:24:32.914581 [DEBUG] switch_nat.c:127 Checking for PMP 3/5
2009-06-09 16:24:33.415479 [DEBUG] switch_nat.c:127 Checking for PMP 4/5
2009-06-09 16:24:34.415249 [DEBUG] switch_nat.c:127 Checking for PMP 5/5
2009-06-09 16:24:36.413782 [DEBUG] switch_nat.c:164 Checking for UPnP
2009-06-09 16:24:38.906588 [ERR] switch_nat.c:96 uPNP Device (url: http://192.168.10.253:4444/wipconn) returned an invalid external address of 0.0.0.0. Disabling uPNP
2009-06-09 16:24:38.906633 [INFO] switch_nat.c:174 No PMP or UPnP NAT detected!
2009-06-09 16:24:38.908650 [INFO] switch_core_sqldb.c:507 Opening DB
2009-06-09 16:24:38.950200 [NOTICE] switch_scheduler.c:166 Starting task thread
Thanks, Lars
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Brian West
Sent: Tuesday, June 09, 2009 2:33 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Can't hear outbound calls
You have to start freeswitch without -nc to see it. Only happens during start up.
/b
On Jun 9, 2009, at 4:26 PM, Lars Zeb wrote:
Rupa,
Thanks for the detailed response. After upgrading from 13639 to 13732, I see no log errors. I am accessing Freeswitch vi fs_cli, but I did look in log/freeswitch.log. Certainly I see nothing that looks like your ERR below.
I too have a dlink router. I will look at its configuration and see if upnp is enabled.
Lars
Brian West
brian@freeswitch.org (brian@freeswitch.org)
-- Meet us at ClueCon! http://www.cluecon.com |
|
Back to top |
|
|
rupa at rupa.com Guest
|
Posted: Tue Jun 09, 2009 7:21 pm Post subject: [Freeswitch-users] Can't hear outbound calls |
|
|
On Tue, Jun 9, 2009 at 6:43 PM, Lars Zeb <larclap@yahoo.com (larclap@yahoo.com)> wrote:
Quote: |
It looks like the error message only appears on the console when started without the nc option; and it does not appear in log/freeswitch.log in any case.
| You might want to review how you have your logging setup then. The example I gave you was copied/pasted out of my freeswitch.log file while testing this fix.
--
-Rupa |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|