VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
heller at relix.de Guest
|
Posted: Fri Dec 11, 2020 11:22 am Post subject: [Freeswitch-users] SIP dialin not working |
|
|
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]>-
Quote: | 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-
Quote: | 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-
Quote: | 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-
Quote: | 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-
Quote: | 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-
Quote: | 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
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://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
https://freeswitch.com |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|