Seeking for FreeSwitch calling and configuration support

105 views
Skip to first unread message

Karthik Kumar

unread,
Apr 23, 2021, 3:15:04 AM4/23/21
to BigBlueButton-Setup
Hello group,

Could any one help with the documentation of FreeSwitch configuration which is built in bbb. I want to use that FreeSwitch for calling purpose by using the SIP details. I might not wrong that I have seen FreeSwitch has default extensions numbers and password in that. Could any one help me out in this.

Thanks in advance.

Patrick Lemaire

unread,
Apr 23, 2021, 9:17:31 AM4/23/21
to BigBlueButton-Setup
Hi,
I am also interested and I'd like to know what kind of SIP account or provider is needed.
For example, do I have to provide multiple channel for multiple classrooms simultaneously?
Thxs

TeachReo

unread,
Apr 24, 2021, 7:57:56 AM4/24/21
to BigBlueButton-Setup
Hello, 
We use ippi.com for sip connexion I can help you if you need help for configuration. You need to subscribe one phone number and 10 lines for example if you need (want) 10 simultaneous voice connexions.
I going to post my configuration to show you. With explanation 

Regards
Fabrice

Karthik Kumar

unread,
Apr 24, 2021, 8:42:35 AM4/24/21
to bigbluebu...@googlegroups.com
Yes, could you please post your configuration in step by step. 

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-setup/5d0f7b92-524e-4c31-b23f-3435b2dfbe63n%40googlegroups.com.

TeachReo

unread,
Apr 25, 2021, 12:51:36 AM4/25/21
to BigBlueButton-Setup
Hello
This is my configuration with ippi the sip provider

in this file change : /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties (0101010101 is the phone number I subscribed for example, replace it by yours)
defaultDialAccessNumber=0101010101
defaultWelcomeMessageFooter=<br><br>To join this meeting by phone, dial:<br> %
%DIALNUM%%<br>Then enter %%CONFNUM%% as the conference PIN number.

create new file : /opt/freeswitch/conf/sip_profiles/external/ippi.com.xml with this content (replace bold words by yours)
<include>
  <gateway name="ippi.com">
    <param name="proxy" value="sip.ippi.com"/>
    <param name="username" value="IPPI_USERNAME"/>
    <param name="password" value="IPPI_PASSWORD"/>
    <param name="extension" value="0101010101"/>
    <param name="register" value="true"/>
    <param name="context" value="public"/>
  </gateway>
</include>


create another new file : /opt/freeswitch/conf/dialplan/public/ippi.com.xml (replace bold words by yours)
<extension name="from_my_provider">
  <condition field="destination_number" expression="0101010101">
    <action application="start_dtmf" />
    <action application="answer"/>
    <action application="sleep" data="1000"/>
    <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>
<extension name="conf_bad_pin">
 <condition field="${pin}" expression="^\d{5}$">
   <action application="answer"/>
   <action application="sleep" data="1000"/>
   <action application="play_and_get_digits" data="5 5 3 7000 # conference/conf-bad-pin.wav ivr/ivr-that_was_an_invalid_entry.wav pin \d+"/>
   <action application="transfer" data="SEND_TO_CONFERENCE XML public"/>
 </condition>
</extension>

Restart freeswitch service :
sudo systemctl restart freeswitch.service

Restart BBB
sudo bbb-conf --restart

And very important thing open your firewall to allow communication from your provider (replace bold words by yours)
sudo ufw allow proto udp from IPPI_ADRESS_RANGE/24 to any port 5060

Regards
Fabrice

Karthik Kumar

unread,
Apr 26, 2021, 1:23:27 AM4/26/21
to bigbluebu...@googlegroups.com
Thank you.

Let me try this and update you.

To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-setup/a51e538e-3052-4307-b095-aa1d901894e9n%40googlegroups.com.

Karthik Kumar

unread,
Apr 26, 2021, 7:16:05 AM4/26/21
to bigbluebu...@googlegroups.com
I have done with the configuration. But unable to login with extension 1000/1002/1001 in eyebeam dialer.

TeachReo

unread,
Apr 26, 2021, 7:28:56 AM4/26/21
to BigBlueButton-Setup
Hi
could you explain, detail your configuration, sip provider and what you want to do.
Is it possible to post you config files  ?

Regards
Fabrice

Karthik Kumar

unread,
Apr 26, 2021, 8:03:31 AM4/26/21
to bigbluebu...@googlegroups.com
Detail configuration is here:

/opt/freeswitch/conf/sip_profiles/external/indiapri.xml

<include>

  <gateway name="indiapri">
    <param name="username" value="indvici"/>
    <param name="auth-username" value="4433"/>
    <param name="password" value="123456"/>
    <param name="proxy" value="14.98.243.189"/>
    <param name="extension" value="68274979"/>
    <param name="expire-seconds" value="600"/>
    <param name="register" value="false"/>
    <param name="retry-seconds" value="30"/>
    <param name="ping" value="25"/>
 </gateway>

</include>


/opt/freeswitch/conf/dialplan/public/00_inbound_did.xml

<extension name="public_did">

  <condition field="destination_number" expression="68274979">

    <action application="start_dtmf" />
    <action application="answer"/>
    <action application="sleep" data="1000"/>
    <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>

<extension name="conf_bad_pin">
 <condition field="${pin}" expression="^\d{5}$">
   <action application="answer"/>
   <action application="sleep" data="1000"/>
   <action application="play_and_get_digits" data="5 5 3 7000 # conference/conf-bad-pin.wav ivr/ivr-that_was_an_invalid_entry.wav pin \d+"/>
   <action application="transfer" data="SEND_TO_CONFERENCE XML public"/>

 </condition>

</extension>


While I am trying to login using extension 1000 in external dialer with the given sip details unable to logging in:

User extension:1000
password:1234
Domain: 14.98.243.188


Reply all
Reply to author
Forward
0 new messages