Share This Post:

Dynamically Change SIP Account based on area code you are calling

When trying to do your outbound campaigns, you may want the ability to change the trunk used based on the area code that you are calling so that your caller ID looks localized to the person you are calling. The benefits of this are the fact that you can have different SIP Trunks for different places, so one trunk may provide a cheaper and better rate than another one.

Luckily, our Call Center Manager with Rules Engine can accomplish this.

The steps to utilize this feature are outlined below:

*Required: Call Center Manager with Rules Engine

  1. Open Call Center Manager
  2. Go to “Manage”
  3. Go to “Rules Engine” -> “Set Line Usage Rules”

An example rule is as follows: If you are calling a telephone with the area code 408, it will only use channels 1 to 9 to make the call. The first 9 channels have a caller ID associated with 408.

Rule Name:

AreaCode408

Condition:

(__Call__.Phone.length() == 11 && __Call__.Phone.substring(1,4) == '408') || (__Call__.Phone.length() == 10 && __Call__.Phone.substring(0,3) == '408')
Apply to lines:

__Line__.Number < = 10

Explanation:

__Call__.Phone.length() == 11

Will check the length of the telephone number.

__Call__.Phone.substring(1,4) == '408'

Will grab the second, third, and fourth letters of a telephone number. It will ignore the first number which is usually a country code.

Share This Post:

This entry was posted in Call Center Software, Predictive Dialer and tagged , , , , , , , , , , , . Bookmark the permalink.