If you look at all the items that start with "Dialplan" you will see "PASS" or "FAIL" next to each item.  You are not matching upon an extension in the public dialplan context that executes any sort of a conference call, and after the call is done in the CS_EXECUTE state, it sends back a 480 to the remote.

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.

http://kb.asipto.com/freeswitch:kamailio-3.3.x-freeswitch-1.2.x-sbc

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_NEW
2013-11-11 09:44:09.112958 [DEBUG] switch_core_state_machine.c:433 (sofia/internal/103@209.151.253.234) State NEW
2013-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=0
o=- 3593180648 3593180648 IN IP4 108.73.158.140
s=pjmedia
c=IN IP4 108.73.158.140
t=0 0
m=audio 4018 RTP/AVP 99 0 8 101
c=IN IP4 108.73.158.140
a=rtpmap:99 SILK/24000
a=fmtp:99 useinbandfec=0
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=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_INIT
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:415 (sofia/internal/103@209.151.253.234) Running State Change CS_INIT
2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:454 (sofia/internal/103@209.151.253.234) State INIT
2013-11-11 09:44:09.132913 [DEBUG] mod_sofia.c:87 sofia/internal/103@209.151.253.234 SOFIA INIT
2013-11-11 09:44:09.132913 [DEBUG] mod_sofia.c:127 (sofia/internal/103@209.151.253.234) State Change CS_INIT -> CS_ROUTING
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:454 (sofia/internal/103@209.151.253.234) State INIT going to sleep
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_ROUTING
2013-11-11 09:44:09.132913 [DEBUG] switch_channel.c:2115 (sofia/internal/103@209.151.253.234) Callstate Change DOWN -> RINGING
2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:470 (sofia/internal/103@209.151.253.234) State ROUTING
2013-11-11 09:44:09.132913 [DEBUG] mod_sofia.c:150 sofia/internal/103@209.151.253.234 SOFIA ROUTING
2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:117 sofia/internal/103@209.151.253.234 Standard ROUTING
2013-11-11 09:44:09.132913 [INFO] mod_dialplan_xml.c:558 Processing 103 <103>->3101 in context public
Dialplan: sofia/internal/103@209.151.253.234 parsing [public->unloop] continue=false
Dialplan: sofia/internal/103@209.151.253.234 Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false
Dialplan: sofia/internal/103@209.151.253.234 Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false
Dialplan: sofia/internal/103@209.151.253.234 parsing [public->outside_call] continue=true
Dialplan: 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=true
Dialplan: sofia/internal/103@209.151.253.234 Regex (FAIL) [call_debug] ${call_debug}(false) =~ /^true$/ break=never
Dialplan: sofia/internal/103@209.151.253.234 parsing [public->public_extensions] continue=false
Dialplan: sofia/internal/103@209.151.253.234 Regex (FAIL) [public_extensions] destination_number(3101) =~ /^(10[01][0-9])$/ break=on-false
Dialplan: sofia/internal/103@209.151.253.234 parsing [public->vbox] continue=false
Dialplan: sofia/internal/103@209.151.253.234 Regex (FAIL) [vbox] destination_number(3101) =~ /^vb-(1[0-9][0-9])$/ break=on-false
Dialplan: sofia/internal/103@209.151.253.234 parsing [public->vmenu] continue=false
Dialplan: sofia/internal/103@209.151.253.234 Regex (FAIL) [vmenu] destination_number(3101) =~ /^vm-(1[0-9][0-9])$/ break=on-false
Dialplan: sofia/internal/103@209.151.253.234 parsing [public->public_did] continue=false
Dialplan: sofia/internal/103@209.151.253.234 Regex (FAIL) [public_did] destination_number(3101) =~ /^(5551212)$/ break=on-false
2013-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_EXECUTE
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:470 (sofia/internal/103@209.151.253.234) State ROUTING going to sleep
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_EXECUTE
2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:477 (sofia/internal/103@209.151.253.234) State EXECUTE
2013-11-11 09:44:09.132913 [DEBUG] mod_sofia.c:243 sofia/internal/103@209.151.253.234 SOFIA EXECUTE
2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:209 sofia/internal/103@209.151.253.234 Standard EXECUTE
EXECUTE 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 sleep
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_HANGUP
2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:678 (sofia/internal/103@209.151.253.234) State HANGUP
2013-11-11 09:44:09.132913 [DEBUG] mod_sofia.c:506 Channel sofia/internal/103@209.151.253.234 hanging up, cause: NORMAL_CLEARING
2013-11-11 09:44:09.132913 [DEBUG] mod_sofia.c:640 Responding to INVITE with: 480
2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:48 sofia/internal/103@209.151.253.234 Standard HANGUP, cause: NORMAL_CLEARING
2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:678 (sofia/internal/103@209.151.253.234) State HANGUP going to sleep
2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:689 (sofia/internal/103@209.151.253.234) Callstate Change RINGING -> HANGUP
2013-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_REPORTING
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:415 (sofia/internal/103@209.151.253.234) Running State Change CS_REPORTING
2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:761 (sofia/internal/103@209.151.253.234) State REPORTING
2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:92 sofia/internal/103@209.151.253.234 Standard REPORTING, cause: NORMAL_CLEARING
2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:761 (sofia/internal/103@209.151.253.234) State REPORTING going to sleep
2013-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_DESTROY
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_session.c:1546 Session 13 (sofia/internal/103@209.151.253.234) Locked, Waiting on external entities
2013-11-11 09:44:09.132913 [NOTICE] switch_core_session.c:1564 Session 13 (sofia/internal/103@209.151.253.234) Ended
2013-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 -> DOWN
2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:568 (sofia/internal/103@209.151.253.234) Running State Change CS_DESTROY
2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:578 (sofia/internal/103@209.151.253.234) State DESTROY
2013-11-11 09:44:09.132913 [DEBUG] mod_sofia.c:399 sofia/internal/103@209.151.253.234 SOFIA DESTROY
2013-11-11 09:44:09.132913 [DEBUG] switch_core_state_machine.c:99 sofia/internal/103@209.151.253.234 Standard DESTROY
2013-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