Adding comments to FreeSWITCH dialplan extensions

This commit is contained in:
DanB
2013-03-31 17:56:40 +02:00
parent f0eb970943
commit fb1bfda2cc

View File

@@ -1,14 +1,15 @@
<!--
CGRateS config sample.
Add the bellow defined extensions to your own context before bridge application,
ignoring include and context defined here.
Add the bellow defined extensions to your own context before bridge application.
Ignore include and context defined here for the sake of avoiding errors if directly included in FreeSWITCH dialplan folder.
-->
<include>
<context name="cgrates">
<!-- Place all prepaid requests into park app. Notify must be empty so we do not loop. -->
<extension name="CGRateS_AuthPrepaid">
<condition field="${cgr_reqtype}" expression="^prepaid$" />
<condition field="${cgr_notify}" expression="^$">
@@ -16,6 +17,7 @@ ignoring include and context defined here.
</condition>
</extension>
<!-- In case of CGRateS returning INSUFFICIENT_FUNDS, play the message (if recorded) and disconnect the call with 403. -->
<extension name="CGRateS_AuthForbidden">
<condition field="${cgr_reqtype}" expression="prepaid" />
<condition field="${cgr_notify}" expression="^-INSUFFICIENT_FUNDS$">
@@ -24,6 +26,7 @@ ignoring include and context defined here.
</condition>
</extension>
<!-- In case of CGRateS returning SYSTEM_ERROR, disconnect the call so we do not risk prepaid calls going out. -->
<extension name="CGRateS_Error">
<condition field="${cgr_reqtype}" expression="^prepaid$" />
<condition field="${cgr_notify}" expression="^-SYSTEM_ERROR$">