I don't understand why two users (registered directly to freeswitch) are unable to connect each other? When a registered user 1001 calls registered user 1002, call fails giving this error ************************************************************************************************************************************************************ freeswitch@localhost.localdomain> 2011-08-03 10:07:01.941089 [WARNING] sofia_reg.c:1337 SIP auth challenge (INVITE) on sofia profile 'internal' for [1002@172.16.10.211] from ip 172.16.10.248 2011-08-03 10:07:01.941089 [NOTICE] switch_channel.c:897 New Channel sofia/internal/1000@172.16.10.211 [0bf31c06-8379-4831-88d7-a7df3c4ecd49] 2011-08-03 10:07:01.941089 [INFO] mod_dialplan_xml.c:336 Processing 1000 <1000>->1002 in context default 2011-08-03 10:07:01.941089 [INFO] switch_core_session.c:1281 sofia/internal/ 1000@172.16.10.211 setting session heartbeat to 60 second(s). 2011-08-03 10:07:01.941089 [ERR] mod_event_socket.c:457 Socket Error! 2011-08-03 10:07:01.941089 [NOTICE] switch_core_state_machine.c:189 sofia/internal/1000@172.16.10.211 has executed the last dialplan instruction, hanging up. 2011-08-03 10:07:01.941089 [NOTICE] switch_core_state_machine.c:191 Hangup sofia/internal/1000@172.16.10.211 [CS_EXECUTE] [NORMAL_CLEARING] 2011-08-03 10:07:01.961094 [NOTICE] switch_core_session.c:1347 Session 25 (sofia/internal/1000@172.16.10.211) Ended 2011-08-03 10:07:01.961094 [NOTICE] switch_core_session.c:1349 Close Channel sofia/internal/1000@172.16.10.211 [CS_DESTROY] ************************************************************************************************************************************************************ When I make an outbound call to my mobile, calls are not going through the custom gateway ************************************************************************************************************************************************************ freeswitch@localhost.localdomain> 2011-08-03 10:03:43.608234 [WARNING] sofia_reg.c:1337 SIP auth challenge (INVITE) on sofia profile 'internal' for [00919876543210@172.16.10.211] from ip 172.16.10.213 2011-08-03 10:03:43.728232 [NOTICE] switch_channel.c:897 New Channel sofia/internal/1002@172.16.10.211 [334906be-9cb0-44f2-9660-f9377c2ecfba] 2011-08-03 10:03:43.728232 [INFO] mod_dialplan_xml.c:336 Processing 1002 <1002>->00919876543210 in context default 2011-08-03 10:03:43.728232 [INFO] switch_core_session.c:1281 sofia/internal/ 1002@172.16.10.211 setting session heartbeat to 60 second(s). 2011-08-03 10:03:43.728232 [ERR] mod_event_socket.c:457 Socket Error! 2011-08-03 10:03:43.728232 [NOTICE] switch_core_state_machine.c:189 sofia/internal/1002@172.16.10.211 has executed the last dialplan instruction, hanging up. 2011-08-03 10:03:43.728232 [NOTICE] switch_core_state_machine.c:191 Hangup sofia/internal/1002@172.16.10.211 [CS_EXECUTE] [NORMAL_CLEARING] 2011-08-03 10:03:43.728232 [NOTICE] switch_core_session.c:1347 Session 24 (sofia/internal/1002@172.16.10.211) Ended 2011-08-03 10:03:43.728232 [NOTICE] switch_core_session.c:1349 Close Channel sofia/internal/1002@172.16.10.211 [CS_DESTROY] ************************************************************************************************************************************************************