Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Modifying a "User Variable" via a Short Code

Status
Not open for further replies.

DynamicTech

Vendor
Aug 23, 2010
7
AU
I have been asked to set up an after hours call service in VM Pro which requires setting a mobile number to call.

I have created the call flow that calls a mobile number set in a User Variable and all is working to plan however (there is always a however)...

Two issues now present themselves.

1. Is there a way of setting the AlphaNumeric Collection option to only use Numeric or am I stuck with the sequence of say PQRS7 - so laborous just to get the number 7.

2. Is there a way of setting a User Variable from a Short Code? I thought of something lime *80*number# and using Voicemail Collect to action a module to set the User Variable however I cannot see how to transfer the number to the module.

Any assistance would be greatly appreciated.
 
Use a autoattendant with the $ option.
You can store userinput from $KEY to a user variable with the generic action.
Read the VM Pro help.

This may work as a shortcode
Shortcode:
SC = *80*N;
TN = "modulename"DN
Action = Voicamailcollect
 
how many different numbers are there? i did this recently and there is a good way to do it, as long as the numbers don't change very often. by change very often, i mean you can change the routing easily and frequently, but it does require you to pre program the list of mobile numbers.

ACSS-SME
fo shizzle ma nizzle.
 
Thanks for the pointers/suggestions.

TomMills - The numbers are not fixed. Any phone number could be placed in the user variable so having a list of choices is not an option.

hairlessupportmonkey - I have created a really cool VM Pro module that the user can use to dial in and set the user variable whenever they like (and it speaks it back to them too). The issue is that the use of VM Pro for this task is cumbersome because (dare I say it) the Alphanumeric Collection is taxing for the user. A short code is ideal for use in the office.

intrigrant - your short code is similar to what I attempted in my example. Problem is that Manager deletes the leading speech mark and the link falls over.

Can anyone else suggest a way to insert a number into a VM Pro user variable via a short code in Manager?
 
Dynamictech, change the shortcode and the module.

First copy everything in the module and move it to "shortcodes"

Then change the shortcode to voicemail node.
Then you only need to use the name of the module (read shortcode in vmpro)

Only then the DN probably does not work.

You could try using a generic action in it with $KEY and then a variable routing in it with the number you want to change (you have entered that in the generic action/$KEY)


Homo sapiens non urinat in ventum

honey, i fried the IP Office !!!

Sarcasm, it's only one of the services I offer.
 
Module (Set_Oncall) has a start point and a single object - Set User Variable. The variable is called "OnCallMobile" and the value is $KEY.

The short code needs to send a mobile number to the module.

SC = *80*N;
Feature = Voicemail Collect (or Voicemail Node)
TN = "Set_Oncall"

TN will not allow anything else other than what is inside the "".

You are right tlpeter, DN does not work as per my comment previously with the dropping speech mark.

The desire is to place N (the oncall number) into the $KEY system variable so that it ends up in "OnCallMobile". It is looking like it can't be done.
 
If you move the module to the shortcode section in vmpro (on the same place as users and groups) then you can use voicemail node.
The voicemail node does not need quotes ("")
But the voicemail node does not work with the section modules.

You can do both ways but voicemail collect doe snot work so try voicemail node.


Homo sapiens non urinat in ventum

honey, i fried the IP Office !!!

Sarcasm, it's only one of the services I offer.
 
I have tried them both. Same result. N does not transfer over as $KEY.

Not my night it seems.

Any other ideas?
 
You cannot use the N.
You need to enter it in the module.


Homo sapiens non urinat in ventum

honey, i fried the IP Office !!!

Sarcasm, it's only one of the services I offer.
 
Thanks tlpeter.

What is the simplist way of entering a 10 digit number within a module? Everything I have tried becomes very complex.
 
Ignore my last ramblings - I have now got it working perfectly... Clean forgot about the Menu command and entering my own collection length using ??????????.

That's what happens when you get to complex and miss the obvious.

Thanks for everyones help.
 
:) Good you have it working.
I have it all the time that i am trying thing the difficult way.
I am in it so much that i forget the simple way.


Homo sapiens non urinat in ventum

honey, i fried the IP Office !!!

Sarcasm, it's only one of the services I offer.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top