Bigbluebutton Conference and Freeswitch Dialplan
Hello, I am having issues with adding an extension to my dialplan in order to have users join my bigbluebutton conference via phone. What's happening is, when web-users go into the meeting, they are ALSO being prompted for a pin. I have not found any info specifically for this issue, so I was hoping I could get some suggestions here. Here is my */conf/dialplan/public.xml*: <include> <context name="public"> <extension name="bbb_did_call" continue="true"> <condition field="destination_number" expression=""^myDIDphonenumber$" break="on-false"> <action application="set" data="bbb_authorized=true"/> <action application="answer"/> <action application="sleep" data="1500"/> <action application="play_and_get_digits" data="4 5 3 6000 # conference/conf-pin.wav ivr/ivr-that_was_an_invalid_entry.wav pin \d+ 2000 'NO_PIN XML default'"/> <action application="log" data="INFO The value of pin ${pin}"/> <action application="transfer" data="SEND_TO_CONFERENCE XML default"/> <action application="transfer" data="${destination_number} XML default"/> </condition> </extension> <extension name="unloop"> <condition field="${unroll_loops}" expression="^true$"/> <condition field="${sip_looped_call}" expression="^true$"> <action application="deflect" data="${destination_number}"/> </condition> </extension> <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> <X-PRE-PROCESS cmd="include" data="public/*.xml"/> </context> </include> *And here is my /conf/dialplan/default.xml* <include> <context name="default"> <extension name="phone conference"> <condition field="destination_number" expression="^(SEND_TO_CONFERENCE)$"> <action application="conference" data="${pin}@wideband"/> </condition> </extension> <extension name="unloop"> <condition field="${unroll_loops}" expression="^true$"/> <condition field="${sip_looped_call}" expression="^true$"> <action application="deflect" data="${destination_number}"/> </condition> </extension> <X-PRE-PROCESS cmd="include" data="default/*.xml"/> </context> </include> *Thank you in advance for any ideas. *
Does anyone know of a solution to the above? I cannot understand why when I put the parameters in my public dialplan to handle calls from a DID that the web users are also being prompted for a pin. Please. On Sun, Aug 16, 2015 at 1:55 PM, Mike Weick <mikeweick11@gmail.com> wrote:
Hello, I am having issues with adding an extension to my dialplan in order to have users join my bigbluebutton conference via phone. What's happening is, when web-users go into the meeting, they are ALSO being prompted for a pin. I have not found any info specifically for this issue, so I was hoping I could get some suggestions here.
Here is my */conf/dialplan/public.xml*:
<include>
<context name="public"> <extension name="bbb_did_call" continue="true"> <condition field="destination_number" expression=""^myDIDphonenumber$" break="on-false"> <action application="set" data="bbb_authorized=true"/> <action application="answer"/> <action application="sleep" data="1500"/> <action application="play_and_get_digits" data="4 5 3 6000 # conference/conf-pin.wav ivr/ivr-that_was_an_invalid_entry.wav pin \d+ 2000 'NO_PIN XML default'"/> <action application="log" data="INFO The value of pin ${pin}"/> <action application="transfer" data="SEND_TO_CONFERENCE XML default"/> <action application="transfer" data="${destination_number} XML default"/> </condition> </extension> <extension name="unloop"> <condition field="${unroll_loops}" expression="^true$"/> <condition field="${sip_looped_call}" expression="^true$"> <action application="deflect" data="${destination_number}"/> </condition> </extension> <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> <X-PRE-PROCESS cmd="include" data="public/*.xml"/>
</context> </include>
*And here is my /conf/dialplan/default.xml*
<include> <context name="default"> <extension name="phone conference"> <condition field="destination_number" expression="^(SEND_TO_CONFERENCE)$"> <action application="conference" data="${pin}@wideband"/> </condition> </extension> <extension name="unloop"> <condition field="${unroll_loops}" expression="^true$"/> <condition field="${sip_looped_call}" expression="^true$"> <action application="deflect" data="${destination_number}"/> </condition> </extension>
<X-PRE-PROCESS cmd="include" data="default/*.xml"/>
</context> </include>
*Thank you in advance for any ideas. *
This would only happen if it's getting matched in both scenarios. On Monday, August 17, 2015, Mike Weick <mikeweick11@gmail.com> wrote:
Does anyone know of a solution to the above? I cannot understand why when I put the parameters in my public dialplan to handle calls from a DID that the web users are also being prompted for a pin. Please.
On Sun, Aug 16, 2015 at 1:55 PM, Mike Weick <mikeweick11@gmail.com <javascript:_e(%7B%7D,'cvml','mikeweick11@gmail.com');>> wrote:
Hello, I am having issues with adding an extension to my dialplan in order to have users join my bigbluebutton conference via phone. What's happening is, when web-users go into the meeting, they are ALSO being prompted for a pin. I have not found any info specifically for this issue, so I was hoping I could get some suggestions here.
Here is my */conf/dialplan/public.xml*:
<include>
<context name="public"> <extension name="bbb_did_call" continue="true"> <condition field="destination_number" expression=""^myDIDphonenumber$" break="on-false"> <action application="set" data="bbb_authorized=true"/> <action application="answer"/> <action application="sleep" data="1500"/> <action application="play_and_get_digits" data="4 5 3 6000 # conference/conf-pin.wav ivr/ivr-that_was_an_invalid_entry.wav pin \d+ 2000 'NO_PIN XML default'"/> <action application="log" data="INFO The value of pin ${pin}"/> <action application="transfer" data="SEND_TO_CONFERENCE XML default"/> <action application="transfer" data="${destination_number} XML default"/> </condition> </extension> <extension name="unloop"> <condition field="${unroll_loops}" expression="^true$"/> <condition field="${sip_looped_call}" expression="^true$"> <action application="deflect" data="${destination_number}"/> </condition> </extension> <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> <X-PRE-PROCESS cmd="include" data="public/*.xml"/>
</context> </include>
*And here is my /conf/dialplan/default.xml*
<include> <context name="default"> <extension name="phone conference"> <condition field="destination_number" expression="^(SEND_TO_CONFERENCE)$"> <action application="conference" data="${pin}@wideband"/> </condition> </extension> <extension name="unloop"> <condition field="${unroll_loops}" expression="^true$"/> <condition field="${sip_looped_call}" expression="^true$"> <action application="deflect" data="${destination_number}"/> </condition> </extension>
<X-PRE-PROCESS cmd="include" data="default/*.xml"/>
</context> </include>
*Thank you in advance for any ideas. *
Thank you, Michael. I don't see where I'm having it matching in both scenarios. But is there somewhere else I should look besides in the above files to check? I apologize for my obvious lack of knowledge on this, I'm just learning Freeswitch. On Mon, Aug 17, 2015 at 12:50 AM, Michael Jerris <mike@jerris.com> wrote:
This would only happen if it's getting matched in both scenarios.
On Monday, August 17, 2015, Mike Weick <mikeweick11@gmail.com> wrote:
Does anyone know of a solution to the above? I cannot understand why when I put the parameters in my public dialplan to handle calls from a DID that the web users are also being prompted for a pin. Please.
On Sun, Aug 16, 2015 at 1:55 PM, Mike Weick <mikeweick11@gmail.com> wrote:
Hello, I am having issues with adding an extension to my dialplan in order to have users join my bigbluebutton conference via phone. What's happening is, when web-users go into the meeting, they are ALSO being prompted for a pin. I have not found any info specifically for this issue, so I was hoping I could get some suggestions here.
Here is my */conf/dialplan/public.xml*:
<include>
<context name="public"> <extension name="bbb_did_call" continue="true"> <condition field="destination_number" expression=""^myDIDphonenumber$" break="on-false"> <action application="set" data="bbb_authorized=true"/> <action application="answer"/> <action application="sleep" data="1500"/> <action application="play_and_get_digits" data="4 5 3 6000 # conference/conf-pin.wav ivr/ivr-that_was_an_invalid_entry.wav pin \d+ 2000 'NO_PIN XML default'"/> <action application="log" data="INFO The value of pin ${pin}"/> <action application="transfer" data="SEND_TO_CONFERENCE XML default"/> <action application="transfer" data="${destination_number} XML default"/> </condition> </extension> <extension name="unloop"> <condition field="${unroll_loops}" expression="^true$"/> <condition field="${sip_looped_call}" expression="^true$"> <action application="deflect" data="${destination_number}"/> </condition> </extension> <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> <X-PRE-PROCESS cmd="include" data="public/*.xml"/>
</context> </include>
*And here is my /conf/dialplan/default.xml*
<include> <context name="default"> <extension name="phone conference"> <condition field="destination_number" expression="^(SEND_TO_CONFERENCE)$"> <action application="conference" data="${pin}@wideband"/> </condition> </extension> <extension name="unloop"> <condition field="${unroll_loops}" expression="^true$"/> <condition field="${sip_looped_call}" expression="^true$"> <action application="deflect" data="${destination_number}"/> </condition> </extension>
<X-PRE-PROCESS cmd="include" data="default/*.xml"/>
</context> </include>
*Thank you in advance for any ideas. *
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.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 http://www.freeswitch.org
If you look at the debug log of both calls, you'll see all the condition statements from dial plan and it should tell you why the scenarios are both matching On Monday, August 17, 2015, Mike Weick <mikeweick11@gmail.com> wrote:
Thank you, Michael. I don't see where I'm having it matching in both scenarios. But is there somewhere else I should look besides in the above files to check? I apologize for my obvious lack of knowledge on this, I'm just learning Freeswitch.
On Mon, Aug 17, 2015 at 12:50 AM, Michael Jerris <mike@jerris.com <javascript:_e(%7B%7D,'cvml','mike@jerris.com');>> wrote:
This would only happen if it's getting matched in both scenarios.
On Monday, August 17, 2015, Mike Weick <mikeweick11@gmail.com <javascript:_e(%7B%7D,'cvml','mikeweick11@gmail.com');>> wrote:
Does anyone know of a solution to the above? I cannot understand why when I put the parameters in my public dialplan to handle calls from a DID that the web users are also being prompted for a pin. Please.
On Sun, Aug 16, 2015 at 1:55 PM, Mike Weick <mikeweick11@gmail.com> wrote:
Hello, I am having issues with adding an extension to my dialplan in order to have users join my bigbluebutton conference via phone. What's happening is, when web-users go into the meeting, they are ALSO being prompted for a pin. I have not found any info specifically for this issue, so I was hoping I could get some suggestions here.
Here is my */conf/dialplan/public.xml*:
<include>
<context name="public"> <extension name="bbb_did_call" continue="true"> <condition field="destination_number" expression=""^myDIDphonenumber$" break="on-false"> <action application="set" data="bbb_authorized=true"/> <action application="answer"/> <action application="sleep" data="1500"/> <action application="play_and_get_digits" data="4 5 3 6000 # conference/conf-pin.wav ivr/ivr-that_was_an_invalid_entry.wav pin \d+ 2000 'NO_PIN XML default'"/> <action application="log" data="INFO The value of pin ${pin}"/> <action application="transfer" data="SEND_TO_CONFERENCE XML default"/> <action application="transfer" data="${destination_number} XML default"/> </condition> </extension> <extension name="unloop"> <condition field="${unroll_loops}" expression="^true$"/> <condition field="${sip_looped_call}" expression="^true$"> <action application="deflect" data="${destination_number}"/> </condition> </extension> <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> <X-PRE-PROCESS cmd="include" data="public/*.xml"/>
</context> </include>
*And here is my /conf/dialplan/default.xml*
<include> <context name="default"> <extension name="phone conference"> <condition field="destination_number" expression="^(SEND_TO_CONFERENCE)$"> <action application="conference" data="${pin}@wideband"/> </condition> </extension> <extension name="unloop"> <condition field="${unroll_loops}" expression="^true$"/> <condition field="${sip_looped_call}" expression="^true$"> <action application="deflect" data="${destination_number}"/> </condition> </extension>
<X-PRE-PROCESS cmd="include" data="default/*.xml"/>
</context> </include>
*Thank you in advance for any ideas. *
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <javascript:_e(%7B%7D,'cvml','consulting@freeswitch.org');> http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <javascript:_e(%7B%7D,'cvml','FreeSWITCH-users@lists.freeswitch.org');> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Don't use a pin for the conference itself, just use an ivr, otherwise you have to enter it twice. I think this is standard behavior. Mike Weick <mikeweick11@gmail.com> wrote:
Does anyone know of a solution to the above? I cannot understand why when I put the parameters in my public dialplan to handle calls from a DID that the web users are also being prompted for a pin. Please.
On Sun, Aug 16, 2015 at 1:55 PM, Mike Weick <mikeweick11@gmail.com> wrote:
Hello, I am having issues with adding an extension to my dialplan in order to have users join my bigbluebutton conference via phone. What's happening is, when web-users go into the meeting, they are ALSO being prompted for a pin. I have not found any info specifically for this issue, so I was hoping I could get some suggestions here.
Here is my */conf/dialplan/public.xml*:
<include>
<context name="public"> <extension name="bbb_did_call" continue="true"> <condition field="destination_number" expression=""^myDIDphonenumber$" break="on-false"> <action application="set" data="bbb_authorized=true"/> <action application="answer"/> <action application="sleep" data="1500"/> <action application="play_and_get_digits" data="4 5 3 6000 # conference/conf-pin.wav ivr/ivr-that_was_an_invalid_entry.wav pin \d+ 2000 'NO_PIN XML default'"/> <action application="log" data="INFO The value of pin ${pin}"/> <action application="transfer" data="SEND_TO_CONFERENCE XML default"/> <action application="transfer" data="${destination_number} XML default"/> </condition> </extension> <extension name="unloop"> <condition field="${unroll_loops}" expression="^true$"/> <condition field="${sip_looped_call}" expression="^true$"> <action application="deflect" data="${destination_number}"/> </condition> </extension> <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> <X-PRE-PROCESS cmd="include" data="public/*.xml"/>
</context> </include>
*And here is my /conf/dialplan/default.xml*
<include> <context name="default"> <extension name="phone conference"> <condition field="destination_number" expression="^(SEND_TO_CONFERENCE)$"> <action application="conference" data="${pin}@wideband"/> </condition> </extension> <extension name="unloop"> <condition field="${unroll_loops}" expression="^true$"/> <condition field="${sip_looped_call}" expression="^true$"> <action application="deflect" data="${destination_number}"/> </condition> </extension>
<X-PRE-PROCESS cmd="include" data="default/*.xml"/>
</context> </include>
*Thank you in advance for any ideas. *
---------------------------------------------------- Alternatives:
---------------------------------------------------- _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.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 http://www.freeswitch.org -- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici covici@ccs.covici.com
participants (3)
-
covici@ccs.covici.com
-
Michael Jerris
-
Mike Weick