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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VMPro Route call by user defined variable 4

Status
Not open for further replies.

lanexpert

Technical User
May 5, 2009
14
CH
Hi there,

I am looking for a solution how to forward a call to a number stored in a "user defined" Variable.

Let's say I call my variable FwdNumber.

I already created a module for the customer to set this variable by typing it.

My variable has the right value.

I just don't find a way to use this variable.

I first hoped that something like CP0:$FwdNumber in a generic action would work but it doesn't looks like.

By the way, I will have several different Forward number.

Thanks in advance

 
$CP0 will remember the extension you want
$KEY will remember the digits you want it have for the forwarding


RTFM.gif



ACS - Implement IP Office
ACA - Implement IP Telephony -- ACA - Design IP Telephony
ACA - Voice Services Management
______________
Women and cats can do as they please and men and dogs should relax and get used to the idea!
 
Thx,

I used them to set the User defined in one call flow.


Now I have the phone number stored in a user defined variable.

The problem is I want to use this value in another call flow.

But in a transfert call action. You can only use the system variable, $CPx $KEY.

Regards,
 
The problem is the $CP values are only held as long as the call is in that call flow, if it transfers out of that call flow the value is lost. Why are they setting the forward number in this way? Did you know you can set the forwarding number for a user/dummy user from within a call flow by doing the following:

Dummy extension 200

1) In Voicemail Pro create a module
2) Add a Menu action with $ as your only option
3) Set the Entry prompt to something like "Enter your new forwarding number"
4) Connect Next to a Generic action and enter the following on the Specific tab
CFG:Set 200 forward_number$KEY
5) Setup a Short Code in Manager to access the new module.


ACS - IP Office Implement

"I'm just off to Hartlepool to buy some exploding trousers
 
Yes thanks this will make the trick.

Didn't know about the CFG: command.

Any idea where to find full documented info about such advance feature?

I didn't find anything like that while googling around.

Regards,
 
I can't take full credit on this one, another tek tipper "Intigrant" posted a full list as follows:

enable_comfort_announcements
twinning_type
mobile_twinning_number
priority
forward_busy_number
locale
absent_text
absent_set
absent_msg
systemphone
wrap_up_time
no_answer_time
monitor_group
forceaccountcode
forcelogin
exdirectory
cannot_be_intruded
can_intrude
login_code
dial_in_on
voicemail_help
voicemail_ringback
call_waiting_on
off_hook_station
og_call_bar
forward_hg
forward_na
forward_busy
voicemail_dialback
voicemail_emailmode
voicemail_reception
voicemail_code
do_not_disturb
voicemail_on
follow_me_number
forward_number
forward_unconditional


If he posts here you can give him a star also :)

ACS - IP Office Implement

"I'm just off to Hartlepool to buy some exploding trousers
 
Not all of those do work but probably most do

RTFM.gif



ACS - Implement IP Office
ACA - Implement IP Telephony -- ACA - Design IP Telephony
ACA - Voice Services Management
______________
Women and cats can do as they please and men and dogs should relax and get used to the idea!
 
And do you have something like CFG:Get 200 forward_number?

is CFG the only keyword?

Regards,
 
cfg: means that it changes the programming in the IP Office, the actual cfg file that you retrieve via manager and not make changes to the Voicemail Pro.
CFG:Set 200 forward_number$KEY means change the forward number in the programming of the phone system for extension 200 to whatever I put into it via the touch tone dialing.
Do you want to listen to the settings for the extension?
You could use the play configuration menu in the voicemail Pro.

Joe W.

FHandw., ACS

If you can't be good, be good at it!
 
If you wish to use the a user variable in the callflow in the same way as a system variable, you need to use it as follows:
$REG[UserVariable]
Where UserVariable is the name given to the User Variable.

If using the contents of the User Variable to name the file to play out, in the entry prompts use
$REG[UserVariable].wav

If its only part of the name
OtherPart$Reg[UserVariable].wav

and if you just want to copy the contents of the User variable to a system variable, say $CP0, then on the specific tab of the Generic action enter
CP0:$REG[UserVariable]
So that the contents are copied from the user variable to $CP0

 
Thanx TaureanDragon,

This was exactly the complement of information I was looking for.

Last point, Is it possible to retrieve the information I set with CFG:Set 200 forward_number$KEY in one call flow?


Regards,
 
What do you wan to retreive ?


RTFM.gif



ACS - Implement IP Office
ACA - Implement IP Telephony -- ACA - Design IP Telephony
ACA - Voice Services Management
______________
Women and cats can do as they please and men and dogs should relax and get used to the idea!
 
Let's say I set a forward number for a user.

I would like to play it and then ask if the user want to change it.

Or make a test if user has voicemail on.

And it is out of curiosity because I can't imagine to have a set method without having a get method.

Regards,
 
Hi LanExpert,
Try:
CFG:GET "200" forward_number
Then check the contents of $SAV, which should now contain the forward_number for extension 200.
Regards
 
A $key can the number that is set
If you vm on then itis on, no need to check it

RTFM.gif



ACS - Implement IP Office
ACA - Implement IP Telephony -- ACA - Design IP Telephony
ACA - Voice Services Management
______________
Women and cats can do as they please and men and dogs should relax and get used to the idea!
 
Thanx TaureanDragon,

This is again exactly what I was looking for. I will try it.

Tipeter,
I wanted to have a solution in different call flow where I can't retrieve $KEY or $CPx.

Thank you all,

regards,
 
excellent answers TaureanDragon. Good to have someone on board with vmpro skills such as that.

Star for newbie!
 
For those in the trial, the settings above are in the Generic action of R5 VM as a drop down box both SET and GET :)

ACS - IP Office Implement

"I'm just off to Hartlepool to buy some exploding trousers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top