karlma / fusionpbx

Automatically exported from code.google.com/p/fusionpbx
0 stars 0 forks source link

Conference Room behaviour #933

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. * Create Conf Center 
        Extension = 480
        Greeting <left blank>
        PIN length = 3
   * Conf Room 
        Moderator = 501
        Participant = 500 
        Profile = default
        Max Members = 9999
        Wait for Moderator = False
2. Caller-1: Call into Conf Center extension 480 and enter Conf Room PIN and 
Record name
3. Caller-2: Call into Conf Center extension 480 and enter Conf Room PIN and 
Record name

What is the expected output? 
 Both (all) callers would enter the Conf Room and remain there for conferencing

What do you see instead?
 1. The first caller got the "You are the only person..." IVR message played to them twice (Should be only once)
 2. When the 2nd caller enters the Conf Room PIN, they threw out the 1st caller and the IVR played the "You are the only person..." IVR message 
 NOTE - This problem is the same if either caller was on an external phone or an internal phone

What version of the product are you using? On what operating system?
 FusionPBX 3.7.1  on  Windows Server 2012 R2  64-bit

Please provide any additional information below.
The following are FS log entries which appear after the 1st caller (ext 106) is 
successfully in the Conference and the 2nd caller (ext 105) attempts to enter 
the same Conference

parsing [192.168.nnn.nn->Conf-Center] continue=false
Regex (PASS) [Conf-Center] destination_number(480) =~ /^480$/ break=on-false
Action lua(app.lua conference_center)
 [DEBUG] switch_core_state_machine.c:216 (sofia/internal/105@192.168.nnn.nn:5080) State Change CS_ROUTING -> CS_EXECUTE
[DEBUG] switch_core_session.c:1388 Send signal 
sofia/internal/105@192.168.nnn.nn:5080 [BREAK]
[DEBUG] switch_core_state_machine.c:528 
(sofia/internal/105@192.168.nnn.nn:5080) State ROUTING going to sleep
[DEBUG] switch_core_state_machine.c:472 
(sofia/internal/105@192.168.nnn.nn:5080) Running State Change CS_EXECUTE
[DEBUG] switch_core_state_machine.c:535 
(sofia/internal/105@192.168.nnn.nn:5080) State EXECUTE
[DEBUG] mod_sofia.c:178 sofia/internal/105@192.168.nnn.nn:5080 SOFIA EXECUTE
[DEBUG] switch_core_state_machine.c:258 sofia/internal/105@192.168.nnn.nn:5080 
Standard EXECUTE
EXECUTE sofia/internal/105@192.168.nnn.nn:5080 set(call_direction=local)
[DEBUG] mod_dptools.c:1435 sofia/internal/105@192.168.nnn.nn:5080 SET 
[call_direction]=[local]
EXECUTE sofia/internal/105@192.168.nnn.nn:5080 
export(origination_callee_id_name=480)
[DEBUG] switch_channel.c:1247 EXPORT (export_vars) 
[origination_callee_id_name]=[480]
EXECUTE sofia/internal/105@192.168.nnn.nn:5080 set(RFC2822_DATE=Wed, 22 Apr 
2015 12:15:23 Mountain Daylight Time)
[DEBUG] mod_dptools.c:1435 sofia/internal/105@192.168.nnn.nn:5080 SET 
[RFC2822_DATE]=[Wed, 22 Apr 2015 12:15:23 Mountain Daylight Time]
EXECUTE sofia/internal/105@192.168.nnn.nn:5080 
hash(insert/192.168.nnn.nn-last_dial/105/480)
EXECUTE sofia/internal/105@192.168.nnn.nn:5080 lua(app.lua conference_center)
[DEBUG] freeswitch_lua.cpp:360 DBH handle 0000000005293A78 Connected.
[DEBUG] switch_core_media.c:5141 AUDIO RTP 
[sofia/internal/105@192.168.nnn.nn:5080] 192.168.nnn.nn port 25960 -> 
192.168.105.10 port 3000 codec: 0 ms: 30
[DEBUG] switch_rtp.c:3548 Starting timer [soft] 240 bytes per 30ms
[DEBUG] switch_core_media.c:5439 Set 2833 dtmf send payload to 101
[DEBUG] switch_core_media.c:5445 Set 2833 dtmf receive payload to 101
[DEBUG] mod_sofia.c:780 Local SDP sofia/internal/105@192.168.nnn.nn:5080:
          af297f05-7178-47b9-bfb1-41aec9e57cea v=0
          af297f05-7178-47b9-bfb1-41aec9e57cea o=FreeSWITCH 1429700563 1429700564 IN IP4 192.168.nnn.nn
          af297f05-7178-47b9-bfb1-41aec9e57cea s=FreeSWITCH
          af297f05-7178-47b9-bfb1-41aec9e57cea c=IN IP4 192.168.nnn.nn
          af297f05-7178-47b9-bfb1-41aec9e57cea t=0 0
          af297f05-7178-47b9-bfb1-41aec9e57cea m=audio 25960 RTP/AVP 0 101
          af297f05-7178-47b9-bfb1-41aec9e57cea a=rtpmap:0 PCMU/8000
          af297f05-7178-47b9-bfb1-41aec9e57cea a=rtpmap:101 telephone-event/8000
          af297f05-7178-47b9-bfb1-41aec9e57cea a=fmtp:101 0-16
          af297f05-7178-47b9-bfb1-41aec9e57cea a=ptime:30
          af297f05-7178-47b9-bfb1-41aec9e57cea a=sendrecv
          af297f05-7178-47b9-bfb1-41aec9e57cea 
[DEBUG] switch_core_session.c:908 Send signal 
sofia/internal/105@192.168.nnn.nn:5080 [BREAK]
 [NOTICE] switch_cpp.cpp:658 Channel [sofia/internal/105@192.168.nnn.nn:5080] has been answered
 [DEBUG] switch_core_session.c:1053 Send signal sofia/internal/105@192.168.nnn.nn:5080 [BREAK]
[DEBUG] switch_channel.c:3689 (sofia/internal/105@192.168.nnn.nn:5080) 
Callstate Change RINGING -> ACTIVE
[DEBUG] sofia.c:6614 Channel sofia/internal/105@192.168.nnn.nn:5080 entering 
state [completed][200]
[DEBUG] switch_rtp.c:5853 Correct ip/port confirmed.
 [DEBUG] freeswitch_lua.cpp:360 DBH handle 00000000050D7238 Connected.
[NOTICE] switch_cpp.cpp:1328 [conference center] local_hostname is FS_SERVER
[NOTICE] switch_cpp.cpp:1328 [conference center] conference_hostname is 
FS_SERVER
 [DEBUG] switch_ivr_play_say.c:1314 Codec Activated L16@8000hz 1 channels 30ms
[DEBUG] switch_ivr_play_say.c:1747 done playing file C:/Program 
Files/FusionPBX/sounds/en/us/callie/conference/conf-pin.wav
 [DEBUG] switch_rtp.c:6075 RTP RECV DTMF 5:1040
[DEBUG] switch_channel.c:488 RECV DTMF 5:1040
[DEBUG] switch_core_session.c:1053 Send signal 
sofia/internal/106@192.168.nnn.nn:5080 [BREAK]
 [DEBUG] switch_core_session.c:1053 Send signal sofia/internal/106@192.168.nnn.nn:5080 [BREAK]
 [DEBUG] sofia.c:6614 Channel sofia/internal/106@192.168.nnn.nn:5080 entering state [terminating][0]
 [NOTICE] sofia.c:7530 Hangup sofia/internal/106@192.168.nnn.nn:5080 [CS_EXECUTE] [NORMAL_UNSPECIFIED]
 [DEBUG] switch_channel.c:3222 Send signal sofia/internal/106@192.168.nnn.nn:5080 [KILL]
[DEBUG] switch_core_session.c:1388 Send signal 
sofia/internal/106@192.168.nnn.nn:5080 [BREAK]
[DEBUG] mod_conference.c:5055 Channel leaving conference, cause: 
NORMAL_UNSPECIFIED
[DEBUG] mod_conference.c:9641 sofia/internal/106@192.168.nnn.nn:5080 skip 
receive message [UNBRIDGE] (channel is hungup already)
[DEBUG] switch_core_media.c:7748 sofia/internal/106@192.168.nnn.nn:5080 skip 
receive message [REFER_EVENT] (channel is hungup already)
[DEBUG] switch_core_codec.c:246 sofia/internal/106@192.168.nnn.nn:5080 Restore 
previous codec PCMU:0.
[DEBUG] switch_core_session.c:2893 sofia/internal/106@192.168.nnn.nn:5080 skip 
receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
2015-04-22 12:15:28.555123 [DEBUG] mod_conference.c:3613 Write Lock ON
2015-04-22 12:15:28.555123 [DEBUG] mod_conference.c:3616 Write Lock OFF
2015-04-22 12:15:28.574146 [DEBUG] freeswitch_lua.cpp:360 DBH handle 
00000000059021C8 Connected.
2015-04-22 12:15:28.604185 [DEBUG] freeswitch_lua.cpp:377 DBH handle 
00000000059021C8 released.
2015-04-22 12:15:28.604185 [DEBUG] freeswitch_lua.cpp:377 DBH handle 
0000000005287A18 released.
[DEBUG] switch_cpp.cpp:1075 sofia/internal/106@192.168.nnn.nn:5080 
destroy/unlink session from object
[DEBUG] switch_core_session.c:2893 sofia/internal/106@192.168.nnn.nn:5080 skip 
receive message [APPLICATION_EXEC_COMPLETE] (channel is hungup already)
[DEBUG] switch_core_state_machine.c:535 
(sofia/internal/106@192.168.nnn.nn:5080) State EXECUTE going to sleep
[DEBUG] switch_core_state_machine.c:472 
(sofia/internal/106@192.168.nnn.nn:5080) Running State Change CS_HANGUP
[DEBUG] switch_core_state_machine.c:735 
(sofia/internal/106@192.168.nnn.nn:5080) Callstate Change ACTIVE -> HANGUP
[DEBUG] switch_core_state_machine.c:737 
(sofia/internal/106@192.168.nnn.nn:5080) State HANGUP
[DEBUG] mod_sofia.c:413 Channel sofia/internal/106@192.168.nnn.nn:5080 hanging 
up, cause: NORMAL_UNSPECIFIED
[DEBUG] switch_core_state_machine.c:60 sofia/internal/106@192.168.nnn.nn:5080 
Standard HANGUP, cause: NORMAL_UNSPECIFIED
[DEBUG] switch_core_state_machine.c:737 
(sofia/internal/106@192.168.nnn.nn:5080) State HANGUP going to sleep
[DEBUG] switch_core_state_machine.c:504 
(sofia/internal/106@192.168.nnn.nn:5080) State Change CS_HANGUP -> CS_REPORTING
[DEBUG] switch_core_session.c:1388 Send signal 
sofia/internal/106@192.168.nnn.nn:5080 [BREAK]
[DEBUG] switch_core_state_machine.c:472 
(sofia/internal/106@192.168.nnn.nn:5080) Running State Change CS_REPORTING
[DEBUG] switch_core_state_machine.c:823 
(sofia/internal/106@192.168.nnn.nn:5080) State REPORTING

Original issue reported on code.google.com by TempName...@gmail.com on 22 Apr 2015 at 6:43

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Is this working now? I remember on IRC I suggested it was a NAT issue. Then I 
recommended you put external_rtp_ip and external_sip_ip as the internal ip 
address. 

Original comment by markjcrane@gmail.com on 23 Apr 2015 at 6:50

GoogleCodeExporter commented 9 years ago
Creator of the issue did not respond and I believe on IRC that the NAT changes 
fixed it. Also it worked for me on the same day on the same version. So this 
issue is being closed.

Original comment by markjcrane@gmail.com on 23 Apr 2015 at 10:45