BBB session still took the original phone number or caller id.Thanks,JES
--
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/7ffcddc8-2f79-49fb-a8ba-c8fa09d9b116%40googlegroups.com.
Hi,
On Thu, Dec 5, 2019 at 6:16 PM James MacLean <macl...@gmail.com> wrote:Callers via phone enter the BBB session with their phone number or caller ID.Is it possible to not have this information get to BBB sessions? We have students that we offer anonymous help to, but, if we enable the phone in option, they will have their phone number registered and recorded in the session.I've tried using set and export in the dialplan check_if_conference_active extension with variables including:<action application="export" data="caller_id_number=1000"/><action application="export" data="caller_id_name=Student"/><action application="export" data="username=Student2"/><action application="export" data="user_name=Student3"/><action application="export" data="effective_caller_id_name=Student4"/><action application="export" data="effective_caller_id_number=1001"/><action application="export" data="origination_privacy=hide_name:hide_number"/><action application="export" data="privacy_hide_name=true"/><action application="export" data="privacy_hide_number=true"/>Try this.Richard
--BBB session still took the original phone number or caller id.Thanks,JES
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 bigblueb...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-dev/7ffcddc8-2f79-49fb-a8ba-c8fa09d9b116%40googlegroups.com.
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/a9303ee0-5659-4a4b-9e15-ed046be826f5%40googlegroups.com.
You can also try using lua to setup your dialplan instead of the xml. You modify the callerid on the script.We use xml_curl to handle dial-in users where we xhange the last few digits to xxxx.
# Do caller ID phone number masking | |
cid_name = params['Caller-Caller-ID-Name'] | |
cid_hide_name = params['Caller-Privacy-Hide-Name'] | |
cid_hide_number = params['Caller-Privacy-Hide-Number'] | |
if cid_name.present? | |
if /^\d+$/.match?(cid_name) # It's actually a number | |
if cid_hide_number.blank? || (cid_hide_number != 'true') | |
masked_number = cid_name[0..-5] | |
masked_number += 'X' * (cid_name.length - masked_number.length) if masked_number.length < cid_name.length # rubocop:disable BlockNesting, LineLength | |
@caller_id = masked_number | |
end | |
elsif cid_hide_name.blank? || (cid_hide_name != 'true') | |
@caller_id = cid_name | |
end | |
end | |
@caller_id = 'Unavailable' if @caller_id.blank? | |
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-dev/a9303ee0-5659-4a4b-9e15-ed046be826f5%40googlegroups.com.
Hi Richard,May I ask if you also make your conference call from ruby, or do you return back to the XML and let it occur there?I am asking as I am starting to think it might work if it all happens within the scripting. I have a python IVR frontend but it hands back to XML. If yours works withing Ruby then it would be worth the time for me to try it there.
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/05817ccf-bc25-41d7-aea3-12c7ae93a445%40googlegroups.com.
Here is some code to mask a telephone number all in the dialplan logic.
This takes the number and only shows the last 4 digits, so xxx-xxx-3963, its for 10 digit us/can numbers but can be adapted for any number.
Bash is your friend 😊
Add the 2 bolded lines below to public dialplan block right before the transfer action.
Then at shell to reload changes
/opt/freeswitch/bin/fs_cli -x "reloadxml"
<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="set" data="MASK=${system echo ${caller_id_name} | grep -o -P '.{0,4}$' | sed 's/^/xxx-xxx-/' }"/>
<action application="set_profile_var" data="caller_id_name=${MASK}"/>
<action application="transfer" data="SEND_TO_CONFERENCE XML public"/>
Let me know if you have issues.
Regards,
Stephen