Hi Everyone,
I'm not sure if this can be done or not, but if it can, it might just save me from many many hours of work! We're running CM 4.0.1.
Here's what I'd like to do:
Caller would dial extension (VDN) xxxx and have it answer with a prompt like: "Please enter the patient's room number followed by the pound sign."
The vector would insert a "7" in front of the digits collected, then the call would be routed to the new number created.
For example, if 318 was entered, the vector would route the call to extension 7318. If 4123 was entered, the caller would be routed to extension 74123. Yes, I realize that I'm mixing 4 and 5-digit extensions -- no problem there, just trying to figure out how to weave the "7" in to the mix.
I thought I could do this with a variable, but don't know how to have the system concatenate the static "7" with the collected digits. Thought of using the converse-on step, but doesn't seem like the right command. I suppose I could write a zillion steps like: if digits = 318, go to vector xx step xx where that step would read: route to number 7318 and so on. Problem is there are over 150 possible numbers. I would also have to filter for incorrect entries using a VRT.
Any ideas? Am I just dreaming with this one? Thanks for a reality check or possible solution.
Scott
I'm not sure if this can be done or not, but if it can, it might just save me from many many hours of work! We're running CM 4.0.1.
Here's what I'd like to do:
Caller would dial extension (VDN) xxxx and have it answer with a prompt like: "Please enter the patient's room number followed by the pound sign."
The vector would insert a "7" in front of the digits collected, then the call would be routed to the new number created.
For example, if 318 was entered, the vector would route the call to extension 7318. If 4123 was entered, the caller would be routed to extension 74123. Yes, I realize that I'm mixing 4 and 5-digit extensions -- no problem there, just trying to figure out how to weave the "7" in to the mix.
I thought I could do this with a variable, but don't know how to have the system concatenate the static "7" with the collected digits. Thought of using the converse-on step, but doesn't seem like the right command. I suppose I could write a zillion steps like: if digits = 318, go to vector xx step xx where that step would read: route to number 7318 and so on. Problem is there are over 150 possible numbers. I would also have to filter for incorrect entries using a VRT.
Any ideas? Am I just dreaming with this one? Thanks for a reality check or possible solution.
Scott