Dear list, I am trying to configure SIP dialin. I can call my freeswitch/BBB server. It does execute the "play_and_get_digits", I can enter the PIN number of my conference which I can now see in my BBB GUI, but then I get a HANGUP. fs_clibbb tells me, when the call comes in: After entering the PIN number (DTMF decode works fine): EXECUTE [depth=0] sofia/external/[callernumber]@sip.[xyz].com transfer(SEND_TO_CONFERENCE XML default) ... switch_ivr.c:2243 ... State Change CS_EXECUTE -> CS_ROUTING switch_ivr.c:2250 Transfer sofia/external/[callernumber]@sip.[xyz].com to XML[SEND_TO_CONFERENCE@default] ... some more lines that don't look conspicuous... mod_dialplan_xml.c:637 Processing [callernumber] <[callernumber]>-
SEND_TO_CONFERENCE in context default
Then there is a Dialplan block that does not terminate properly: Dialplan: sofia/external/[callernumber]@sip.[xyz].com parsing [default-
unloop] continue=false Dialplan: sofia/external/[callernumber]@sip.[xyz].com Regex (PASS) [unloop] ${unroll_loops}(true) =~ /^true$/ break=on-false Dialplan: sofia/external/[callernumber]@sip.[xyz].com Regex (FAIL) [unloop] ${sip_looped_call}() =~ /^true$/ break=on-false Dialplan: sofia/external/[callernumber]@sip.[xyz].com parsing [default- bbb_conferences_ws] continue=false Dialplan: sofia/external/[callernumber]@sip.[xyz].com Regex (FAIL) [bbb_conferences_ws] ${bbb_authorized}() =~ /true/ break=on-false Dialplan: sofia/external/[callernumber]@sip.[xyz].com parsing [default- bbb_conferences] continue=false Dialplan: sofia/external/[callernumber]@sip.[xyz].com Regex (FAIL) [bbb_conferences] ${bbb_authorized}() =~ /true/ break=on-false Dialplan: sofia/external/[callernumber]@sip.[xyz].com parsing [default- bbb_echo_test_direct] continue=false Dialplan: sofia/external/[callernumber]@sip.[xyz].com Regex (FAIL) [bbb_echo_test_direct] ${bbb_authorized}() =~ /true/ break=on-false Dialplan: sofia/external/[callernumber]@sip.[xyz].com parsing [default- ECHO_TO_CONFERENCE] continue=false Dialplan: sofia/external/[callernumber]@sip.[xyz].com Regex (FAIL) [ECHO_TO_CONFERENCE] ${bbb_from_echo}() =~ /true/ break=on-false
Ending up in: 2020-12-11 10:16:01.332329 [INFO] switch_core_state_machine.c:312 No Route, Aborting With a final statement: 2020-12-11 10:16:01.332329 [NOTICE] switch_core_state_machine.c:313 Hangup sofia/external/[callernumber]@sip.[xyz].com [CS_ROUTING] [NO_ROUTE_DESTINATION] I understand that the Regex checks try to match the extension names in the three files in /opt/freeswitch/conf/dialplan/default. Probably, the call should match with "bbb_conferences", where the Regex fails with "not authorized". This is strange, because I am explicitly using an "authorized" statement in my dialin.xml config file:
<extension name="check_if_conference_active"> <condition field="${conference ${pin} list}" expression="/sofia/g" /> <condition field="destination_number" expression="^SEND_TO_CONFERENCE$"> <action application="set" data="bbb_authorized=true"/> <action application="transfer" data="${pin} XML default"/> </condition> </extension> <<<<<
I think I fail to understand something right in front of me :-) Please help. Thanks a lot in advance! BR Markus
participants (1)
-
Markus Heller