$svkdialplan.calleedisabled
Meaning:
The calleedisabled function will validate the called number to see if it exists in the RadiusCat Billing and also if its account is disabled. This function will return 'true' or 'false' indicating whether or not the account is disabled.
Dial Plan Syntax:
Matching Pattern
----------------
$request=^INVITE
$svkdialplan.calleedisabled=true
Deploy Pattern
--------------
$auth=false
To=sip:2223@localhost:15060
Purpose:
The calleedisabled function allows you to provide a better user expirence to your customers.
For example:
When a caller makes a call to a disabled account the caller will hear a fast busy tone (or some other tone), indicating to the caller that something is wrong with his/her call. At this point the caller does not know exaclty what is wrong with the call and will have to email or call your customer service to enquire.
The calleedisabled function will alow you to identify a call to a disabled account and play a pre-recorded message back to the caller telling him/her that the number he/she is calling is temporarily unavailable, like the following "I am sorry, the number you are calling is temporarily unavailable. Please try your call again later".
In the Dial Plan Syntax above the caller is redirected to the Brekeke PBX extension '2223' which plays the pre-recorded message the caller then hangs up.
http://www.svkwiki.com/wiki/$svkdialplan-calleedisabaled

