[Freeswitch-users] Can't hear outbound calls

Lars Zeb larclap at yahoo.com
Thu Jun 11 11:27:59 PDT 2009


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 at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael
Collins
Sent: Wednesday, June 10, 2009 5:18 PM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] Can't hear outbound calls

 

 

On Wed, Jun 10, 2009 at 4:54 PM, Lars Zeb <larclap at yahoo.com> wrote:

Rupa,

 

I think the console log has information in it that log/freeswitch.log does
not.

 

Console:

[root at 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 

 

Lars

 

From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Rupa
Schomaker
Sent: Tuesday, June 09, 2009 6:05 PM
To: freeswitch-users at 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 at 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 at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Rupa
Schomaker
Sent: Tuesday, June 09, 2009 5:19 PM


To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] Can't hear outbound calls

 

 

On Tue, Jun 9, 2009 at 6:43 PM, Lars Zeb <larclap at 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 at 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 at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090611/b45b3d0c/attachment-0002.html 


More information about the FreeSWITCH-users mailing list