[Freeswitch-users] Freeswitch Newbie Questions

Anthony Minessale anthmct at yahoo.com
Sat Feb 3 12:17:00 PST 2007

You have a parse error in your file.

Try installing the 100% clean default configs
by removing all the files in 


and re-issuing make installall

Also note there is a freeswitch bug tracker

Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/

AIM: anthm
MSN:anthony_minessale at hotmail.com
JABBER:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org

----- Original Message ----
From: michael papet <mpapet at gmail.com>
To: freeswitch-users <freeswitch-users at lists.freeswitch.org>
Sent: Friday, February 2, 2007 3:04:41 PM
Subject: [Freeswitch-users] Freeswitch Newbie Questions

Okay, so I've figured out one or two things but have stumbled across a minor issue.

I've got the following as my test plan:
    <!--#include "default_context.xml"-->
        <context name="default">

          <extension name="playsound1" continue="true">
            <condition field="source" expression="mod_sofia"/>
        <condition field="caller_id_name" expression="mpapet">

        <action application="answer"/>
         <action application="playback" data="/var/sounds/congrats.wav"/>

2007-02-02 13:00:36 [NOTICE] switch_core.c:2802 switch_core_standard_on_execute() Execute playback(/var/sounds/congrats.wav)

2007-02-02 13:00:36 [DEBUG] mod_sndfile.c:138 sndfile_file_open() Opening File [/var/sounds/congrats.wav] 8000hz

2007-02-02 13:00:36 [DEBUG] switch_ivr.c:1125 switch_ivr_play_file() Codec Activated L16 at 8000hz 1 channels 20ms

2007-02-02 13:00:36 [DEBUG] mod_sofia.c:2698 sip_i_state() Channel
sofia/zed/mpapet at voip.katigo.mooo.com entering state [completed]

It answers and starts playing the file according to the console but I hear no sound.  Do I need some kind of other statement in there?  Or, is it a NAT issue.  Or?

What does this error message mean?
[DEBUG] mod_sofia.c:4585 event_callback() event [nua_r_register] status [401][Unauthorized] session: n/a

FYI: If I remove freeswitch_combined.xml, the file default_context.xml does
not get read/included from freeswitch.xml.  Something like "cannot find
default context" kept appearing in the console despite the presences of
default_context.xml.  My quick and dirty solution was to put the
default context inside freeswitch.xml.  I verified this in the
freeswitch console with the error message.  After the change, call works great.

As an FYI for future users, I'm running openser and freeswitch on the same machine using virtual ip addresses.  You need to modify 
sofia.conf.xml <param name="sip-ip" value="your.freeswitch.virtual-ip.address"/> to get it to register freeswitch to your sip server.

Freeswitch-users mailing list
Freeswitch-users at lists.freeswitch.org

Yahoo! Music Unlimited
Access over 1 million songs.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20070203/2a851666/attachment-0003.html 

More information about the FreeSWITCH-users mailing list