freeswitch@vzakhozhai> reload mod_sofia 
+OK Reloading XML
+OK module unloaded
+OK module loaded

2016-09-25 01:25:52.420261 [DEBUG] switch_loadable_module.c:942 Write lock interface 'sofia' to wait for existing references.
2016-09-25 01:25:52.420261 [NOTICE] switch_loadable_module.c:950 Deleting Endpoint 'sofia'
2016-09-25 01:25:52.420261 [DEBUG] switch_loadable_module.c:942 Write lock interface 'rtp' to wait for existing references.
2016-09-25 01:25:52.420261 [NOTICE] switch_loadable_module.c:950 Deleting Endpoint 'rtp'
2016-09-25 01:25:52.420261 [NOTICE] switch_loadable_module.c:1055 Deleting Application 'sofia_sla'
2016-09-25 01:25:52.420261 [DEBUG] switch_loadable_module.c:1057 Write lock interface 'sofia_sla' to wait for existing references.
2016-09-25 01:25:52.420261 [NOTICE] switch_loadable_module.c:1110 Deleting API Function 'sofia'
2016-09-25 01:25:52.420261 [DEBUG] switch_loadable_module.c:1112 Write lock interface 'sofia' to wait for existing references.
2016-09-25 01:25:52.420261 [NOTICE] switch_loadable_module.c:1110 Deleting API Function 'sofia_gateway_data'
2016-09-25 01:25:52.420261 [DEBUG] switch_loadable_module.c:1112 Write lock interface 'sofia_gateway_data' to wait for existing references.
2016-09-25 01:25:52.420261 [NOTICE] switch_loadable_module.c:1110 Deleting API Function 'sofia_username_of'
2016-09-25 01:25:52.420261 [DEBUG] switch_loadable_module.c:1112 Write lock interface 'sofia_username_of' to wait for existing references.
2016-09-25 01:25:52.420261 [NOTICE] switch_loadable_module.c:1110 Deleting API Function 'sofia_contact'
2016-09-25 01:25:52.420261 [DEBUG] switch_loadable_module.c:1112 Write lock interface 'sofia_contact' to wait for existing references.
2016-09-25 01:25:52.420261 [NOTICE] switch_loadable_module.c:1110 Deleting API Function 'sofia_count_reg'
2016-09-25 01:25:52.420261 [DEBUG] switch_loadable_module.c:1112 Write lock interface 'sofia_count_reg' to wait for existing references.
2016-09-25 01:25:52.420261 [NOTICE] switch_loadable_module.c:1110 Deleting API Function 'sofia_dig'
2016-09-25 01:25:52.420261 [DEBUG] switch_loadable_module.c:1112 Write lock interface 'sofia_dig' to wait for existing references.
2016-09-25 01:25:52.420261 [NOTICE] switch_loadable_module.c:1110 Deleting API Function 'sofia_presence_data'
2016-09-25 01:25:52.420261 [DEBUG] switch_loadable_module.c:1112 Write lock interface 'sofia_presence_data' to wait for existing references.
2016-09-25 01:25:52.420261 [DEBUG] switch_loadable_module.c:1304 Write lock interface 'sip' to wait for existing references.
2016-09-25 01:25:52.420261 [NOTICE] switch_loadable_module.c:1313 Deleting Chat interface 'sip'
2016-09-25 01:25:52.420261 [NOTICE] switch_loadable_module.c:1355 Deleting Management interface 'mod_sofia' OID[.1.3.6.1.4.1.27880.1001]
2016-09-25 01:25:52.420261 [CONSOLE] switch_loadable_module.c:2012 Stopping: mod_sofia
2016-09-25 01:25:52.440262 [NOTICE] switch_cpp.cpp:1360 Section: configuration Value: timezones.conf
2016-09-25 01:25:52.440262 [WARNING] switch_cpp.cpp:1360 Got wrong section or configuration: configuration/timezones.conf. Do nothing...
2016-09-25 01:25:52.440262 [INFO] switch_time.c:1415 Timezone reloaded 1781 definitions
2016-09-25 01:25:52.440262 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::notify_refer
2016-09-25 01:25:52.440262 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::notify_watched_header
2016-09-25 01:25:52.440262 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::unregister
2016-09-25 01:25:52.440262 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::profile_start
2016-09-25 01:25:52.440262 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::reinvite
2016-09-25 01:25:52.440262 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::replaced
2016-09-25 01:25:52.440262 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::transferor
2016-09-25 01:25:52.440262 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::transferee
2016-09-25 01:25:52.440262 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::error
2016-09-25 01:25:52.440262 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::intercepted
2016-09-25 01:25:52.440262 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::gateway_state
2016-09-25 01:25:52.440262 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::sip_user_state
2016-09-25 01:25:52.440262 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::gateway_delete
2016-09-25 01:25:52.440262 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::expire
2016-09-25 01:25:52.440262 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::register_attempt
2016-09-25 01:25:52.440262 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::register_failure
2016-09-25 01:25:52.440262 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::pre_register
2016-09-25 01:25:52.440262 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::register
2016-09-25 01:25:52.440262 [NOTICE] switch_event.c:457 Subclass reservation deleted for mod_sofia.c:sofia::gateway_add
2016-09-25 01:25:52.440262 [NOTICE] switch_event.c:2100 Event Binding deleted for mod_sofia:PRESENCE_IN
2016-09-25 01:25:52.440262 [NOTICE] switch_event.c:2100 Event Binding deleted for mod_sofia:PRESENCE_OUT
2016-09-25 01:25:52.440262 [NOTICE] switch_event.c:2100 Event Binding deleted for mod_sofia:PRESENCE_PROBE
2016-09-25 01:25:52.440262 [NOTICE] switch_event.c:2100 Event Binding deleted for mod_sofia:MESSAGE_WAITING
2016-09-25 01:25:52.440262 [NOTICE] switch_event.c:2100 Event Binding deleted for mod_sofia:ROSTER
2016-09-25 01:25:52.440262 [NOTICE] switch_event.c:2100 Event Binding deleted for mod_sofia:CONFERENCE_DATA
2016-09-25 01:25:52.440262 [NOTICE] switch_event.c:2100 Event Binding deleted for mod_sofia:TRAP
2016-09-25 01:25:52.440262 [NOTICE] switch_event.c:2100 Event Binding deleted for mod_sofia:NOTIFY
2016-09-25 01:25:52.440262 [NOTICE] switch_event.c:2100 Event Binding deleted for mod_sofia:PHONE_FEATURE
2016-09-25 01:25:52.440262 [NOTICE] switch_event.c:2100 Event Binding deleted for mod_sofia:SEND_MESSAGE
2016-09-25 01:25:52.440262 [NOTICE] switch_event.c:2100 Event Binding deleted for mod_sofia:SEND_INFO
2016-09-25 01:25:52.440262 [NOTICE] switch_event.c:2100 Event Binding deleted for mod_sofia:CUSTOM
2016-09-25 01:25:52.440262 [WARNING] sofia.c:2166 MSG Thread Ended
2016-09-25 01:25:52.440262 [CONSOLE] switch_loadable_module.c:2032 mod_sofia unloaded.
2016-09-25 01:25:52.440262 [INFO] mod_sofia.c:5892 Starting initial message thread.
2016-09-25 01:25:52.440262 [NOTICE] switch_cpp.cpp:1360 Section: configuration Value: sofia.conf
2016-09-25 01:25:52.440262 [NOTICE] switch_cpp.cpp:1360 Reply with:     <?xml version="1.0"?>
    <document type="freeswitch/xml">
    <configuration name="sofia.conf" description="sofia Endpoint">
    <global_settings>
    <param name="log-level" value="0"/>
    <param name="debug-presence" value="0"/>
    </global_settings>
    <profiles>
    <profile name="internal">
    <settings>
    <param name="debug" value="0"/>
    <param name="sip-trace" value="no"/>
    <param name="sip-capture" value="no"/>
    <param name="dialplan" value="XML"/>
    <param name="sip-port" value="5060"/>
    </settings>
    <gateways>
    </gateways>
    </profile>
    </profiles>
    </configuration>
    </document>
    

2016-09-25 01:25:52.440262 [DEBUG] mod_sofia.c:5908 Waiting for profiles to start
2016-09-25 01:25:52.440262 [WARNING] sofia.c:2148 MSG Thread 0 Started
2016-09-25 01:25:53.940312 [CONSOLE] switch_loadable_module.c:1538 Successfully Loaded [mod_sofia]
2016-09-25 01:25:53.940312 [NOTICE] switch_loadable_module.c:162 Adding Endpoint 'sofia'
2016-09-25 01:25:53.940312 [NOTICE] switch_loadable_module.c:162 Adding Endpoint 'rtp'
2016-09-25 01:25:53.940312 [NOTICE] switch_loadable_module.c:292 Adding Application 'sofia_sla'
2016-09-25 01:25:53.940312 [NOTICE] switch_loadable_module.c:338 Adding API Function 'sofia'
2016-09-25 01:25:53.940312 [NOTICE] switch_loadable_module.c:338 Adding API Function 'sofia_gateway_data'
2016-09-25 01:25:53.940312 [NOTICE] switch_loadable_module.c:338 Adding API Function 'sofia_username_of'
2016-09-25 01:25:53.940312 [NOTICE] switch_loadable_module.c:338 Adding API Function 'sofia_contact'
2016-09-25 01:25:53.940312 [NOTICE] switch_loadable_module.c:338 Adding API Function 'sofia_count_reg'
2016-09-25 01:25:53.940312 [NOTICE] switch_loadable_module.c:338 Adding API Function 'sofia_dig'
2016-09-25 01:25:53.940312 [NOTICE] switch_loadable_module.c:338 Adding API Function 'sofia_presence_data'
2016-09-25 01:25:53.940312 [NOTICE] switch_loadable_module.c:483 Adding Chat interface 'sip'
2016-09-25 01:25:53.940312 [NOTICE] switch_loadable_module.c:529 Adding Management interface 'mod_sofia' OID[.1.3.6.1.4.1.27880.1001]
freeswitch@vzakhozhai> sofi

[               sofia]  [       sofia_contact]  [     sofia_count_reg]  [           sofia_dig]  
[  sofia_gateway_data]  [ sofia_presence_data]  [   sofia_username_of]  


freeswitch@vzakhozhai> sofia status
                     Name      Type                                       Data  State
=================================================================================================
=================================================================================================
0 profiles 0 aliases

