Audio Conference Bridge

133 views
Skip to first unread message

b brainaly

unread,
Nov 28, 2022, 12:57:03 AM11/28/22
to BigBlueButton-dev

Hello I try to audio call conference but its not working. I do like that
<include>
<gateway name="Callcentric">
<param name="proxy" value="www.callcentric.com"/>
<param name="username" value="PROVIDER-ACCOUNT"/> //Put my own
<param name="password" value="PROVIDER-PASSWORD"/> //Put my own
<param name="extension" value="1-777-839-0586"/>
<param name="register" value="true"/>
<param name="context" value="public"/>
</gateway>
</include>

//Creating a Dial Plan
<extension name="from_my_provider">
<condition field="destination_number" expression="1-777-839-0586">
<action application="start_dtmf" />
<action application="answer"/>
<action application="sleep" data="1000"/>
<action application="play_and_get_digits" data="5 7 3 30000 # 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>

//After this I add bigbluebutton.properties
defaultDialAccessNumber=1-777-839-0586

i add firewall with port 

After this i restart bigbluebutton

I called the number several times throughout the day. However it did not connect. Instead I get the message "the number you are trying to reach is unavailable"

Something wrong then tell me

sd...@distancelearning.cloud

unread,
Nov 28, 2022, 4:35:20 AM11/28/22
to bigblueb...@googlegroups.com

Look in freeswitch fs_cli to see if you successfully registered to call centric.

If is does register, then you can dial the number and should see the incoming call in the dial plan and why it’s not matching.

 

Its also possible to just connect by IP routing with a lot of providers, no need to have your BBB server register.

 

Regards,

Stephen

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-dev/53abefc0-724d-466e-b022-8a8ced681a9bn%40googlegroups.com. 

b brainaly

unread,
Nov 28, 2022, 5:02:37 AM11/28/22
to bigblueb...@googlegroups.com
Ok, Here is mandatory to add number and pin in footer?
and set defaultWelcomeMessageFooter to
defaultWelcomeMessageFooter=<br><br>To join this meeting by phone, dial:<br>  %%DIALNUM%%<br>Then enter %%CONFNUM%%# as the conference PIN number.

sd...@distancelearning.cloud

unread,
Nov 28, 2022, 7:11:25 AM11/28/22
to bigblueb...@googlegroups.com

That’s not mandatory if you don’t want to expose to all users.    If you are writing your own front end you can set the pin on create call, and then give only the users that want to call in the pin in advance.

b brainaly

unread,
Nov 28, 2022, 8:02:43 AM11/28/22
to bigblueb...@googlegroups.com

sd...@distancelearning.cloud

unread,
Nov 28, 2022, 3:54:27 PM11/28/22
to bigblueb...@googlegroups.com

https://docs.bigbluebutton.org/dev/api.html#create

 

if you are  writing your own front end integration, you can pass the dialnumber and the voicebridge on the create call.  See docs above.

Krishna Kumar

unread,
Nov 29, 2022, 12:22:54 AM11/29/22
to bigblueb...@googlegroups.com
Hi brainaly,

If you use frontend  is greenlight. It will be implemented very easily.

Steps for creation:
1. define pin number variable in en.yml file.
2. create a database field for pin numbers at the rooms table.
3. create a text field for pin number.
4. you can add your code to create a room action file and validate the pin number as number and store it in the database rooms table.
(it will similar to accesscode implementation)
5. If you Start the room with a pin number,
get the pin number from the rooms table and store it voicebridge variable in the bigbluebutton api call from the frontend code.


Thanks,
Krishnakumar




b brainaly

unread,
Nov 29, 2022, 12:30:56 AM11/29/22
to bigblueb...@googlegroups.com
Thanks, I was reading the docs then I saw in my bigbluebutton.properties.
# Default number of digits for voice conference users joining through the PSTN.
defaultNumDigitsForTelVoice=5 //By default

# Test voiceBridge number
testVoiceBridge=99999 //By default

So what to change on its own?

# Default dial access number
defaultDialAccessNumber=613-555-1234 //By default
defaultDialAccessNumber=1-708-310-4432 //Change


After i used
iptables -I INPUT  -p udp --dport 5060 -s 64.2.142.33 -j ACCEPT


But its not working

On Tue, Nov 29, 2022 at 2:24 AM <sd...@distancelearning.cloud> wrote:

b brainaly

unread,
Nov 29, 2022, 12:38:22 AM11/29/22
to bigblueb...@googlegroups.com
Hello Krishna Kumar 
I don't use a room with a pin number. I need pin for audio call conference

Thanks,
Brainaly

Santosh Kumar

unread,
Nov 29, 2022, 1:11:32 AM11/29/22
to BigBlueButton-dev
Hello Guys, I am also facing same problem. Call is not connected. I tried fs_cli command but gives error
root@ip-172-31-83-197:/opt/freeswitch# fs_cli
fs_cli: command not found

sd...@distancelearning.cloud

unread,
Nov 29, 2022, 5:30:15 AM11/29/22
to bigblueb...@googlegroups.com

Your freeswitch is configured with a password.  The command is like this.

 

/opt/freeswitch/bin/fs_cli -p d425b194583d4fbe

 

You replace the password above with yours which can be found at

 

cat /opt/freeswitch/conf/autoload_configs/event_socket.conf.xml

<?xml version="1.0"?>

<configuration name="event_socket.conf" description="Socket Client">

  <settings>

    <param name="nat-map" value="false"/>

    <param name="listen-ip" value="::"/>

    <param name="listen-port" value="8021"/>

    <param name="password" value="d425b194583d4fbe"/>

    <!--<param name="apply-inbound-acl" value="loopback.auto"/>-->

    <!--<param name="stop-on-bind-error" value="true"/>-->

  </settings>

</configuration>

 

You will need to read the documentation on Freeswitch to better understand this. Or contact one of the commercial providers  https://bigbluebutton.org/commercial-support/ if its critical for you to get this working.

 

Regards,

Stephen

Santosh Kumar

unread,
Nov 30, 2022, 4:42:57 AM11/30/22
to bigblueb...@googlegroups.com
Hello Sdame,
I tried those commands. Please tell me if it is correct or not. 
Please find attachment below




Screenshot from 2022-11-30 15-03-50.png
Screenshot from 2022-11-30 15-03-50.png
Message has been deleted

Santosh Kumar

unread,
Nov 30, 2022, 4:53:15 AM11/30/22
to BigBlueButton-dev
Its come look like see attachment
Screenshot from 2022-11-30 15-22-17.png

sd...@distancelearning.cloud

unread,
Nov 30, 2022, 7:28:47 AM11/30/22
to bigblueb...@googlegroups.com

So your not successfully registering to call centric. 

 

This information is not correct.   Ask call centric for an example of freeswitch config.  I think proxy, and extension values are probably incorrect if I had to guess.

 

When its right, you will successful registration in fs_cli console.

 

<gateway name="Callcentric">

<param name="proxy" value="www.callcentric.com"/>

<param name="username" value="PROVIDER-ACCOUNT"/> //Put my own

<param name="password" value="PROVIDER-PASSWORD"/> //Put my own

<param name="extension" value="1-777-839-0586"/>

<param name="register" value="true"/>

<param name="context" value="public"/>

Regards,

Santosh Kumar

unread,
Nov 30, 2022, 7:46:20 AM11/30/22
to bigblueb...@googlegroups.com
Actually i have changed this

<gateway name="Callcentric">

<param name="proxy" value="sip.callcentric.net"/> //chnage

<param name="username" value="PROVIDER-ACCOUNT"/> //Put my own

<param name="password" value="PROVIDER-PASSWORD"/> //Put my own

<param name="extension" value="1-777-839-0586"/>

<param name="register" value="true"/>

<param name="context" value="public"/>


After this i run this command 

/opt/freeswitch/bin/fs_cli -p d425b194583d4fbe //


I attached a screenshot. Is it working now?




Screenshot from 2022-11-30 18-13-29.png

sd...@distancelearning.cloud

unread,
Nov 30, 2022, 7:54:00 AM11/30/22
to bigblueb...@googlegroups.com

Looks like it registered   fs_cli > sofia status  will give you more info.

 

Now call the number and watch the console.   Should see the console display on a call.

 

Also   port 5060 needs to be restricted to all IPS, except the call centric IP that their switch is using.  They will provide list.

If its wide open you will see looks of sip traffic trying to use your callcentric call to make long distance spam.

Possibly cost you a bunch of money 😊

Santosh Kumar

unread,
Nov 30, 2022, 8:05:48 AM11/30/22
to BigBlueButton-dev
Yes I try sofia status then i get
Screenshot from 2022-11-30 18-31-31.png

Santosh Kumar

unread,
Dec 3, 2022, 12:31:52 AM12/3/22
to BigBlueButton-dev
Hey , i have tried the audio conference call, and when it is connected i got a message to enter pin but after entering the pin the call got disconnected suddenly . So, what can be the reason behind this and how can this be resolved.Thanks. 

sd...@distancelearning.cloud

unread,
Dec 3, 2022, 5:59:00 AM12/3/22
to bigblueb...@googlegroups.com

You need to paste the dial plan, and the fs_log .    basically you will see the dialplan expressions, looks like the pin is not matching.

 

Exact reason in logs.

 

Depending on what dialplan code you have,  you may need to make sure one bbb user is in webrtc audio before it allows a telephone user to connect.  That’s coded in some examples.

Santosh Kumar

unread,
Dec 3, 2022, 6:37:14 AM12/3/22
to bigblueb...@googlegroups.com
Thanks, I have create dial plan like that

//Creating a Dial Plan
<extension name="from_my_provider">
<condition field="destination_number" expression="1-777-839-0586">
<action application="start_dtmf" />
<action application="answer"/>
<action application="sleep" data="1000"/>
<action application="play_and_get_digits" data="5 7 3 30000 # 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>
I don't know what my dialplan code is. Could you help me with that?


sd...@distancelearning.cloud

unread,
Dec 3, 2022, 6:56:09 AM12/3/22
to bigblueb...@googlegroups.com

<extension name="check_if_conference_active">

<condition field="${conference ${pin} list}" expression="/sofia/g" />

 

This means at least 1 user needs to have joined audio with webbrowser for pin to work 😊

Santosh Kumar

unread,
Dec 3, 2022, 8:01:37 AM12/3/22
to bigblueb...@googlegroups.com
Thanks, 
Does it mean a minimum 2 users mandatory to join an audio call conference ?
It's By Default pin 12345 ? 
where i can see my pin or set pin
Any docs to set my pin to join the audio call ?


sd...@distancelearning.cloud

unread,
Dec 3, 2022, 8:22:46 AM12/3/22
to bigblueb...@googlegroups.com

The pin is the voicebridge number that your front end is sending on the “create call” .

 

At this to bigbluebutton.properties and restart bbb. 

Will show you what the pin should be.

defaultWelcomeMessageFooter=<br><br>To join this meeting by phone, dial:<br>  %%DIALNUM%%<br>Then enter %%CONFNUM%%# as the conference PIN number

 

 

Santosh Kumar

unread,
Dec 5, 2022, 1:19:10 AM12/5/22
to BigBlueButton-dev

Hello, Thanks for the information.

I don't understand (The pin is the voicebridge number that your front end is sending on the “create call” .)

I have checked in my  bigbluebutton.properties
defaultWelcomeMessageFooter=This server is running <a href="https://brainaly.com/" target="_blank"><u>Brainaly</u></a>.

Here is no pin option.

sd...@distancelearning.cloud

unread,
Dec 5, 2022, 6:06:54 AM12/5/22
to bigblueb...@googlegroups.com

If you add this to welcome, it will show you what the meetings voicebridge is, which is the pin,

To join this meeting by phone, dial:<br>  %%DIALNUM%%<br>Then enter %%CONFNUM%%#

 

The %%DIALNUM%% comes from telephone number you added in bigbluebutton.properties

 

Bbb creates a random one,  unless the front end (Moodle, Greenlight, your own code etc) sends in the voice bridge number on the create call.

Santosh Kumar

unread,
Dec 5, 2022, 7:22:30 AM12/5/22
to BigBlueButton-dev
Thanks,
you mean i have to edit DDL Number in bigbluebutton.properties
defaultWelcomeMessageFooter=<br><br>To join this meeting by phone, dial:<br>  %%1-777-839-0586"%%<br>Then enter %%CONFNUM%%# as the conference PIN number

Then restart the bbb. 
So when i call, it will generate the pin number in bigbluebutton.properties and then i will confirm it from the respective file. Is it correct ? Also will the similar pin is used in every call or it will generate different pin every time? 

Santosh Kumar

unread,
Dec 7, 2022, 2:18:52 AM12/7/22
to BigBlueButton-dev
Hey Could you please help me. I need it urgently to complete my project.

sd...@distancelearning.cloud

unread,
Dec 7, 2022, 6:27:23 AM12/7/22
to bigblueb...@googlegroups.com

Santosh

 

The pin is different every time and unknown to user unless you modify the front end software to pass a fixed voicebridge number.

 

Looks like you’re a commercial developer trying to finish a project 😊 in the bigbluebutton-dev group.  I’ve responded 10 times to this post.

 

The answer to your last question… Just try it and see what happens.. Quicker than to just ask.

 

Setup questions should be asked in bigbluebutton-setup.

 

Also, if its time urgent try getting commercial support https://bigbluebutton.org/commercial-support/

Santosh Kumar

unread,
Dec 8, 2022, 12:08:14 AM12/8/22
to BigBlueButton-dev
DistanceLearning

Its working fine now 😊😊. 
Thanks a lot for your all efforts.
Reply all
Reply to author
Forward
0 new messages