Cannot Make any call [CS_NEW] [WRONG_CALL_STATE]
Hello everybody, i cannot figure out this problem.. i have a multi tenant freeswitch installation. with every domain i can register users but when i try to make any call i get this behaviour: 2013-12-18 00:30:12.654751 [DEBUG] switch_core_session.c:1048 Send signal sofia/internal/1000@MYDOMAIN:9060 [BREAK] 2013-12-18 00:30:12.654751 [DEBUG] switch_core_session.c:1048 Send signal sofia/internal/1000@MYDOMAIN:9060 [BREAK] 2013-12-18 00:30:12.654751 [DEBUG] switch_core_state_machine.c:467 (sofia/internal/1000@MYDOMAIN:9060) Running State Change CS_NEW 2013-12-18 00:30:12.654751 [DEBUG] switch_core_state_machine.c:486 (sofia/internal/1000@MYDOMAIN:9060) State NEW 2013-12-18 00:30:12.654751 [DEBUG] switch_core_session.c:1048 Send signal sofia/internal/1000@MYDOMAIN:9060 [BREAK] 2013-12-18 00:30:12.654751 [DEBUG] sofia.c:1845 detaching session 8f2d7628-677b-11e3-af8c-a115136ede7e 2013-12-18 00:30:22.714696 [WARNING] switch_core_state_machine.c:567 8f2d7628-677b-11e3-af8c-a115136ede7e sofia/internal/1000@MYDOMAIN:9060 Abandoned 2013-12-18 00:30:22.714696 [NOTICE] switch_core_state_machine.c:570 Hangup sofia/internal/1000@MYDOMAIN:9060 [CS_NEW] [WRONG_CALL_STATE] 2013-12-18 00:30:22.714696 [DEBUG] switch_channel.c:3211 Send signal sofia/internal/1000@MYDOMAIN:9060 [KILL] 2013-12-18 00:30:22.714696 [DEBUG] switch_core_session.c:1383 Send signal sofia/internal/1000@MYDOMAIN:9060 [BREAK] 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:467 (sofia/internal/1000@MYDOMAIN:9060) Running State Change CS_HANGUP 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:731 (sofia/internal/1000@tMYDOMAIN:9060) State HANGUP 2013-12-18 00:30:22.714696 [DEBUG] mod_sofia.c:413 Channel sofia/internal/1000@MYDOMAIN:9060 hanging up, cause: WRONG_CALL_STATE 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:58 sofia/internal/1000@MYDOMAIN:9060 Standard HANGUP, cause: WRONG_CALL_STATE 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:731 (sofia/internal/1000@MYDOMAIN:9060) State HANGUP going to sleep 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:744 (sofia/internal/1000@MYDOMAIN:9060) Callstate Change DOWN -> HANGUP 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:499 (sofia/internal/1000@MYDOMAIN:9060) State Change CS_HANGUP -> CS_REPORTING 2013-12-18 00:30:22.714696 [DEBUG] switch_core_session.c:1383 Send signal sofia/internal/1000@MYDOMAIN:9060 [BREAK] 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:467 (sofia/internal/1000@MYDOMAIN:9060) Running State Change CS_REPORTING 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:816 (sofia/internal/1000@MYDOMAIN:9060) State REPORTING 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:102 sofia/internal/1000@MYDOMAIN:9060 Standard REPORTING, cause: WRONG_CALL_STATE 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:816 (sofia/internal/1000@MYDOMAIN:9060) State REPORTING going to sleep 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:493 (sofia/internal/1000@MYDOMAIN:9060) State Change CS_REPORTING -> CS_DESTROY 2013-12-18 00:30:22.714696 [DEBUG] switch_core_session.c:1383 Send signal sofia/internal/1000@MYDOMAIN:9060 [BREAK] 2013-12-18 00:30:22.714696 [DEBUG] switch_core_session.c:1591 Session 32 (sofia/internal/1000@MYDOMAIN:9060) Locked, Waiting on external entities 2013-12-18 00:30:22.714696 [NOTICE] switch_core_session.c:1609 Session 32 (sofia/internal/1000@MYDOMAIN:9060) Ended 2013-12-18 00:30:22.714696 [NOTICE] switch_core_session.c:1613 Close Channel sofia/internal/1000@MYDOMAIN:9060 [CS_DESTROY] 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:618 (sofia/internal/1000@MYDOMAIN:9060) Callstate Change HANGUP -> DOWN 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:621 (sofia/internal/1000@MYDOMAIN:9060) Running State Change CS_DESTROY 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:631 (sofia/internal/1000@MYDOMAIN:9060) State DESTROY 2013-12-18 00:30:22.714696 [DEBUG] mod_sofia.c:323 sofia/internal/1000@MYDOMAIN:9060 SOFIA DESTROY 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:109 sofia/internal/1000@MYDOMAIN:9060 Standard DESTROY 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:631 (sofia/internal/1000@MYDOMAIN:9060) State DESTROY going to sleep i reloaded mod_sofia and xml. Can you also tell me if i have to reload sofia or just reload xml in order to add a domain? Thanks in advice -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Cannot-Make-any-call-CS-NEW-WR... Sent from the freeswitch-users mailing list archive at Nabble.com.
Do a sip trace sofia global siptrace on console loglevel debug also check the sip-ip rtp-ip settings on your Sofia profiles. They may be using a variable such as local_ip4, with a wrong ip. Thanks, Moishe Grunstein Tornado Computer Systems, Inc. 212.400.7650 888.IPPBX.US Service Request Email: support@nysolutions.com Polycom Certified VAR Microsoft Small Business Specialist, Cisco SMB Select Certified Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of crazygabry Sent: Tuesday, December 17, 2013 7:38 PM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] Cannot Make any call [CS_NEW] [WRONG_CALL_STATE] Hello everybody, i cannot figure out this problem.. i have a multi tenant freeswitch installation. with every domain i can register users but when i try to make any call i get this behaviour: 2013-12-18 00:30:12.654751 [DEBUG] switch_core_session.c:1048 Send signal sofia/internal/1000@MYDOMAIN:9060 [BREAK] 2013-12-18 00:30:12.654751 [DEBUG] switch_core_session.c:1048 Send signal sofia/internal/1000@MYDOMAIN:9060 [BREAK] 2013-12-18 00:30:12.654751 [DEBUG] switch_core_state_machine.c:467 (sofia/internal/1000@MYDOMAIN:9060) Running State Change CS_NEW 2013-12-18 00:30:12.654751 [DEBUG] switch_core_state_machine.c:486 (sofia/internal/1000@MYDOMAIN:9060) State NEW 2013-12-18 00:30:12.654751 [DEBUG] switch_core_session.c:1048 Send signal sofia/internal/1000@MYDOMAIN:9060 [BREAK] 2013-12-18 00:30:12.654751 [DEBUG] sofia.c:1845 detaching session 8f2d7628-677b-11e3-af8c-a115136ede7e 2013-12-18 00:30:22.714696 [WARNING] switch_core_state_machine.c:567 8f2d7628-677b-11e3-af8c-a115136ede7e sofia/internal/1000@MYDOMAIN:9060 Abandoned 2013-12-18 00:30:22.714696 [NOTICE] switch_core_state_machine.c:570 Hangup sofia/internal/1000@MYDOMAIN:9060 [CS_NEW] [WRONG_CALL_STATE] 2013-12-18 00:30:22.714696 [DEBUG] switch_channel.c:3211 Send signal sofia/internal/1000@MYDOMAIN:9060 [KILL] 2013-12-18 00:30:22.714696 [DEBUG] switch_core_session.c:1383 Send signal sofia/internal/1000@MYDOMAIN:9060 [BREAK] 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:467 (sofia/internal/1000@MYDOMAIN:9060) Running State Change CS_HANGUP 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:731 (sofia/internal/1000@tMYDOMAIN:9060) State HANGUP 2013-12-18 00:30:22.714696 [DEBUG] mod_sofia.c:413 Channel sofia/internal/1000@MYDOMAIN:9060 hanging up, cause: WRONG_CALL_STATE 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:58 sofia/internal/1000@MYDOMAIN:9060 Standard HANGUP, cause: WRONG_CALL_STATE 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:731 (sofia/internal/1000@MYDOMAIN:9060) State HANGUP going to sleep 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:744 (sofia/internal/1000@MYDOMAIN:9060) Callstate Change DOWN -> HANGUP 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:499 (sofia/internal/1000@MYDOMAIN:9060) State Change CS_HANGUP -> CS_REPORTING 2013-12-18 00:30:22.714696 [DEBUG] switch_core_session.c:1383 Send signal sofia/internal/1000@MYDOMAIN:9060 [BREAK] 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:467 (sofia/internal/1000@MYDOMAIN:9060) Running State Change CS_REPORTING 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:816 (sofia/internal/1000@MYDOMAIN:9060) State REPORTING 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:102 sofia/internal/1000@MYDOMAIN:9060 Standard REPORTING, cause: WRONG_CALL_STATE 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:816 (sofia/internal/1000@MYDOMAIN:9060) State REPORTING going to sleep 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:493 (sofia/internal/1000@MYDOMAIN:9060) State Change CS_REPORTING -> CS_DESTROY 2013-12-18 00:30:22.714696 [DEBUG] switch_core_session.c:1383 Send signal sofia/internal/1000@MYDOMAIN:9060 [BREAK] 2013-12-18 00:30:22.714696 [DEBUG] switch_core_session.c:1591 Session 32 (sofia/internal/1000@MYDOMAIN:9060) Locked, Waiting on external entities 2013-12-18 00:30:22.714696 [NOTICE] switch_core_session.c:1609 Session 32 (sofia/internal/1000@MYDOMAIN:9060) Ended 2013-12-18 00:30:22.714696 [NOTICE] switch_core_session.c:1613 Close Channel sofia/internal/1000@MYDOMAIN:9060 [CS_DESTROY] 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:618 (sofia/internal/1000@MYDOMAIN:9060) Callstate Change HANGUP -> DOWN 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:621 (sofia/internal/1000@MYDOMAIN:9060) Running State Change CS_DESTROY 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:631 (sofia/internal/1000@MYDOMAIN:9060) State DESTROY 2013-12-18 00:30:22.714696 [DEBUG] mod_sofia.c:323 sofia/internal/1000@MYDOMAIN:9060 SOFIA DESTROY 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:109 sofia/internal/1000@MYDOMAIN:9060 Standard DESTROY 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:631 (sofia/internal/1000@MYDOMAIN:9060) State DESTROY going to sleep i reloaded mod_sofia and xml. Can you also tell me if i have to reload sofia or just reload xml in order to add a domain? Thanks in advice -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Cannot-Make-any-call-CS-NEW-WR... Sent from the freeswitch-users mailing list archive at Nabble.com. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Its challenging for auth and the 2nd invite is not reaching it. try "sofia global siptrace on" and "sofia loglevel all 9" On Tue, Dec 17, 2013 at 7:13 PM, Moishe Grunstein <max@nysolutions.com>wrote:
Do a sip trace sofia global siptrace on
console loglevel debug also check the sip-ip rtp-ip settings on your Sofia profiles. They may be using a variable such as local_ip4, with a wrong ip.
Thanks,
Moishe Grunstein Tornado Computer Systems, Inc. 212.400.7650 888.IPPBX.US Service Request Email: support@nysolutions.com Polycom Certified VAR Microsoft Small Business Specialist, Cisco SMB Select Certified
Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS
-----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of crazygabry Sent: Tuesday, December 17, 2013 7:38 PM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] Cannot Make any call [CS_NEW] [WRONG_CALL_STATE]
Hello everybody,
i cannot figure out this problem.. i have a multi tenant freeswitch installation. with every domain i can register users but when i try to make any call i get this behaviour:
2013-12-18 00:30:12.654751 [DEBUG] switch_core_session.c:1048 Send signal sofia/internal/1000@MYDOMAIN:9060 [BREAK] 2013-12-18 00:30:12.654751 [DEBUG] switch_core_session.c:1048 Send signal sofia/internal/1000@MYDOMAIN:9060 [BREAK] 2013-12-18 00:30:12.654751 [DEBUG] switch_core_state_machine.c:467 (sofia/internal/1000@MYDOMAIN:9060) Running State Change CS_NEW 2013-12-18 00:30:12.654751 [DEBUG] switch_core_state_machine.c:486 (sofia/internal/1000@MYDOMAIN:9060) State NEW 2013-12-18 00:30:12.654751 [DEBUG] switch_core_session.c:1048 Send signal sofia/internal/1000@MYDOMAIN:9060 [BREAK] 2013-12-18 00:30:12.654751 [DEBUG] sofia.c:1845 detaching session 8f2d7628-677b-11e3-af8c-a115136ede7e 2013-12-18 00:30:22.714696 [WARNING] switch_core_state_machine.c:567 8f2d7628-677b-11e3-af8c-a115136ede7e sofia/internal/1000@MYDOMAIN:9060 Abandoned 2013-12-18 00:30:22.714696 [NOTICE] switch_core_state_machine.c:570 Hangup sofia/internal/1000@MYDOMAIN:9060 [CS_NEW] [WRONG_CALL_STATE] 2013-12-18 00:30:22.714696 [DEBUG] switch_channel.c:3211 Send signal sofia/internal/1000@MYDOMAIN:9060 [KILL] 2013-12-18 00:30:22.714696 [DEBUG] switch_core_session.c:1383 Send signal sofia/internal/1000@MYDOMAIN:9060 [BREAK] 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:467 (sofia/internal/1000@MYDOMAIN:9060) Running State Change CS_HANGUP 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:731 (sofia/internal/1000@tMYDOMAIN:9060) State HANGUP 2013-12-18 00:30:22.714696 [DEBUG] mod_sofia.c:413 Channel sofia/internal/1000@MYDOMAIN:9060 hanging up, cause: WRONG_CALL_STATE 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:58 sofia/internal/1000@MYDOMAIN:9060 Standard HANGUP, cause: WRONG_CALL_STATE 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:731 (sofia/internal/1000@MYDOMAIN:9060) State HANGUP going to sleep 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:744 (sofia/internal/1000@MYDOMAIN:9060) Callstate Change DOWN -> HANGUP 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:499 (sofia/internal/1000@MYDOMAIN:9060) State Change CS_HANGUP -> CS_REPORTING 2013-12-18 00:30:22.714696 [DEBUG] switch_core_session.c:1383 Send signal sofia/internal/1000@MYDOMAIN:9060 [BREAK] 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:467 (sofia/internal/1000@MYDOMAIN:9060) Running State Change CS_REPORTING 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:816 (sofia/internal/1000@MYDOMAIN:9060) State REPORTING 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:102 sofia/internal/1000@MYDOMAIN:9060 Standard REPORTING, cause: WRONG_CALL_STATE 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:816 (sofia/internal/1000@MYDOMAIN:9060) State REPORTING going to sleep 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:493 (sofia/internal/1000@MYDOMAIN:9060) State Change CS_REPORTING -> CS_DESTROY 2013-12-18 00:30:22.714696 [DEBUG] switch_core_session.c:1383 Send signal sofia/internal/1000@MYDOMAIN:9060 [BREAK] 2013-12-18 00:30:22.714696 [DEBUG] switch_core_session.c:1591 Session 32 (sofia/internal/1000@MYDOMAIN:9060) Locked, Waiting on external entities 2013-12-18 00:30:22.714696 [NOTICE] switch_core_session.c:1609 Session 32 (sofia/internal/1000@MYDOMAIN:9060) Ended 2013-12-18 00:30:22.714696 [NOTICE] switch_core_session.c:1613 Close Channel sofia/internal/1000@MYDOMAIN:9060 [CS_DESTROY] 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:618 (sofia/internal/1000@MYDOMAIN:9060) Callstate Change HANGUP -> DOWN 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:621 (sofia/internal/1000@MYDOMAIN:9060) Running State Change CS_DESTROY 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:631 (sofia/internal/1000@MYDOMAIN:9060) State DESTROY 2013-12-18 00:30:22.714696 [DEBUG] mod_sofia.c:323 sofia/internal/1000@MYDOMAIN:9060 SOFIA DESTROY 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:109 sofia/internal/1000@MYDOMAIN:9060 Standard DESTROY 2013-12-18 00:30:22.714696 [DEBUG] switch_core_state_machine.c:631 (sofia/internal/1000@MYDOMAIN:9060) State DESTROY going to sleep
i reloaded mod_sofia and xml. Can you also tell me if i have to reload sofia or just reload xml in order to add a domain?
Thanks in advice
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Cannot-Make-any-call-CS-NEW-WR... Sent from the freeswitch-users mailing list archive at Nabble.com.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬ ☞ http://freeswitch.org/ ☞ http://cluecon.com/ ☞ http://twitter.com/FreeSWITCH ☞ irc.freenode.net #freeswitch ☞ *http://freeswitch.org/g+ <http://freeswitch.org/g+>* ClueCon Weekly Development Call ☎ sip:888@conference.freeswitch.org ☎ +19193869900
tl;dr = If you see WRONG_CALL_STATE messages in your logs, check your FreeSWITCH ip configs and ALSO check your network connectivity I'm reviving this old thread just to provide an additional data point that emphasizes what Anthony advised, but for a different reason. Yesterday I finally solved a long-standing problem with a very low use FreeSWITCH installation that was exhibiting just plain weird behavior. This installation is totally internal, extensions only, no PSTN connectivity, nothing is sent outside of the campus. It's all "just us chickens". The voice VLAN is distributed across the large campus over 3 or 4 Cisco switches. Calls would randomly take 5-15 seconds to setup, then if they did ultimately connect there might not be audio on answer for a few to as many as 15 seconds, sometimes no audio at all for the entire duration of the call. During one test call I made and then hung up, the target extension continued ringing for 30 seconds! Weird. I also noted the WRONG_CALL_STATE message in the logs at the time that matched the reported failures. Anthony's note put me on the right track to solving it because we discovered that the sprawling VLAN was just randomly losing connectivity in a rotating fashion to the various extensions. There was even one baffling case during our tests when pings to an extension timed out, but a call to that very same extension completed! When we moved everything over to home on the same Ethernet switch and off the suspect network, VOILA! everything worked smoothly as expected with no more WRONG_CALL_STATE messages. Now that the extensions could respond to the authentication challenge and not have their responses get lost in the ether, everything works. Bote Bote Communications Fort Lauderdale, FL From: Anthony Minessale Sent: Tuesday, 17 December, 2013 22:14 It's challenging for auth and the 2nd invite is not reaching it. try "sofia global siptrace on" and "sofia loglevel all 9" On Tue, Dec 17, 2013 at 7:13 PM, Moishe Grunstein <max@nysolutions.com> wrote: Do a sip trace sofia global siptrace on console loglevel debug also check the sip-ip rtp-ip settings on your Sofia profiles. They may be using a variable such as local_ip4, with a wrong ip. Thanks, Moishe Grunstein Tornado Computer Systems, Inc. 212.400.7650 888.IPPBX.US -----Original Message----- From: crazygabry Sent: Tuesday, December 17, 2013 7:38 PM Hello everybody, i cannot figure out this problem.. i have a multi tenant freeswitch installation. with every domain i can register users but when i try to make any call i get this behaviour: sofia/internal/1000@MYDOMAIN:9060 [CS_NEW] [WRONG_CALL_STATE] 2013-12-18 00:30:22.714696 [DEBUG] switch_channel.c:3211 Send signal
Your description of cascading network failure sounds suspiciously like STP. On Mar 13, 2014, at 12:35 PM, Bote Man <bote_radio@botecomm.com> wrote:
tl;dr = If you see WRONG_CALL_STATE messages in your logs, check your FreeSWITCH ip configs and ALSO check your network connectivity
I'm reviving this old thread just to provide an additional data point that emphasizes what Anthony advised, but for a different reason.
Yesterday I finally solved a long-standing problem with a very low use FreeSWITCH installation that was exhibiting just plain weird behavior. This installation is totally internal, extensions only, no PSTN connectivity, nothing is sent outside of the campus. It's all "just us chickens". The voice VLAN is distributed across the large campus over 3 or 4 Cisco switches.
Calls would randomly take 5-15 seconds to setup, then if they did ultimately connect there might not be audio on answer for a few to as many as 15 seconds, sometimes no audio at all for the entire duration of the call. During one test call I made and then hung up, the target extension continued ringing for 30 seconds! Weird.
I also noted the WRONG_CALL_STATE message in the logs at the time that matched the reported failures. Anthony's note put me on the right track to solving it because we discovered that the sprawling VLAN was just randomly losing connectivity in a rotating fashion to the various extensions. There was even one baffling case during our tests when pings to an extension timed out, but a call to that very same extension completed!
When we moved everything over to home on the same Ethernet switch and off the suspect network, VOILA! everything worked smoothly as expected with no more WRONG_CALL_STATE messages. Now that the extensions could respond to the authentication challenge and not have their responses get lost in the ether, everything works.
Bote Bote Communications Fort Lauderdale, FL
From: Anthony Minessale Sent: Tuesday, 17 December, 2013 22:14
It's challenging for auth and the 2nd invite is not reaching it. try "sofia global siptrace on" and "sofia loglevel all 9"
On Tue, Dec 17, 2013 at 7:13 PM, Moishe Grunstein <max@nysolutions.com> wrote: Do a sip trace sofia global siptrace on
console loglevel debug also check the sip-ip rtp-ip settings on your Sofia profiles. They may be using a variable such as local_ip4, with a wrong ip.
Thanks,
Moishe Grunstein Tornado Computer Systems, Inc. 212.400.7650 888.IPPBX.US
-----Original Message----- From: crazygabry Sent: Tuesday, December 17, 2013 7:38 PM
Hello everybody,
i cannot figure out this problem.. i have a multi tenant freeswitch installation. with every domain i can register users but when i try to make any call i get this behaviour:
sofia/internal/1000@MYDOMAIN:9060 [CS_NEW] [WRONG_CALL_STATE] 2013-12-18 00:30:22.714696 [DEBUG] switch_channel.c:3211 Send signal
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (5)
-
Anthony Minessale
-
Bote Man
-
crazygabry
-
Michael Jerris
-
Moishe Grunstein