Yossi Neiman On 11/11/2013 11:58 AM, Joli Martinez wrote:
Hello,
I am new to FreeSwitch and I have followed the following instruction to get Freeswitch working with Kamailio. I have three extension registered 101,102,103. If I call them they work, but I would like to put them on a conference. I dial 433101 and it hangs up. I do see the call hitting FS through the cli. I would like to get some type of message saying the conference does not exist or something. But not sure where to set it up.
This is what I get from the cli[code]2013-11-11 09:44:09.112958 [NOTICE] switch_channel.c:1034 New Channel sofia/internal/103@209.151.253.234 [9f7f3fc9-4ad1-40a5-bd34-8712db6d937f]2013-11-11 09:44:09.112958 [DEBUG] switch_core_session.c:1003 Send signal sofia/internal/103@209.151.253.234 [BREAK]2013-11-11 09:44:09.112958 [DEBUG] switch_core_session.c:1003 Send signal sofia/internal/103@209.151.253.234 [BREAK]2013-11-11 09:44:09.112958 [DEBUG] switch_core_state_machine.c:415 (sofia/internal/103@209.151.253.234) Running State Change CS_NEW2013-11-11 09:44:09.112958 [DEBUG] switch_core_state_machine.c:433 (sofia/internal/103@209.151.253.234) State NEW2013-11-11 09:44:09.132913 [DEBUG] sofia.c:5752 Channel sofia/internal/103@209.151.253.234 entering state [received][100]2013-11-11 09:44:09.132913 [DEBUG] sofia.c:5765 Remote SDP:v=0o=- 3593180648 3593180648 IN IP4 108.73.158.140s=pjmediac=IN IP4 108.73.158.140t=0 0m=audio 4018 RTP/AVP 99 0 8 101c=IN IP4 108.73.158.140a=rtpmap:99 SILK/24000a=fmtp:99 useinbandfec=0a=rtpmap:0 PCMU/8000a=rtpmap:8 PCMA/8000a=rtpmap:101 telephone-event/8000a=fmtp:101 0-15a=rtcp:4019 IN IP4 108.73.158.140
2013-11-11 09:44:09.132913 [DEBUG] sofia.c:5979 (sofia/internal/103@209.151.253.234) State Change CS_NEW -> CS_INIT2013-11-11 09:44:09.132913 [DEBUG] switch_core_session.c:1338 Send signal sofia/internal/103@209.151.253.234 [BREAK]2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:415 (sofia/internal/103@209.151.253.234) Running State Change CS_INIT2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:454 (sofia/internal/103@209.151.253.234) State INIT2013-11-11 09:44:09.132913 [DEBUG] mod_sofia.c:87 sofia/internal/103@209.151.253.234 SOFIA INIT2013-11-11 09:44:09.132913 [DEBUG] mod_sofia.c:127 (sofia/internal/103@209.151.253.234) State Change CS_INIT -> CS_ROUTING2013-11-11 09:44:09.132913 [DEBUG] switch_core_session.c:1338 Send signal sofia/internal/103@209.151.253.234 [BREAK]2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:454 (sofia/internal/103@209.151.253.234) State INIT going to sleep2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:415 (sofia/internal/103@209.151.253.234) Running State Change CS_ROUTING2013-11-11 09:44:09.132913 [DEBUG] switch_channel.c:2115 (sofia/internal/103@209.151.253.234) Callstate Change DOWN -> RINGING2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:470 (sofia/internal/103@209.151.253.234) State ROUTING2013-11-11 09:44:09.132913 [DEBUG] mod_sofia.c:150 sofia/internal/103@209.151.253.234 SOFIA ROUTING2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:117 sofia/internal/103@209.151.253.234 Standard ROUTING2013-11-11 09:44:09.132913 [INFO] mod_dialplan_xml.c:558 Processing 103 <103>->3101 in context publicDialplan: sofia/internal/103@209.151.253.234 parsing [public->unloop] continue=falseDialplan: sofia/internal/103@209.151.253.234 Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-falseDialplan: sofia/internal/103@209.151.253.234 Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-falseDialplan: sofia/internal/103@209.151.253.234 parsing [public->outside_call] continue=trueDialplan: sofia/internal/103@209.151.253.234 Absolute Condition [outside_call]Dialplan: sofia/internal/103@209.151.253.234 Action set(outside_call=true)Dialplan: sofia/internal/103@209.151.253.234 Action export(RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)})Dialplan: sofia/internal/103@209.151.253.234 parsing [public->call_debug] continue=trueDialplan: sofia/internal/103@209.151.253.234 Regex (FAIL) [call_debug] ${call_debug}(false) =~ /^true$/ break=neverDialplan: sofia/internal/103@209.151.253.234 parsing [public->public_extensions] continue=falseDialplan: sofia/internal/103@209.151.253.234 Regex (FAIL) [public_extensions] destination_number(3101) =~ /^(10[01][0-9])$/ break=on-falseDialplan: sofia/internal/103@209.151.253.234 parsing [public->vbox] continue=falseDialplan: sofia/internal/103@209.151.253.234 Regex (FAIL) [vbox] destination_number(3101) =~ /^vb-(1[0-9][0-9])$/ break=on-falseDialplan: sofia/internal/103@209.151.253.234 parsing [public->vmenu] continue=falseDialplan: sofia/internal/103@209.151.253.234 Regex (FAIL) [vmenu] destination_number(3101) =~ /^vm-(1[0-9][0-9])$/ break=on-falseDialplan: sofia/internal/103@209.151.253.234 parsing [public->public_did] continue=falseDialplan: sofia/internal/103@209.151.253.234 Regex (FAIL) [public_did] destination_number(3101) =~ /^(5551212)$/ break=on-false2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:167 (sofia/internal/103@209.151.253.234) State Change CS_ROUTING -> CS_EXECUTE2013-11-11 09:44:09.132913 [DEBUG] switch_core_session.c:1338 Send signal sofia/internal/103@209.151.253.234 [BREAK]2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:470 (sofia/internal/103@209.151.253.234) State ROUTING going to sleep2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:415 (sofia/internal/103@209.151.253.234) Running State Change CS_EXECUTE2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:477 (sofia/internal/103@209.151.253.234) State EXECUTE2013-11-11 09:44:09.132913 [DEBUG] mod_sofia.c:243 sofia/internal/103@209.151.253.234 SOFIA EXECUTE2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:209 sofia/internal/103@209.151.253.234 Standard EXECUTEEXECUTE sofia/internal/103@209.151.253.234 set(outside_call=true)2013-11-11 09:44:09.132913 [DEBUG] mod_dptools.c:1402 sofia/internal/103@209.151.253.234 SET [outside_call]=[true]EXECUTE sofia/internal/103@209.151.253.234 export(RFC2822_DATE=Mon, 11 Nov 2013 09:44:09 -0800)2013-11-11 09:44:09.132913 [DEBUG] switch_channel.c:1226 EXPORT (export_vars) [RFC2822_DATE]=[Mon, 11 Nov 2013 09:44:09 -0800]2013-11-11 09:44:09.132913 [NOTICE] switch_core_state_machine.c:262 sofia/internal/103@209.151.253.234 has executed the last dialplan instruction, hanging up.2013-11-11 09:44:09.132913 [NOTICE] switch_core_state_machine.c:264 Hangup sofia/internal/103@209.151.253.234 [CS_EXECUTE] [NORMAL_CLEARING]2013-11-11 09:44:09.132913 [DEBUG] switch_channel.c:3134 Send signal sofia/internal/103@209.151.253.234 [KILL]2013-11-11 09:44:09.132913 [DEBUG] switch_core_session.c:1338 Send signal sofia/internal/103@209.151.253.234 [BREAK]2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:477 (sofia/internal/103@209.151.253.234) State EXECUTE going to sleep2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:415 (sofia/internal/103@209.151.253.234) Running State Change CS_HANGUP2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:678 (sofia/internal/103@209.151.253.234) State HANGUP2013-11-11 09:44:09.132913 [DEBUG] mod_sofia.c:506 Channel sofia/internal/103@209.151.253.234 hanging up, cause: NORMAL_CLEARING2013-11-11 09:44:09.132913 [DEBUG] mod_sofia.c:640 Responding to INVITE with: 4802013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:48 sofia/internal/103@209.151.253.234 Standard HANGUP, cause: NORMAL_CLEARING2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:678 (sofia/internal/103@209.151.253.234) State HANGUP going to sleep2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:689 (sofia/internal/103@209.151.253.234) Callstate Change RINGING -> HANGUP2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:446 (sofia/internal/103@209.151.253.234) State Change CS_HANGUP -> CS_REPORTING2013-11-11 09:44:09.132913 [DEBUG] switch_core_session.c:1338 Send signal sofia/internal/103@209.151.253.234 [BREAK]2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:415 (sofia/internal/103@209.151.253.234) Running State Change CS_REPORTING2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:761 (sofia/internal/103@209.151.253.234) State REPORTING2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:92 sofia/internal/103@209.151.253.234 Standard REPORTING, cause: NORMAL_CLEARING2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:761 (sofia/internal/103@209.151.253.234) State REPORTING going to sleep2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:440 (sofia/internal/103@209.151.253.234) State Change CS_REPORTING -> CS_DESTROY2013-11-11 09:44:09.132913 [DEBUG] switch_core_session.c:1338 Send signal sofia/internal/103@209.151.253.234 [BREAK]2013-11-11 09:44:09.132913 [DEBUG] switch_core_session.c:1546 Session 13 (sofia/internal/103@209.151.253.234) Locked, Waiting on external entities2013-11-11 09:44:09.132913 [NOTICE] switch_core_session.c:1564 Session 13 (sofia/internal/103@209.151.253.234) Ended2013-11-11 09:44:09.132913 [NOTICE] switch_core_session.c:1568 Close Channel sofia/internal/103@209.151.253.234 [CS_DESTROY]2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:565 (sofia/internal/103@209.151.253.234) Callstate Change HANGUP -> DOWN2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:568 (sofia/internal/103@209.151.253.234) Running State Change CS_DESTROY2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:578 (sofia/internal/103@209.151.253.234) State DESTROY2013-11-11 09:44:09.132913 [DEBUG] mod_sofia.c:399 sofia/internal/103@209.151.253.234 SOFIA DESTROY2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:99 sofia/internal/103@209.151.253.234 Standard DESTROY2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:578 (sofia/internal/103@209.151.253.234) State DESTROY going to sleep
[/code]
thanks,
_________________________________________________________________________ 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