mirror of
https://github.com/bigbluebutton/docker.git
synced 2024-12-26 00:29:13 +01:00
Configuration for SIP dial in
This commit is contained in:
parent
882146f97c
commit
596fdd61e3
3
conf/.gitignore
vendored
Normal file
3
conf/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
*/*
|
||||
!.gitkeep
|
||||
!example.xml
|
0
conf/dialplan_public/.gitkeep
Normal file
0
conf/dialplan_public/.gitkeep
Normal file
17
conf/dialplan_public/example.xml
Normal file
17
conf/dialplan_public/example.xml
Normal file
@ -0,0 +1,17 @@
|
||||
<!--
|
||||
<extension name="from_my_provider">
|
||||
<condition field="destination_number" expression="^EXTERNALDID">
|
||||
<action application="answer"/>
|
||||
<action application="sleep" data="500"/>
|
||||
<action application="play_and_get_digits" data="5 5 3 7000 # conference/conf-pin.wav ivr/ivr-that_was_an_invalid_entry.wav pin \d+"/>
|
||||
<action application="transfer" data="SEND_TO_CONFERENCE XML public"/>
|
||||
</condition>
|
||||
</extension>
|
||||
<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>
|
||||
-->
|
0
conf/sip_profiles/.gitkeep
Normal file
0
conf/sip_profiles/.gitkeep
Normal file
11
conf/sip_profiles/example.xml
Normal file
11
conf/sip_profiles/example.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<!-- All Options: https://freeswitch.org/confluence/display/FREESWITCH/Gateways+Configuration -->
|
||||
|
||||
<!--
|
||||
<include>
|
||||
<gateway name="sipgate.de">
|
||||
<param name="proxy" value="sipgate.de"/>
|
||||
<param name="username" value="USERNAME"/>
|
||||
<param name="password" value="PASSWORD"/>
|
||||
</gateway>
|
||||
</include>
|
||||
-->
|
@ -29,6 +29,9 @@ services:
|
||||
- ./mod/freeswitch/external.xml:/opt/freeswitch/conf/sip_profiles/external.xml
|
||||
- ./mod/freeswitch/acl.conf.xml:/opt/freeswitch/conf/autoload_configs/acl.conf.xml
|
||||
- ./mod/freeswitch/event_socket.conf.xml:/opt/freeswitch/conf/autoload_configs/event_socket.conf.xml
|
||||
- ./mod/freeswitch/dialplan_public.xml:/opt/freeswitch/conf/dialplan/public.xml
|
||||
- ./conf/sip_profiles:/opt/freeswitch/conf/sip_profiles/external
|
||||
- ./conf/dialplan_public:/opt/freeswitch/conf/dialplan/public_docker
|
||||
- ./mod/web/bigbluebutton.properties:/usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties.tmpl
|
||||
- ./mod/core/bigbluebutton.yml:/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml
|
||||
- ./mod/bbb-apps-akka/application.conf:/usr/share/bbb-apps-akka/conf/application.conf.tmpl
|
||||
|
44
mod/freeswitch/dialplan_public.xml
Normal file
44
mod/freeswitch/dialplan_public.xml
Normal file
@ -0,0 +1,44 @@
|
||||
<!--
|
||||
NOTICE:
|
||||
|
||||
This context is usually accessed via the external sip profile listening on port 5080.
|
||||
|
||||
It is recommended to have separate inbound and outbound contexts. Not only for security
|
||||
but clearing up why you would need to do such a thing. You don't want outside un-authenticated
|
||||
callers hitting your default context which allows dialing calls thru your providers and results
|
||||
in Toll Fraud.
|
||||
-->
|
||||
|
||||
<!-- http://wiki.freeswitch.org/wiki/Dialplan_XML -->
|
||||
<include>
|
||||
<context name="public">
|
||||
|
||||
<extension name="unloop">
|
||||
<condition field="${unroll_loops}" expression="^true$"/>
|
||||
<condition field="${sip_looped_call}" expression="^true$">
|
||||
<action application="deflect" data="${destination_number}"/>
|
||||
</condition>
|
||||
</extension>
|
||||
<!--
|
||||
Tag anything pass thru here as an outside_call so you can make sure not
|
||||
to create any routing loops based on the conditions that it came from
|
||||
the outside of the switch.
|
||||
-->
|
||||
<extension name="outside_call" continue="true">
|
||||
<condition>
|
||||
<action application="set" data="outside_call=true"/>
|
||||
<action application="export" data="RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)}"/>
|
||||
</condition>
|
||||
</extension>
|
||||
|
||||
<!--
|
||||
You can place files in the public directory to get included.
|
||||
-->
|
||||
<X-PRE-PROCESS cmd="include" data="public_docker/*.xml"/>
|
||||
<X-PRE-PROCESS cmd="include" data="public/*.xml"/>
|
||||
|
||||
|
||||
</context>
|
||||
|
||||
</include>
|
||||
|
@ -18,6 +18,10 @@ CLIENT_TITLE=BigBlueButton
|
||||
|
||||
WELCOME_FOOTER=This server is running <a href="http://docs.bigbluebutton.org/" target="_blank"><u>BigBlueButton</u></a>.
|
||||
|
||||
# use following line for an additional SIP dial-in message
|
||||
#WELCOME_FOOTER=This server is running <a href="http://docs.bigbluebutton.org/" target="_blank"><u>BigBlueButton</u></a>. <br><br>To join this meeting by phone, dial:<br> INSERT_YOUR_PHONE_NUMBER_HERE<br>Then enter %%CONFNUM%% as the conference PIN number.
|
||||
|
||||
|
||||
|
||||
|
||||
# -------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user