Created
June 11, 2019 18:30
-
-
Save toraritte/3ee3c12a02f68def4ee56bcde7d4785f to your computer and use it in GitHub Desktop.
Whitelist registered numbers only (naive try)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<extension name="SignalWire CONNECTORS incoming call"> | |
<!-- the number you assigned in your SignalWire dashboard --> | |
<condition field="destination_number" expression="^(\+15550123456)$"/> | |
<condition field="ani" expression="^(\+15557891011)$"> | |
<!-- <condition field="ani" expression="^(\+15551213141)$"> --> | |
<action application="answer"/> | |
<action application="ivr" data="demo_ivr"/> | |
</condition> | |
</extension> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment