Merge pull request #18292 from wilkis3/wilkis3-doc-customize-freeswitch

docs: Update Freeswitch Documentation: Nine Numbers PIN
This commit is contained in:
Anton Georgiev 2024-03-07 14:35:55 -05:00 committed by GitHub
commit 2fa1161326
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -863,7 +863,7 @@ To create the dialplan, use the XML below and save it to `/opt/freeswitch/conf/d
<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="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. -->
<!-- Instead of `01711233121` it will then show `xxx-xxx-3121`. -->
@ -886,7 +886,7 @@ To create the dialplan, use the XML below and save it to `/opt/freeswitch/conf/d
<condition field="${pin}" expression="^\d{5}$">
<action application="answer"/>
<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"/>
</condition>
</extension>