cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
599
Views
0
Helpful
0
Replies

CUE Script for Call Routing

Hi,

Customer requirement is very simple, the incoming calls from PSTN should be routed to Mobile Numbers. Right now, its being routed to a hunt group on call manager. The incoming number is a callcenter number (Multiple calls at any given time)

 

Current callflow: PSTN-->ISR-VG-->CUE (for IVR)--->CUCM (Hunt group)

New/Expected callflow: PSTN-->ISR-VG-->CUE(For IVR and Script based Call Routing)--->Mobile Numbers(PSTN).

 

Im thinking about putting in a round robin algorithm for 4 mobile numbers using a script:

Initial value of CallRR=1

If(CallRR==1), Call Redirect to MobNo1, CallRR+1

If(CallRR==2), Call Redirect to MobNo2, CallRR+1

If(CallRR==3), Call Redirect to MobNo3, CallRR+1

If(CallRR==4), Call Redirect to MobNo4, CallRR=1

 

This logic seems to be working for the first call, but not on the second call. Apparently, every call starts a new session and value of CallRR remains 1 at the start.

Please advise how could we force the second call to use the same session as first or how to save the value of CallRR for subsequent calls.

Also, ideas are welcomed for any alternate strategy to obtain desired results.

 

Regards

Saif

 

 

 

 

0 Replies 0