- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
VB Shell
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-28-2009 11:09 AM
I'm trying to assign toll free numbers to about 50 phone numbers...so someone can call directly via a toll free number.
Without building 50 different scripts to TRANSFER each call should I use a VB Shell to accomplish this? if so, how.
I've used VB Shell before but someone set it up for me and I've mimicked it to make the changes I need.
thanks,
brad
Re: VB Shell
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-28-2009 11:19 AM
Why not just have one script that all the toll frees point to with a case statement on the DNIS to determine what number the caller should be transfered to? Tho that solution is not very maintainable.
If you have a database, I would suggest storing the toll free/transfer numbers in there and using a SELECT to get the ph# for TRANSFER (eg, SELECT transfer_number FROM call_transfer WHERE toll_free={DNIS})
IT Operations Manager
Healthy Habits, LLC
http://malthusian-solutions.com
http://nirdvana.com
Re: VB Shell
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-28-2009 11:36 AM
For VB Shell, the syntax should look something like this:
DNIS = P1
Select Case DNIS
Case "8664551234"
NumToDial = "8015552266"
Case "8664551235"
NumToDial = "8015552267"
Case Else
NumToDial = "8015552270"
End Select
Assign "NumToDial ", NumToDial
You will pass the variable {DNIS} into the VBSHELL action as P1. Based on what you value you pass in, you will get variable passed out as NumToDial.
Re: VB Shell
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-28-2009 11:44 AM
Yes. but why use a VBSHELL case at all? There's already a case statement in inContact's scripting language.
IT Operations Manager
Healthy Habits, LLC
http://malthusian-solutions.com
http://nirdvana.com
Re: VB Shell
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-29-2009 02:05 PM
Matter of preference, to me the shell would be easier to maintain, you could more easily search for a number
Re: VB Shell
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-29-2009 03:05 PM
The other big reason is script readability. If you have 50 branch conditions coming off of a CASE action, it tends to make the script less readable.


