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

VM Pro Programming Query 1

Status
Not open for further replies.

Pepp77

Vendor
Oct 30, 2008
2,513
GB
I am not bad at VM Pro but no expert.

We have a customer that has 30 DDIs that all go to extensions or groups that match the final 3 numbers of the DDIs.

They want a message to be played on all lines before the call goes to the extension/group saying calls may be recorded for training purposes.

I know I can do a module per DDI with the same recording, but I was hoping to make it more streamlined by having a single module that plays the message and then strips off the last 3 digits of the DDI and transfers to it, but cannot for the life of me work out how.

Any help will get pink :)

| ACSS SME |
 
It depends how many digits you receive in the DDI.

You have the $DDI variable that holds the DDI received.
If you only want to use for example 3 digits you can do a Generic action with STRING:$CP0=right($DDI,3)

Send all calls to the same module and after the message transfer to $DDI or $CP0 depending on what you use.

"Trying is the first step to failure..." - Homer
 
Cheers, it's SIP trunks with all 11 digits being presented.

I'll have a play and let you know how I get on.


| ACSS SME |
 
Janni - I did stat you at the time but forgot to reply back saying this worked a treat :)

| ACSS SME |
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top