$svkdialplan.callerexists
Meaning:
The callerexists function will validate the calling account to see if it exists in the RadiusCat Billing. This function will return 'true' or 'false' indicating whether or not the account exists.
Dial Plan Syntax:
Matching Pattern
----------------
$request=^INVITE
$svkdialplan.callerexists=true
Deploy Pattern
--------------
$auth=false
To=sip:2224@localhost:15060
Purpose:
The callerexists function allows you to provide a better user expirence to your customers.
For example:
When a caller makes a call to an invalid account 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 or account. At this point the caller does not know exaclty what is wrong with the call or account and will have to email or call your customer service to enquire.
The callerexists function will alow you to identify a call from an invalid account and play a pre-recorded message back to to the caller telling him/her that the his/her account is invalid, like the following "I am sorry, the account you are calling from is not valid. Please contact customners service at 18xxx xxx xxxx".
In the Dial Plan Syntax above the caller is redirected to the Brekeke PBX extension '2224' which plays the pre-recorded message the caller then hangs up.
http://www.svkwiki.com/wiki/$svkdialplan-calleeexists

