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