Merge pull request #19760 from antobinary/docs-march-07

docs: Update FreeSWITCH configs - Nine digits PIN
This commit is contained in:
Anton Georgiev 2024-03-07 14:39:12 -05:00 committed by GitHub
commit 2fec7076b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -868,7 +868,7 @@ To create the dialplan, use the XML below and save it to `/opt/freeswitch/conf/d
<action application="start_dtmf" /> <action application="start_dtmf" />
<action application="answer"/> <action application="answer"/>
<action application="sleep" data="1000"/> <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="play_and_get_digits" data="9 9 3 30000 # conference/conf-pin.wav ivr/ivr-that_was_an_invalid_entry.wav pin \d+"/>
<!-- Uncomment the following block if you want to mask the phone number in the list of participants. --> <!-- Uncomment the following block if you want to mask the phone number in the list of participants. -->
<!-- Instead of `01711233121` it will then show `xxx-xxx-3121`. --> <!-- Instead of `01711233121` it will then show `xxx-xxx-3121`. -->
@ -891,7 +891,7 @@ To create the dialplan, use the XML below and save it to `/opt/freeswitch/conf/d
<condition field="${pin}" expression="^\d{5}$"> <condition field="${pin}" expression="^\d{5}$">
<action application="answer"/> <action application="answer"/>
<action application="sleep" data="1000"/> <action application="sleep" data="1000"/>
<action application="play_and_get_digits" data="5 7 3 30000 # conference/conf-bad-pin.wav ivr/ivr-that_was_an_invalid_entry.wav pin \d+"/> <action application="play_and_get_digits" data="9 9 3 30000 # conference/conf-bad-pin.wav ivr/ivr-that_was_an_invalid_entry.wav pin \d+"/>
<action application="transfer" data="SEND_TO_CONFERENCE XML public"/> <action application="transfer" data="SEND_TO_CONFERENCE XML public"/>
</condition> </condition>
</extension> </extension>