20 lines
1.0 KiB
XML
20 lines
1.0 KiB
XML
<extension name="from_my_provider">
|
|
<condition field="destination_number" expression="^12345">
|
|
<action application="answer"/>
|
|
<action application="sleep" data="1000"/>
|
|
<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+"/>
|
|
|
|
<!-- 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`. -->
|
|
<action application="set_profile_var" data="caller_id_name=${regex(${caller_id_name}|^.*(.{4})$|xxx-xxx-%1)}"/>
|
|
|
|
<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> |