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

Individual extensions use one module on VM Pro 4

Status
Not open for further replies.

subx

Technical User
Mar 10, 2004
191
0
0
DE
Hi there,

I would like to build up the following:

There are 100 extensions from 100-199
There is one PRI 02222 3333 XXX

Customer want that on every extension the call get redirected to Voicemail Pro to check various things ... Office hours / holidays / emergency mode / etc
but after that he would like that within office hours the call get directed to the dialed extension...

I am able to build this up without any issue... but I am doing a workflow for every single extension... Is there a possibility to use some codes to build this up without creating 100 endpoints and/or mudules?
I tried with called extension but it seems it doesnt work the way i need....

cheers,

subx
 
You can tranfer the call based on $DDI which is the DDI dialed.

"Trying is the first step to failure..." - Homer
 
Enter the destination in the incomming call route 'Tag' field.

Enter in the destination field the VM pro start point.

In VM pro, enter the route you created, and in the end forward the call to $TAG


 
Nice one Okie
I didnt know this was possible


Do things on the cheap & it will cost you dear
 
thx for your answers.....

@janni78

I tried that but the DDI didnt work in my test system... maybe its not working since its behind a different pbx... but in the monitor files its showing unknown number even its not showing exactly what its going to dial.... Maybe it has something to do with the incomming call routes?

@Okkie26

That works fine and is also a good idea... but still you need 100 incomming call routes for my setup... easier than to 100 there as well as in vm pro... but janni78 has the perfect one... its just not working on my end... dunno where I get stuck

 
I had that before.

DDI is only working when you created the incomming call route with the exact ddi number.

So, also in this case, you need to setupo 100 incomming call routes.
 
I have a default ICR going to VM:Numbertest, $DDI and $TARGET is set as you can see in trace (replaced with 1234567890).
$DDI is set to the number you get from the Service Provider so on SIP in my case it's set to the full international number.
$TARGET is the module name and $CALLED isn't set in this case.

In this case I just tried to play a WAV files with each value.

01/04 15:49:25.082 vmpro (02,6) 12a7,04398b70,12458: Session: 00000064, Substitute ($DDI) -> (+461234567890)
01/04 15:49:25.082 vmpro (22,5) 12a7,04398b70,12458: Failed to load sound bite "/opt/vmpro/Wavs/+461234567890.wav" [uLaw], error is "No such file or directory"
01/04 15:49:25.082 vmpro (02,6) 12a7,04398b70,12458: Session: 00000064, Substitute ($DDI) -> (+461234567890)
01/04 15:49:25.082 vmpro (22,5) 12a7,04398b70,12458: Failed to load sound bite "/opt/vmpro/Wavs/+461234567890.wav" [uLaw], error is "No such file or directory"
01/04 15:49:25.082 vmpro (02,6) 12a7,04398b70,12458: Session: 00000064, Substitute ($CALLED) -> ()
01/04 15:49:25.082 vmpro (02,6) 12a7,04398b70,12458: Session: 00000064, Substitute ($CALLED) -> ()
01/04 15:49:25.082 vmpro (02,6) 12a7,04398b70,12458: Session: 00000064, Substitute ($TARGET) -> (Numbertest)
01/04 15:49:25.082 vmpro (22,5) 12a7,04398b70,12458: Failed to load sound bite "/opt/vmpro/Wavs/numbertest.wav" [uLaw], error is "No such file or directory"
01/04 15:49:25.082 vmpro (02,6) 12a7,04398b70,12458: Session: 00000064, Substitute ($TARGET) -> (Numbertest)
01/04 15:49:25.082 vmpro (22,5) 12a7,04398b70,12458: Failed to load sound bite "/opt/vmpro/Wavs/numbertest.wav" [uLaw], error is "No such file or directory"


"Trying is the first step to failure..." - Homer
 
In VM Pro in the default "Leave" start point add a generic action that copy the most right three digits of the $DDI to $SAV.
Continue the call flow and perform your your confitions and if no conditions are valid transfer the call to $SAV.
In Manager in ICR route all calls to Voicemail.
One module for all numbers.

As easy as can be.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top