[Freeswitch-dev] Freeswitch locking up after reply for ERLang sofia.conf is sent

Mark Sobkow m.sobkow at marketelsystems.com
Tue Sep 22 07:58:34 PDT 2009


Andrew Thompson wrote:
> Okay, so I compiled all your code and ran it like this:
>
> freeswitch_bind:start('freeswitch at DEV-CS1', configuration, self()).
>
> The third parameter seems to be unused, so I passed the shell's pid in.
> I look at freeswitch console and see the messages that the bindings were
> successful. I then reload the sofia module and see the XML being served
> to FS (on both the erlang shell and the FS console).
>
> After the stun times out, it complains about requiring a username and
> that it failed to start the 'external' UA but I get control back. This
> is without making any modifications to your code.
>
> I suppose I should have asked this earlier, but what version of
> freeswitch are you running? Also, what output do you get in the erlang
> shell and in the FS console (in debug mode)?
>
> Andrew
>
> _______________________________________________
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org
>
>   
I'm investigating what version of FS we're running.  There is an Ubuntu 
1.0.3-1_i386.deb in our install directory, but we're building 
freeswitch-1.0.4pre8 source code.  I've asked our network admin to 
download the 1.0.4 full release code, and I'll try building with that.  
I'm uncertain as to whether the deb package is being rebuilt with the 
full release of code -- I'll have to learn .deb packaging to do that.

Output from the ERLang log follows (edited):

FsNode = freeswitch at testsrv calling freeswitch:start_link()
...
starconf:handle_call(setup_ext, freeswitch_monitor) Package 
freeswitch-lang-en is already installed
starconf:handle_call(setup_ext, freeswitch_monitor) Package 
freeswitch-sounds-en-us-callie-8000 is already installed
State = 
{state,#Port<0.237>,[102,114,101,101,115,119,105,116,99,104,60,32],undefined,undefined,[],undefined,freeswitch at testsrv}

=INFO REPORT==== 21-Sep-2009::16:14:22 ===
freeswitch_monitor:<0.152.0> trying to get freeswitch at testsrv pid
{info_msg,<0.149.0>,
          {<0.152.0>,
           "~p:~p trying to get ~p pid~n",
           [freeswitch_monitor,<0.152.0>,freeswitch at testsrv]}}

=PROGRESS REPORT==== 21-Sep-2009::16:14:22 ===
          supervisor: {local,freeswitch_app}
             started: [{pid,<0.152.0>},
                       {name,freeswitch_monitor},
                       {mfa,{freeswitch_monitor,start_link,[]}},
                       {restart_type,permanent},
                       {shutdown,15000},
                       {child_type,worker}]
{info_report,<0.149.0>,
             {<0.151.0>,
              progress,
              [{supervisor,{local,freeswitch_app}},
               {started,[{pid,<0.152.0>},
                         {name,freeswitch_monitor},
                         {mfa,{freeswitch_monitor,start_link,[]}},
                         {restart_type,permanent},
                         {shutdown,15000},
                         {child_type,worker}]}]}}

=PROGRESS REPORT==== 21-Sep-2009::16:14:22 ===
         application: freeswitch
          started_at: pursuit at testsrv
{info_report,<0.29.0>,
             {<0.5.0>,
              progress,
              [{application,freeswitch},{started_at,pursuit at testsrv}]}}
freeswitch< run_freeswitch.pid=7365
freeswitch< freeswitch: no process killed
freeswitch< Error: stacksize 240 is too large: run ulimit -s 240 or run 
/opt/freeswitch/bin/freeswitch -waste.
freeswitch< auto-adjusting stack size for optimal performance....
freeswitch_monitor reached to handle sync call 1.
freeswitch< 2009-09-21 16:14:23 [INFO] switch_core_sqldb.c:494 
switch_core_sqldb_start() Opening DB
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_scheduler.c:166 
switch_scheduler_task_thread() Starting task thread
freeswitch< 2009-09-21 16:14:23 [DEBUG] switch_scheduler.c:214 
switch_scheduler_add_task() Added task 1 heartbeat (core) to run at 
1253571263
freeswitch< 2009-09-21 16:14:23 [CONSOLE] switch_core.c:1359 
switch_core_init_and_modload() Bringing up environment.
freeswitch< 2009-09-21 16:14:23 [CONSOLE] switch_core.c:1360 
switch_core_init_and_modload() Loading Modules.
freeswitch< 2009-09-21 16:14:23 [INFO] switch_time.c:661 
switch_load_timezones() Timezone loaded 0 definitions
freeswitch< 2009-09-21 16:14:23 [CONSOLE] switch_loadable_module.c:889 
switch_loadable_module_load_file() Successfully Loaded 
[CORE_SOFTTIMER_MODULE]
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:228 
switch_loadable_module_process() Adding Timer 'soft'
freeswitch< 2009-09-21 16:14:23 [CONSOLE] switch_loadable_module.c:889 
switch_loadable_module_load_file() Successfully Loaded [CORE_PCM_MODULE]
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'PROXY-VID' (PROXY VIDEO 
PASS-THROUGH) 90000hz 0ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'PROXY' (PROXY 
PASS-THROUGH) 8000hz 20ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 11025hz 40ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 22050hz 20ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 48000hz 20ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 32000hz 8ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 32000hz 6ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 32000hz 4ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 32000hz 2ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 16000hz 8ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 16000hz 6ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 16000hz 4ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 16000hz 2ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 8000hz 8ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 8000hz 6ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 8000hz 4ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 8000hz 2ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 48000hz 10ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 48000hz 8ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 48000hz 6ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 48000hz 4ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 48000hz 2ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 32000hz 10ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 32000hz 20ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 32000hz 30ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 32000hz 40ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 32000hz 50ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 32000hz 60ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 16000hz 10ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 16000hz 20ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 16000hz 30ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 16000hz 40ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 16000hz 50ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 16000hz 60ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 8000hz 10ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 8000hz 20ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 8000hz 30ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 8000hz 40ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 8000hz 50ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 8000hz 60ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 8000hz 70ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 8000hz 80ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 8000hz 90ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 8000hz 100ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 8000hz 110ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'L16' (RAW Signed Linear 
(16 bit)) 8000hz 120ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'PCMU' (G.711 ulaw) 8000hz 
10ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'PCMU' (G.711 ulaw) 8000hz 
20ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'PCMU' (G.711 ulaw) 8000hz 
30ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'PCMU' (G.711 ulaw) 8000hz 
40ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'PCMU' (G.711 ulaw) 8000hz 
50ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'PCMU' (G.711 ulaw) 8000hz 
60ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'PCMU' (G.711 ulaw) 8000hz 
70ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'PCMU' (G.711 ulaw) 8000hz 
80ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'PCMU' (G.711 ulaw) 8000hz 
90ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'PCMU' (G.711 ulaw) 8000hz 
100ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'PCMU' (G.711 ulaw) 8000hz 
110ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'PCMU' (G.711 ulaw) 8000hz 
120ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'PCMA' (G.711 alaw) 8000hz 
10ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'PCMA' (G.711 alaw) 8000hz 
20ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'PCMA' (G.711 alaw) 8000hz 
30ms
freeswitch< 2009-09-21 16:14:23 [NOTICE] switch_loadable_module.c:182 
switch_loadable_module_process() Adding Codec 'PCMA' (G.711 alaw) 8000hz 
40ms

=INFO REPORT==== 21-Sep-2009::16:14:23 ===
freeswitch_monitor:<0.152.0> trying to get freeswitch at testsrv pid
{info_msg,<0.149.0>,
          {<0.152.0>,
           "~p:~p trying to get ~p pid~n",
           [freeswitch_monitor,<0.152.0>,freeswitch at testsrv]}}
freeswitch_monitor reached to handle sync call 1.

=INFO REPORT==== 21-Sep-2009::16:14:24 ===
freeswitch_monitor:<0.152.0> trying to get freeswitch at testsrv pid
{info_msg,<0.149.0>,
          {<0.152.0>,
           "~p:~p trying to get ~p pid~n",
           [freeswitch_monitor,<0.152.0>,freeswitch at testsrv]}}

=INFO REPORT==== 21-Sep-2009::16:14:25 ===
freeswitch_monitor:<0.152.0> trying to get freeswitch at testsrv pid
{info_msg,<0.149.0>,
          {<0.152.0>,
           "~p:~p trying to get ~p pid~n",
           [freeswitch_monitor,<0.152.0>,freeswitch at testsrv]}}

=INFO REPORT==== 21-Sep-2009::16:14:26 ===
freeswitch_monitor:<0.152.0> trying to get freeswitch at testsrv pid
{info_msg,<0.149.0>,
          {<0.152.0>,
           "~p:~p trying to get ~p pid~n",
           [freeswitch_monitor,<0.152.0>,freeswitch at testsrv]}}

=INFO REPORT==== 21-Sep-2009::16:14:27 ===
freeswitch_monitor:<0.152.0> trying to get freeswitch at testsrv pid
{info_msg,<0.149.0>,
          {<0.152.0>,
           "~p:~p trying to get ~p pid~n",
           [freeswitch_monitor,<0.152.0>,freeswitch at testsrv]}}

=INFO REPORT==== 21-Sep-2009::16:14:28 ===
freeswitch_monitor:<0.152.0> trying to get freeswitch at testsrv pid
{info_msg,<0.149.0>,
          {<0.152.0>,
           "~p:~p trying to get ~p pid~n",
           [freeswitch_monitor,<0.152.0>,freeswitch at testsrv]}}

=INFO REPORT==== 21-Sep-2009::16:14:28 ===
freeswitch_monitor:<0.152.0> got freeswitch at testsrv pid <7719.0.0>
{info_msg,<0.149.0>,
          {<0.152.0>,
           "~p:~p got ~p pid ~p~n",
           [freeswitch_monitor,<0.152.0>,freeswitch at testsrv,<7719.0.0>]}}

=PROGRESS REPORT==== 21-Sep-2009::16:14:28 ===
          supervisor: {local,pbx_app}
             started: [{pid,<0.161.0>},
                       {name,pbx},
                       {mfa,{pbx,start_link,[{global,freeswitch}]}},
                       {restart_type,permanent},
                       {shutdown,5000},
                       {child_type,worker}]
{info_report,<0.158.0>,
             {<0.160.0>,
              progress,
              [{supervisor,{local,pbx_app}},
               {started,[{pid,<0.161.0>},
                         {name,pbx},
                         {mfa,{pbx,start_link,[{global,freeswitch}]}},
                         {restart_type,permanent},
                         {shutdown,5000},
                         {child_type,worker}]}]}}
freeswitch_bind:init( [Node=freeswitch at testsrv, Section=configuration, 
Pid=<7584.1401.0>])
freeswitch_monitor reached to handle sync call 2 and is successful.
handle_call bind reached.
freeswitch_bind:init( [Node=freeswitch at testsrv, Section=configuration, 
Pid=<0.197.0>])
...
freeswitch_callback:handle_call( {fetch, configuration, 
Tag="configuration", Key="name", Value="sofia.conf", Params=...} )
    undefined
    Event-Name="REQUEST_PARAMS"
    Core-UUID="1deb2d1e-a6fc-11de-9454-1fa78920d9ba"
    FreeSWITCH-Hostname="testsrv"
    FreeSWITCH-IPv4="10.77.0.231"
    FreeSWITCH-IPv6="::1"
    Event-Date-Local="2009-09-21 16:14:55"
    Event-Date-GMT="Mon, 21 Sep 2009 22:14:55 GMT"
    Event-Date-Timestamp="1253571295146288"
    Event-Calling-File="sofia.c"
    Event-Calling-Function="config_sofia"
    Event-Calling-Line-Number="1942"
freeswitch_callback:fetch_handler() Invoking xml_fetch()
freeswitch_callback:handle_call( {fetch, configuration, 
Tag="configuration", Key="name", Value="sofia.conf", Params=...} )
freeswitch_callback:handle_call( {fetch, configuration, 
Tag="configuration", Key="name", Value="sofia.conf", Params=...} )
    undefined
    undefined
    Event-Name="REQUEST_PARAMS"
    Event-Name="REQUEST_PARAMS"
    Core-UUID="1deb2d1e-a6fc-11de-9454-1fa78920d9ba"
    Core-UUID="1deb2d1e-a6fc-11de-9454-1fa78920d9ba"
    FreeSWITCH-Hostname="testsrv"
    FreeSWITCH-Hostname="testsrv"
    FreeSWITCH-IPv4="10.77.0.231"
    FreeSWITCH-IPv4="10.77.0.231"
    FreeSWITCH-IPv6="::1"
    FreeSWITCH-IPv6="::1"
    Event-Date-Local="2009-09-21 16:14:55"
    Event-Date-Local="2009-09-21 16:14:55"
    Event-Date-GMT="Mon, 21 Sep 2009 22:14:55 GMT"
    Event-Date-GMT="Mon, 21 Sep 2009 22:14:55 GMT"
    Event-Date-Timestamp="1253571295146288"
    Event-Date-Timestamp="1253571295146288"
    Event-Calling-File="sofia.c"
    Event-Calling-File="sofia.c"
    Event-Calling-Function="config_sofia"
freeswitch_callback:fetch_handler() Invoking xml_fetch()
    Event-Calling-Function="config_sofia"
    Event-Calling-Line-Number="1942"
freeswitch_callback:handle_call( {fetch, configuration, 
Tag="configuration", Key="name", Value="sofia.conf", Params=...} )
    Event-Calling-Line-Number="1942"
    undefined
freeswitch_callback:fetch_handler() Sending reply to FreeswitchNode 
freeswitch at testsrv: <document type="freeswitch/xml">
        <section name="configuration">
                <configuration name="sofia.conf" description="sofia 
Endpoint">
                        <global_settings>
                                <param name="log-level" value="0" />
                                <param name="auto-restart" value="false" />
                                <param name="debug-presence" value="0" />
                        </global_settings>
                        <settings>
                                <!-- ADD parameters here -->
                        </settings>
                        <profiles>
                                <profile name="external">
                                        <gateways>
                                                <!-- Add gateways here -->
                                                <gateway 
name="asterlink.com">
                                                        <param name="" 
value="" />
                                                        <param name="" 
value="" />
                                                        <param name="" 
value="" />
                                                        <param name="" 
value="" />
                                                        <param name="" 
value="" />
                                                        <param name="" 
value="" />
                                                        <param name="" 
value="" />
                                                </gateway>
                                        </gateways>
                                        <aliases>
                                                <alias name="outbound" />
                                                <alias name="nat" />
                                        </aliases>
                                        <domains>
                                                <domain name="all" 
alias="false" parse="true" />
                                        </domains>
                                        <settings>
                                                <param name="debug" 
value="0" />
                                                <param name="sip-trace" 
value="no" />
                                                <param name="rfc2833-pt" 
value="101" />
                                                <param name="sip-port" 
value="6080" />
                                                <param name="dialplan" 
value="XML" />
                                                <param name="context" 
value="public" />
                                                <param 
name="dtmf-duration" value="100" />
                                                <param 
name="codec-prefs" value="PCMU,PCMA,GSM" />
                                                <param name="hold-music" 
value="local_stream://moh" />
                                                <param 
name="rtp-timer-name" value="soft" />
                                                <!--param 
name="enable-100rel" value="true" / -->
                                                <param 
name="manage-presence" value="false" />
                                                <!-- param name="dbname" 
value="share_presence" / -->
                                                <!-- param 
name="presence-hosts" value="10.77.0.254" / -->
                                                <!-- param 
name="force-register-domain" value="10.77.0.254" / -->
                                                <!-- param 
name="force-register-db-domain" value="10.77.0.254" / -->
                                                <!-- param 
name="aggressive-nat-detection" value="true" / -->
                                                <param 
name="inbound-codec-negotiation" value="generous" />
                                                <param name="nonce-ttl" 
value="60" />
                                                <param name="auth-calls" 
value="false" />
                                                <param 
name="rtp-timeout-sec" value="1800" />
                                                <param name="rtp-ip" 
value="10.77.0.254" />
                                                <param name="sip-ip" 
value="10.77.0.254" />
                                                <param name="ext-rtp-ip" 
value="stun:stun.freeswitch.org" />
                                                <param name="ext-sip-ip" 
value="stun:stun.freeswitch.org" />
                                                <param 
name="rtp-timout-sec" value="300" />
                                                <param 
name="rtp-hold-timeout-sec" value="1800" />
                                                <!-- param 
name="enable-3pcc" value="true" / -->
                                                <param 
name="tls-bind-params" value="transport=tls" />
                                                <param 
name="tls-sip-port" value="6081" />
                                                <param 
name="tls-cert-dir" value="/opt/freeswitch/conf/ssl" />
                                                <param 
name="tls-version" value="tlsv1" />
                                                <!-- param 
name="rtp-autoflush-during-bridge" value="false" / -->
                                                <!-- param 
name="rtp-rewrite-timestamp" value="true" / -->
                                                <!-- param 
name="pass-rfc2833" value="true" / -->
                                                <!-- param 
name="odbc-dsn" value="dsn:user:pass" / -->
                                                <!-- param 
name="inbound-bypass-media" value="true" / -->
                                                <!-- param 
name="inbound-proxy-media" value="true" / -->
                                                <!-- param 
name="inbound-late-negotiation" value="true" / -->
                                                <!-- param 
name="accept-blind-reg" value="true" / -->
                                                <!-- param 
name="accept-blind-auth" value="true" / -->
                                                <!-- param 
name="suppress-cng" value="true" / -->
                                                <param name="nonce-ttl" 
value="60" />
                                                <!-- param 
name="disable-transcoding" value="true" / -->
                                                <!-- param 
name="disable-transfer" value="true" / -->
                                                <!-- param 
name="NDLB-broken-auth-hash" value="true" / -->
                                                <!-- param 
name="NDLB-received-in-nat-reg-contact" value="true" / -->
                                                <param name="auth-calls" 
value="true" />
                                                <param 
name="inbound-reg-force-matching-username" value="true" />
                                                <param 
name="auth-all-packets" value="false" />
                                                <!-- param 
name="ext-rtp-ip" value="stun.freeswitch.org" / -->
                                                <!-- param 
name="ext-sip-ip" value="stun.freeswitch.org" / -->
                                                <param 
name="rtp-timeout-sec" value="300" />
                                                <param 
name="rtp-hold-timeout-sec" value="1800" />
                                                <!-- param name="vad" 
value="in" / -->
                                                <!-- param name="vad" 
value="out" / -->
                                                <!-- param name="vad" 
value="both" / -->
                                                <!-- param name="alias" 
value="sip:10.77.0.231:5555" / -->
                                                <param 
name="force-register-domain" value="10.77.0.231" />
                                                <param 
name="force-register-db-domain" value="10.77.0.231" />
                                                <!-- param 
name="force-subscription-expires" value="60" / -->
                                                <!-- param 
name="disable-transfer" value="true" / -->
                                                <!-- param 
name="disable-register" value="true" / -->
                                                <!-- param 
name="enable-3pcc" value="true" / -->
                                                <!-- param 
name="NDLB-force-rport" value="true" / -->
                                                <param 
name="challenge-realm" value="auto_from" />
                                                <!-- param 
name="disable-rtp-auto-adjust" value="true" / -->
                                                <!-- param 
name="inbound-use-callid-as-uuid" value="true" / -->
                                                <!-- param 
name="outbound-use-uuid-as-callid" value="true" / -->
                                                <!-- param 
name="rtp-autofix-timing" value="false" / -->
                                                <!-- param 
name="auto-rtp-bugs" data="clear" / -->
                                                <!-- param 
name="disable-srv" value="false" / -->
                                                <!-- param 
name="disable-naptr" value="false" / -->
                                                <!-- param 
name="timer-T1" value="800" / -->
                                                <!-- param 
name="timer-T1X64" value="32000" / -->
                                                <!-- param 
name="timer-T2" value="4000" / -->
                                                <!-- param 
name="timer-T4" value="4000" / -->
                                        </settings>
                                </profile>
                        </profiles>
                </configuration>
        </section>
</document>
    Event-Name="REQUEST_PARAMS"
freeswitch_callback:fetch_handler() Reply sent
    Core-UUID="1deb2d1e-a6fc-11de-9454-1fa78920d9ba"
    FreeSWITCH-Hostname="testsrv"

=ERROR REPORT==== 21-Sep-2009::16:14:55 ===
** Generic server <0.219.0> terminating
** Last message in was {fetch,configuration,
                              "configuration",
                              "name",
                              "sofia.conf",
                              "30fbf2f8-a6fc-11de-9454-1fa78920d9ba",
                              [undefined,
                               {"Event-Name","REQUEST_PARAMS"},
                               {"Core-UUID",
                                "1deb2d1e-a6fc-11de-9454-1fa78920d9ba"},
                               {"FreeSWITCH-Hostname","testsrv"},
                               {"FreeSWITCH-IPv4","10.77.0.231"},
                               {"FreeSWITCH-IPv6","::1"},
                               {"Event-Date-Local","2009-09-21 16:14:55"},
                               {"Event-Date-GMT",
                                "Mon, 21 Sep 2009 22:14:55 GMT"},
                               {"Event-Date-Timestamp","1253571295146288"},
                               {"Event-Calling-File","sofia.c"},
                               {"Event-Calling-Function","config_sofia"},
                               {"Event-Calling-Line-Number","1942"}]}
** When Server state == {st,freeswitch at testsrv,
                            <0.197.0>,
                            <0.220.0>,
                            <0.221.0>,
                            <0.222.0>}
** Reason for termination ==
** {error,duplicate_response}
    FreeSWITCH-IPv4="10.77.0.231"
    FreeSWITCH-IPv6="::1"

=CRASH REPORT==== 21-Sep-2009::16:14:55 ===
  crasher:
    pid: <0.219.0>
    registered_name: []
    error_info: {error,duplicate_response}
    initial_call: {gen,init_it,
                      [gen_server,
                       <0.152.0>,
                       self,
                       freeswitch_bind,
                       [freeswitch at testsrv,configuration,<0.197.0>],
                       []]}
    ancestors: [<0.152.0>,freeswitch_app,<0.150.0>]
    messages: []
    links: [<7719.0.0>,<0.197.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 17711
    stack_size: 21
    reductions: 581
  neighbours:
    neighbour: [{pid,<0.197.0>},
                  {registered_name,pbx_bind_cfg},
                  {initial_call,{gen,init_it,
                                     [gen_server,
                                      <0.160.0>,
                                      <0.160.0>,
                                      {local,pbx_bind_cfg},
                                      pbx_bind_cfg,
                                      [{global,freeswitch}],
                                      []]}},
                  {current_function,{gen_server,loop,6}},
                  {ancestors,[pbx_app,<0.159.0>]},
                  {messages,[]},
                  {links,[<0.160.0>,<0.219.0>]},
                  {dictionary,[]},
                  {trap_exit,false},
                  {status,waiting},
                  {heap_size,987},
                  {stack_size,12},
                  {reductions,2728}]
    Event-Date-Local="2009-09-21 16:14:55"

=SUPERVISOR REPORT==== 21-Sep-2009::16:14:55 ===
     Supervisor: {local,pbx_app}
     Context:    child_terminated
     Reason:     {error,duplicate_response}
     Offender:   [{pid,<0.197.0>},
                  {name,pbx_bind_cfg},
                  {mfa,{pbx_bind_cfg,start_link,[{global,freeswitch}]}},
                  {restart_type,permanent},
                  {shutdown,5000},
                  {child_type,worker}]

    Event-Date-GMT="Mon, 21 Sep 2009 22:14:55 GMT"
    Event-Date-Timestamp="1253571295146288"
    Event-Calling-File="sofia.c"
    Event-Calling-Function="config_sofia"
    Event-Calling-Line-Number="1942"
freeswitch_callback:fetch_handler() Sending reply to FreeswitchNode 
freeswitch at testsrv: <document type="freeswitch/xml">
        <section name="configuration">
                <configuration name="sofia.conf" description="sofia 
Endpoint">
                        <global_settings>
                                <param name="log-level" value="0" />
                                <param name="auto-restart" value="false" />
                                <param name="debug-presence" value="0" />
                        </global_settings>
                        <settings>
                                <!-- ADD parameters here -->
                        </settings>
                        <profiles>
                                <profile name="external">
                                        <gateways>
                                                <!-- Add gateways here -->
                                                <gateway 
name="asterlink.com">
                                                        <param name="" 
value="" />
                                                        <param name="" 
value="" />
                                                        <param name="" 
value="" />
                                                        <param name="" 
value="" />
                                                        <param name="" 
value="" />
                                                        <param name="" 
value="" />
                                                        <param name="" 
value="" />
                                                </gateway>
                                        </gateways>
                                        <aliases>
                                                <alias name="outbound" />
                                                <alias name="nat" />
                                        </aliases>
                                        <domains>
                                                <domain name="all" 
alias="false" parse="true" />
                                        </domains>
                                        <settings>
                                                <param name="debug" 
value="0" />
                                                <param name="sip-trace" 
value="no" />
                                                <param name="rfc2833-pt" 
value="101" />
                                                <param name="sip-port" 
value="6080" />
                                                <param name="dialplan" 
value="XML" />
                                                <param name="context" 
value="public" />
                                                <param 
name="dtmf-duration" value="100" />
                                                <param 
name="codec-prefs" value="PCMU,PCMA,GSM" />
                                                <param name="hold-music" 
value="local_stream://moh" />
                                                <param 
name="rtp-timer-name" value="soft" />
                                                <!--param 
name="enable-100rel" value="true" / -->
                                                <param 
name="manage-presence" value="false" />
                                                <!-- param name="dbname" 
value="share_presence" / -->
                                                <!-- param 
name="presence-hosts" value="10.77.0.254" / -->
                                                <!-- param 
name="force-register-domain" value="10.77.0.254" / -->
                                                <!-- param 
name="force-register-db-domain" value="10.77.0.254" / -->
                                                <!-- param 
name="aggressive-nat-detection" value="true" / -->
                                                <param 
name="inbound-codec-negotiation" value="generous" />
                                                <param name="nonce-ttl" 
value="60" />
                                                <param name="auth-calls" 
value="false" />
                                                <param 
name="rtp-timeout-sec" value="1800" />
                                                <param name="rtp-ip" 
value="10.77.0.254" />
                                                <param name="sip-ip" 
value="10.77.0.254" />
                                                <param name="ext-rtp-ip" 
value="stun:stun.freeswitch.org" />
                                                <param name="ext-sip-ip" 
value="stun:stun.freeswitch.org" />
                                                <param 
name="rtp-timout-sec" value="300" />
                                                <param 
name="rtp-hold-timeout-sec" value="1800" />
                                                <!-- param 
name="enable-3pcc" value="true" / -->
                                                <param 
name="tls-bind-params" value="transport=tls" />
                                                <param 
name="tls-sip-port" value="6081" />
                                                <param 
name="tls-cert-dir" value="/opt/freeswitch/conf/ssl" />
                                                <param 
name="tls-version" value="tlsv1" />
                                                <!-- param 
name="rtp-autoflush-during-bridge" value="false" / -->
                                                <!-- param 
name="rtp-rewrite-timestamp" value="true" / -->
                                                <!-- param 
name="pass-rfc2833" value="true" / -->
                                                <!-- param 
name="odbc-dsn" value="dsn:user:pass" / -->
                                                <!-- param 
name="inbound-bypass-media" value="true" / -->
                                                <!-- param 
name="inbound-proxy-media" value="true" / -->
                                                <!-- param 
name="inbound-late-negotiation" value="true" / -->
                                                <!-- param 
name="accept-blind-reg" value="true" / -->
                                                <!-- param 
name="accept-blind-auth" value="true" / -->
                                                <!-- param 
name="suppress-cng" value="true" / -->
                                                <param name="nonce-ttl" 
value="60" />
                                                <!-- param 
name="disable-transcoding" value="true" / -->
                                                <!-- param 
name="disable-transfer" value="true" / -->
                                                <!-- param 
name="NDLB-broken-auth-hash" value="true" / -->
                                                <!-- param 
name="NDLB-received-in-nat-reg-contact" value="true" / -->
                                                <param name="auth-calls" 
value="true" />
                                                <param 
name="inbound-reg-force-matching-username" value="true" />
                                                <param 
name="auth-all-packets" value="false" />
                                                <!-- param 
name="ext-rtp-ip" value="stun.freeswitch.org" / -->
                                                <!-- param 
name="ext-sip-ip" value="stun.freeswitch.org" / -->
                                                <param 
name="rtp-timeout-sec" value="300" />
                                                <param 
name="rtp-hold-timeout-sec" value="1800" />
                                                <!-- param name="vad" 
value="in" / -->
                                                <!-- param name="vad" 
value="out" / -->
                                                <!-- param name="vad" 
value="both" / -->
                                                <!-- param name="alias" 
value="sip:10.77.0.231:5555" / -->
                                                <param 
name="force-register-domain" value="10.77.0.231" />
                                                <param 
name="force-register-db-domain" value="10.77.0.231" />
                                                <!-- param 
name="force-subscription-expires" value="60" / -->
                                                <!-- param 
name="disable-transfer" value="true" / -->
                                                <!-- param 
name="disable-register" value="true" / -->
                                                <!-- param 
name="enable-3pcc" value="true" / -->
                                                <!-- param 
name="NDLB-force-rport" value="true" / -->
                                                <param 
name="challenge-realm" value="auto_from" />
                                                <!-- param 
name="disable-rtp-auto-adjust" value="true" / -->
                                                <!-- param 
name="inbound-use-callid-as-uuid" value="true" / -->
                                                <!-- param 
name="outbound-use-uuid-as-callid" value="true" / -->
                                                <!-- param 
name="rtp-autofix-timing" value="false" / -->
                                                <!-- param 
name="auto-rtp-bugs" data="clear" / -->
                                                <!-- param 
name="disable-srv" value="false" / -->
                                                <!-- param 
name="disable-naptr" value="false" / -->
                                                <!-- param 
name="timer-T1" value="800" / -->
                                                <!-- param 
name="timer-T1X64" value="32000" / -->
                                                <!-- param 
name="timer-T2" value="4000" / -->
                                                <!-- param 
name="timer-T4" value="4000" / -->
                                        </settings>
                                </profile>
                        </profiles>
                </configuration>
        </section>
</document>
freeswitch_callback:fetch_handler() Reply sent

=ERROR REPORT==== 21-Sep-2009::16:16:05 ===
** Node freeswitch at testsrv not responding **
** Removing (timedout) connection **
freeswitch_monitor reached to handle sync call 2 and is successful.
handle_call bind reached.
freeswitch_bind:init( [Node=freeswitch at testsrv, Section=configuration, 
Pid=<0.259.0>])
freeswitch_monitor reached to handle sync call 2 and is successful.

freeswitch_bind:init( [Node=freeswitch at testsrv, Section=configuration, 
Pid=<7584.1532.0>])






More information about the FreeSWITCH-dev mailing list