Close
Notification:  
v2.4.41 Professional
Login
Loading

 

$svkdialplan.callerdisabled

Meaning:

The callerdisabled function will validate the callers account to see if it exists in the RadiusCat Billing and also if the 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.callerdisabled=true

Deploy Pattern
--------------
$auth=false
To=sip:2225@localhost:15060

Purpose:

The callerdisabled function allows you to provide a better user expirence to your customers. 

For example:

When a caller makes a call from 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 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 callerdisabled 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 their account is disabled, like the following "I am sorry, your account is currently disabled. Please call cusotmer servive at 18xxx xxx xxxx".

In the Dial Plan Syntax above the caller is redirected to the Brekeke PBX extension '2225' which plays the pre-recorded message the caller then hangs up.

http://www.svkwiki.com/wiki/$svkdialplan-calleedisabaled