Close
Notification:  
v2.4.41 Professional
Login
Loading

 

$svkdialplan.callerexpired

Meaning:

The callerexpired function will validate the caller (calling account number) to see if the callers account exist in the RadiusCat Billing and also if the account has expired. This function will return 'true' or 'false' indicating whether or not the account has expired. 

 Dial Plan Syntax:

Matching Pattern
----------------
$request=^INVITE
$svkdialplan.callerexpired=true

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

Purpose:

The callerexpired function allows you to provide a better user experience to your customers. 

For example:

When a customer makes a call using an expired account the customers will hear a fast bussy tone (or some other tone), indicating to the custoner that something is wrong with his/her account. At this point the customer does not know exaclty what is wrong witht he account and will have to email or call customer service to enquire on the account.

The callerexpired function will alow you to identify an expired account and play a pre-recorded message back to to the caller telling him/her that the account is not able to make a call becuase the account has expired, like the following "I am sorry, you are not able to make this call becuase your account has expired. Please call 18xxx xxx xxxx to renew your account".

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

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