[Freeswitch-users] Can't hear outbound calls

Rupa Schomaker rupa at rupa.com
Wed Jun 10 17:58:30 PDT 2009


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 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"/>
>
>
>
> 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
>
>


-- 
-Rupa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090610/88df1ec5/attachment-0002.html 


More information about the FreeSWITCH-users mailing list