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: Tue Jun 09, 2009 7:37 pm Post subject: [Freeswitch-users] Can't hear outbound calls |
|
|
Rupa,
What options do I have for setting up logging? I’m sorry, but I don’t know anything about this.
Thanks, 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 5:19 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [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:
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 |
|
|
rupa at rupa.com Guest
|
Posted: Tue Jun 09, 2009 8:06 pm Post subject: [Freeswitch-users] Can't hear outbound calls |
|
|
if you haven't changed your logging, then it is probably ok. The 0.0.0.0 thing is logged at error level, so will show up in the logs. How did you search? Grep?
grep '0\.0\.0\.0' freeswitch.log
On Tue, Jun 9, 2009 at 7:35 PM, Lars Zeb <larclap@yahoo.com (larclap@yahoo.com)> wrote:
--
-Rupa |
|
Back to top |
|
|
larclap at yahoo.com Guest
|
Posted: Wed Jun 10, 2009 10:06 am Post subject: [Freeswitch-users] Can't hear outbound calls |
|
|
There was no 0.0.0.0 anywhere. I used vi. I’ll rotate the logs and restart FS without nc later today and report back.
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Rupa Schomaker
Sent: Tuesday, June 09, 2009 6:05 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Can't hear outbound calls
if you haven't changed your logging, then it is probably ok. The 0.0.0.0 thing is logged at error level, so will show up in the logs. How did you search? Grep?
grep '0\.0\.0\.0' freeswitch.log
On Tue, Jun 9, 2009 at 7:35 PM, Lars Zeb <larclap@yahoo.com (larclap@yahoo.com)> wrote:
Rupa,
What options do I have for setting up logging? I’m sorry, but I don’t know anything about this.
Thanks, Lars
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 Rupa Schomaker
Sent: Tuesday, June 09, 2009 5:19 PM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: Re: [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:
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
_______________________________________________
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 |
|
|
larclap at yahoo.com Guest
|
Posted: Wed Jun 10, 2009 6:59 pm Post subject: [Freeswitch-users] Can't hear outbound calls |
|
|
Rupa,
I think the console log has information in it that log/freeswitch.log does not.
Console:
[root@fs bin]# ../freeswitch
2009-06-10 16:12:50.771529 [INFO] switch_event.c:564 Activate Eventing Engine.
2009-06-10 16:12:50.773760 [DEBUG] switch_event.c:552 Create event dispatch thread 0
2009-06-10 16:12:50.894819 [ERR] switch_xml.c:1282 Couldnt open /usr/local/freeswitch/conf/autoload_configs/../sip_profiles/internal/*.xml (No such file or directory)
Error including /usr/local/freeswitch/conf/autoload_configs/../sip_profiles/internal/*.xml (Invalid or incomplete multibyte or wide character)
2009-06-10 16:12:51.140903 [INFO] switch_nat.c:159 Scanning for NAT
2009-06-10 16:12:51.141324 [DEBUG] switch_nat.c:127 Checking for PMP 1/5
2009-06-10 16:12:51.391941 [DEBUG] switch_nat.c:127 Checking for PMP 2/5
2009-06-10 16:12:51.891822 [DEBUG] switch_nat.c:127 Checking for PMP 3/5
2009-06-10 16:12:52.891593 [DEBUG] switch_nat.c:127 Checking for PMP 4/5
2009-06-10 16:12:54.891125 [DEBUG] switch_nat.c:127 Checking for PMP 5/5
2009-06-10 16:12:54.892134 [DEBUG] switch_nat.c:164 Checking for UPnP
2009-06-10 16:12:58.891233 [INFO] switch_nat.c:174 No PMP or UPnP NAT detected!
log/freeswitch.log:
2009-06-10 16:12:09.337973 [DEBUG] switch_loadable_module.c:570 Write lock interface 'console' to wait for existing references. (from previous Freeswitch invocation)
2009-06-10 16:12:58.964463 [NOTICE] switch_loadable_module.c:208 Adding Dialplan 'enum'
2009-06-10 16:12:58.964535 [NOTICE] switch_loadable_module.c:248 Adding Application 'enum'
2009-06-10 16:12:58.964599 [NOTICE] switch_loadable_module.c:270 Adding API Function 'enum'
2009-06-10 16:12:58.964662 [NOTICE] switch_loadable_module.c:270 Adding API Function 'enum_auto'
2009-06-10 16:12:58.964974 [DEBUG] mod_cdr_csv.c:314 Adding default template.
2009-06-10 16:12:58.965016 [DEBUG] mod_cdr_csv.c:359 Adding template sql.
2009-06-10 16:12:58.965032 [DEBUG] mod_cdr_csv.c:359 Adding template sql2.
2009-06-10 16:12:58.965047 [DEBUG] mod_cdr_csv.c:359 Adding template example.
2009-06-10 16:12:58.965063 [DEBUG] mod_cdr_csv.c:359 Adding template snom.
2009-06-10 16:12:58.965079 [DEBUG] mod_cdr_csv.c:359 Adding template linksys.
2009-06-10 16:12:58.965095 [DEBUG] mod_cdr_csv.c:359 Adding template asterisk.
I disabled the DLink router UPnP mode, so no 0.0.0.0 appears in the console log. However, the disk log begins at 16:12:58, whereas the console log starts at 16:12:50. The console log finishes its NAT and UPnP reporting before the disk log begins, so I wouldn’t see any 0.0.0.0 if it were present.
The [ERR] was due to me removing example.xml from sip_profiles/internal. I put it back after this. I don’t understand the following command in conf/sofia.conf.xml.
<X-PRE-PROCESS cmd="include" data="../sip_profiles/*.xml"/>
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 6:05 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Can't hear outbound calls
if you haven't changed your logging, then it is probably ok. The 0.0.0.0 thing is logged at error level, so will show up in the logs. How did you search? Grep?
grep '0\.0\.0\.0' freeswitch.log
On Tue, Jun 9, 2009 at 7:35 PM, Lars Zeb <larclap@yahoo.com (larclap@yahoo.com)> wrote:
Rupa,
What options do I have for setting up logging? I’m sorry, but I don’t know anything about this.
Thanks, Lars
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 Rupa Schomaker
Sent: Tuesday, June 09, 2009 5:19 PM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: Re: [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:
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
_______________________________________________
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 |
|
|
msc at freeswitch.org Guest
|
Posted: Wed Jun 10, 2009 7:19 pm Post subject: [Freeswitch-users] Can't hear outbound calls |
|
|
On Wed, Jun 10, 2009 at 4:54 PM, Lars Zeb <larclap@yahoo.com (larclap@yahoo.com)> wrote:
Quote: |
Rupa,
I think the console log has information in it that log/freeswitch.log does not.
Console:
[root@fs bin]# ../freeswitch
2009-06-10 16:12:50.771529 [INFO] switch_event.c:564 Activate Eventing Engine.
2009-06-10 16:12:50.773760 [DEBUG] switch_event.c:552 Create event dispatch thread 0
2009-06-10 16:12:50.894819 [ERR] switch_xml.c:1282 Couldnt open /usr/local/freeswitch/conf/autoload_configs/../sip_profiles/internal/*.xml (No such file or directory)
Error including /usr/local/freeswitch/conf/autoload_configs/../sip_profiles/internal/*.xml (Invalid or incomplete multibyte or wide character)
2009-06-10 16:12:51.140903 [INFO] switch_nat.c:159 Scanning for NAT
2009-06-10 16:12:51.141324 [DEBUG] switch_nat.c:127 Checking for PMP 1/5
2009-06-10 16:12:51.391941 [DEBUG] switch_nat.c:127 Checking for PMP 2/5
2009-06-10 16:12:51.891822 [DEBUG] switch_nat.c:127 Checking for PMP 3/5
2009-06-10 16:12:52.891593 [DEBUG] switch_nat.c:127 Checking for PMP 4/5
2009-06-10 16:12:54.891125 [DEBUG] switch_nat.c:127 Checking for PMP 5/5
2009-06-10 16:12:54.892134 [DEBUG] switch_nat.c:164 Checking for UPnP
2009-06-10 16:12:58.891233 [INFO] switch_nat.c:174 No PMP or UPnP NAT detected!
log/freeswitch.log:
2009-06-10 16:12:09.337973 [DEBUG] switch_loadable_module.c:570 Write lock interface 'console' to wait for existing references. (from previous Freeswitch invocation)
2009-06-10 16:12:58.964463 [NOTICE] switch_loadable_module.c:208 Adding Dialplan 'enum'
2009-06-10 16:12:58.964535 [NOTICE] switch_loadable_module.c:248 Adding Application 'enum'
2009-06-10 16:12:58.964599 [NOTICE] switch_loadable_module.c:270 Adding API Function 'enum'
2009-06-10 16:12:58.964662 [NOTICE] switch_loadable_module.c:270 Adding API Function 'enum_auto'
2009-06-10 16:12:58.964974 [DEBUG] mod_cdr_csv.c:314 Adding default template.
2009-06-10 16:12:58.965016 [DEBUG] mod_cdr_csv.c:359 Adding template sql.
2009-06-10 16:12:58.965032 [DEBUG] mod_cdr_csv.c:359 Adding template sql2.
2009-06-10 16:12:58.965047 [DEBUG] mod_cdr_csv.c:359 Adding template example.
2009-06-10 16:12:58.965063 [DEBUG] mod_cdr_csv.c:359 Adding template snom.
2009-06-10 16:12:58.965079 [DEBUG] mod_cdr_csv.c:359 Adding template linksys.
2009-06-10 16:12:58.965095 [DEBUG] mod_cdr_csv.c:359 Adding template asterisk.
I disabled the DLink router UPnP mode, so no 0.0.0.0 appears in the console log. However, the disk log begins at 16:12:58, whereas the console log starts at 16:12:50. The console log finishes its NAT and UPnP reporting before the disk log begins, so I wouldn’t see any 0.0.0.0 if it were present.
The [ERR] was due to me removing example.xml from sip_profiles/internal. I put it back after this. I don’t understand the following command in conf/sofia.conf.xml.
<X-PRE-PROCESS cmd="include" data="../sip_profiles/*.xml"/>
| I think this is just a cosmetic error. You could probably put an empty xml file in sip_profiles/internal and be done with it. Or possibly have just an empty include node, like "<include></include>"
Try it out and report back - we're dying to know what happens!
-MC
Quote: |
Lars
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 Rupa Schomaker
Sent: Tuesday, June 09, 2009 6:05 PM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: Re: [Freeswitch-users] Can't hear outbound calls
if you haven't changed your logging, then it is probably ok. The 0.0.0.0 thing is logged at error level, so will show up in the logs. How did you search? Grep?
grep '0\.0\.0\.0' freeswitch.log
On Tue, Jun 9, 2009 at 7:35 PM, Lars Zeb <larclap@yahoo.com (larclap@yahoo.com)> wrote:
Rupa,
What options do I have for setting up logging? I’m sorry, but I don’t know anything about this.
Thanks, Lars
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 Rupa Schomaker
Sent: Tuesday, June 09, 2009 5:19 PM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: Re: [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:
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
_______________________________________________
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
_______________________________________________
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 |
|
|
rupa at rupa.com Guest
|
Posted: Wed Jun 10, 2009 7:59 pm Post subject: [Freeswitch-users] Can't hear outbound calls |
|
|
Oh, it is probable that logging is initialized after nat.... so the first pass won't show up in the filesystem logs. It would should up on subsequent nat initialization (what I was testing with some new code).
On Wed, Jun 10, 2009 at 6:54 PM, Lars Zeb <larclap@yahoo.com (larclap@yahoo.com)> wrote:
Quote: |
Rupa,
I think the console log has information in it that log/freeswitch.log does not.
Console:
[root@fs bin]# ../freeswitch
2009-06-10 16:12:50.771529 [INFO] switch_event.c:564 Activate Eventing Engine.
2009-06-10 16:12:50.773760 [DEBUG] switch_event.c:552 Create event dispatch thread 0
2009-06-10 16:12:50.894819 [ERR] switch_xml.c:1282 Couldnt open /usr/local/freeswitch/conf/autoload_configs/../sip_profiles/internal/*.xml (No such file or directory)
Error including /usr/local/freeswitch/conf/autoload_configs/../sip_profiles/internal/*.xml (Invalid or incomplete multibyte or wide character)
2009-06-10 16:12:51.140903 [INFO] switch_nat.c:159 Scanning for NAT
2009-06-10 16:12:51.141324 [DEBUG] switch_nat.c:127 Checking for PMP 1/5
2009-06-10 16:12:51.391941 [DEBUG] switch_nat.c:127 Checking for PMP 2/5
2009-06-10 16:12:51.891822 [DEBUG] switch_nat.c:127 Checking for PMP 3/5
2009-06-10 16:12:52.891593 [DEBUG] switch_nat.c:127 Checking for PMP 4/5
2009-06-10 16:12:54.891125 [DEBUG] switch_nat.c:127 Checking for PMP 5/5
2009-06-10 16:12:54.892134 [DEBUG] switch_nat.c:164 Checking for UPnP
2009-06-10 16:12:58.891233 [INFO] switch_nat.c:174 No PMP or UPnP NAT detected!
log/freeswitch.log:
2009-06-10 16:12:09.337973 [DEBUG] switch_loadable_module.c:570 Write lock interface 'console' to wait for existing references. (from previous Freeswitch invocation)
2009-06-10 16:12:58.964463 [NOTICE] switch_loadable_module.c:208 Adding Dialplan 'enum'
2009-06-10 16:12:58.964535 [NOTICE] switch_loadable_module.c:248 Adding Application 'enum'
2009-06-10 16:12:58.964599 [NOTICE] switch_loadable_module.c:270 Adding API Function 'enum'
2009-06-10 16:12:58.964662 [NOTICE] switch_loadable_module.c:270 Adding API Function 'enum_auto'
2009-06-10 16:12:58.964974 [DEBUG] mod_cdr_csv.c:314 Adding default template.
2009-06-10 16:12:58.965016 [DEBUG] mod_cdr_csv.c:359 Adding template sql.
2009-06-10 16:12:58.965032 [DEBUG] mod_cdr_csv.c:359 Adding template sql2.
2009-06-10 16:12:58.965047 [DEBUG] mod_cdr_csv.c:359 Adding template example.
2009-06-10 16:12:58.965063 [DEBUG] mod_cdr_csv.c:359 Adding template snom.
2009-06-10 16:12:58.965079 [DEBUG] mod_cdr_csv.c:359 Adding template linksys.
2009-06-10 16:12:58.965095 [DEBUG] mod_cdr_csv.c:359 Adding template asterisk.
I disabled the DLink router UPnP mode, so no 0.0.0.0 appears in the console log. However, the disk log begins at 16:12:58, whereas the console log starts at 16:12:50. The console log finishes its NAT and UPnP reporting before the disk log begins, so I wouldn’t see any 0.0.0.0 if it were present.
The [ERR] was due to me removing example.xml from sip_profiles/internal. I put it back after this. I don’t understand the following command in conf/sofia.conf.xml.
<X-PRE-PROCESS cmd="include" data="../sip_profiles/*.xml"/>
Lars
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 Rupa Schomaker
Sent: Tuesday, June 09, 2009 6:05 PM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: Re: [Freeswitch-users] Can't hear outbound calls
if you haven't changed your logging, then it is probably ok. The 0.0.0.0 thing is logged at error level, so will show up in the logs. How did you search? Grep?
grep '0\.0\.0\.0' freeswitch.log
On Tue, Jun 9, 2009 at 7:35 PM, Lars Zeb <larclap@yahoo.com (larclap@yahoo.com)> wrote:
Rupa,
What options do I have for setting up logging? I’m sorry, but I don’t know anything about this.
Thanks, Lars
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 Rupa Schomaker
Sent: Tuesday, June 09, 2009 5:19 PM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: Re: [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:
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
_______________________________________________
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
_______________________________________________
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 |
|
|
diego.viola at gmail.com Guest
|
Posted: Wed Jun 10, 2009 8:40 pm Post subject: [Freeswitch-users] Can't hear outbound calls |
|
|
Another vote for Git here .
On Mon, Jun 8, 2009 at 11:30 PM, Jason White <jason@jasonjgw.net (jason@jasonjgw.net)> wrote:
|
|
Back to top |
|
|
larclap at yahoo.com Guest
|
Posted: Thu Jun 11, 2009 1:29 pm Post subject: [Freeswitch-users] Can't hear outbound calls |
|
|
Michael,
Removing everything between the <include> tag in sip_profiles/internal/example.xml did the trick – no error message on FS startup. I’m running 13723.
2009-06-11 07:21:03.609317 [INFO] switch_event.c:564 Activate Eventing Engine.
2009-06-11 07:21:03.612274 [DEBUG] switch_event.c:552 Create event dispatch thread 0
2009-06-11 07:21:03.995025 [INFO] switch_nat.c:159 Scanning for NAT
2009-06-11 07:21:03.995436 [DEBUG] switch_nat.c:127 Checking for PMP 1/5
2009-06-11 07:21:04.245056 [DEBUG] switch_nat.c:127 Checking for PMP 2/5
2009-06-11 07:21:04.246056 [DEBUG] switch_nat.c:127 Checking for PMP 3/5
2009-06-11 07:21:04.745950 [DEBUG] switch_nat.c:127 Checking for PMP 4/5
2009-06-11 07:21:05.745725 [DEBUG] switch_nat.c:127 Checking for PMP 5/5
2009-06-11 07:21:07.745256 [DEBUG] switch_nat.c:164 Checking for UPnP
2009-06-11 07:21:12.221251 [DEBUG] switch_nat.c:77 No InternetGatewayDevice, using first entry as default.
2009-06-11 07:21:12.234867 [INFO] switch_nat.c:174 No PMP or UPnP NAT detected!
Lars
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Collins
Sent: Wednesday, June 10, 2009 5:18 PM
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Can't hear outbound calls
On Wed, Jun 10, 2009 at 4:54 PM, Lars Zeb <larclap@yahoo.com (larclap@yahoo.com)> wrote:
Rupa,
I think the console log has information in it that log/freeswitch.log does not.
Console:
[root@fs bin]# .../freeswitch
2009-06-10 16:12:50.771529 [INFO] switch_event.c:564 Activate Eventing Engine.
2009-06-10 16:12:50.773760 [DEBUG] switch_event.c:552 Create event dispatch thread 0
2009-06-10 16:12:50.894819 [ERR] switch_xml.c:1282 Couldnt open /usr/local/freeswitch/conf/autoload_configs/../sip_profiles/internal/*.xml (No such file or directory)
Error including /usr/local/freeswitch/conf/autoload_configs/../sip_profiles/internal/*.xml (Invalid or incomplete multibyte or wide character)
2009-06-10 16:12:51.140903 [INFO] switch_nat.c:159 Scanning for NAT
2009-06-10 16:12:51.141324 [DEBUG] switch_nat.c:127 Checking for PMP 1/5
2009-06-10 16:12:51.391941 [DEBUG] switch_nat.c:127 Checking for PMP 2/5
2009-06-10 16:12:51.891822 [DEBUG] switch_nat.c:127 Checking for PMP 3/5
2009-06-10 16:12:52.891593 [DEBUG] switch_nat.c:127 Checking for PMP 4/5
2009-06-10 16:12:54.891125 [DEBUG] switch_nat.c:127 Checking for PMP 5/5
2009-06-10 16:12:54.892134 [DEBUG] switch_nat.c:164 Checking for UPnP
2009-06-10 16:12:58.891233 [INFO] switch_nat.c:174 No PMP or UPnP NAT detected!
log/freeswitch.log:
2009-06-10 16:12:09.337973 [DEBUG] switch_loadable_module.c:570 Write lock interface 'console' to wait for existing references. (from previous Freeswitch invocation)
2009-06-10 16:12:58.964463 [NOTICE] switch_loadable_module.c:208 Adding Dialplan 'enum'
2009-06-10 16:12:58.964535 [NOTICE] switch_loadable_module.c:248 Adding Application 'enum'
2009-06-10 16:12:58.964599 [NOTICE] switch_loadable_module.c:270 Adding API Function 'enum'
2009-06-10 16:12:58.964662 [NOTICE] switch_loadable_module.c:270 Adding API Function 'enum_auto'
2009-06-10 16:12:58.964974 [DEBUG] mod_cdr_csv.c:314 Adding default template.
2009-06-10 16:12:58.965016 [DEBUG] mod_cdr_csv.c:359 Adding template sql.
2009-06-10 16:12:58.965032 [DEBUG] mod_cdr_csv.c:359 Adding template sql2.
2009-06-10 16:12:58.965047 [DEBUG] mod_cdr_csv.c:359 Adding template example.
2009-06-10 16:12:58.965063 [DEBUG] mod_cdr_csv.c:359 Adding template snom.
2009-06-10 16:12:58.965079 [DEBUG] mod_cdr_csv.c:359 Adding template linksys.
2009-06-10 16:12:58.965095 [DEBUG] mod_cdr_csv.c:359 Adding template asterisk.
I disabled the DLink router UPnP mode, so no 0.0.0.0 appears in the console log. However, the disk log begins at 16:12:58, whereas the console log starts at 16:12:50. The console log finishes its NAT and UPnP reporting before the disk log begins, so I wouldn’t see any 0.0.0.0 if it were present.
The [ERR] was due to me removing example.xml from sip_profiles/internal. I put it back after this. I don’t understand the following command in conf/sofia.conf.xml.
<X-PRE-PROCESS cmd="include" data="../sip_profiles/*.xml"/>
I think this is just a cosmetic error. You could probably put an empty xml file in sip_profiles/internal and be done with it. Or possibly have just an empty include node, like "<include></include>"
Try it out and report back - we're dying to know what happens!
-MC
Quote: |
Lars
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 Rupa Schomaker
Sent: Tuesday, June 09, 2009 6:05 PM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: Re: [Freeswitch-users] Can't hear outbound calls
if you haven't changed your logging, then it is probably ok. The 0.0.0.0 thing is logged at error level, so will show up in the logs. How did you search? Grep?
grep '0\.0\.0\.0' freeswitch.log
On Tue, Jun 9, 2009 at 7:35 PM, Lars Zeb <larclap@yahoo.com (larclap@yahoo.com)> wrote:
Rupa,
What options do I have for setting up logging? I’m sorry, but I don’t know anything about this.
Thanks, Lars
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 Rupa Schomaker
Sent: Tuesday, June 09, 2009 5:19 PM
To: freeswitch-users@lists.freeswitch.org (freeswitch-users@lists.freeswitch.org)
Subject: Re: [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:
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
_______________________________________________
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
_______________________________________________
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 |
|
|
|
|
|
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
|