View Single Post
  #5  
Old 12-29-2011, 07:51 AM
phemming phemming is offline
Guru
 
Join Date: Jun 2010
Location: Birmingham,UK
Posts: 150
phemming has 10 reputation points
Default

If this is SIP assume
announcement_en is mapped to ROUTE 61
announcement_es is mapped to ROUTE 62
music_en is mapped to ROUTE 51
music_es is mapped to ROUTE 52


WHERE CDN EQUALS
VALUE 12345 : ASSIGN skillset_en to cv_skillset
ASSIGN 51 ro cv_music
ASSIGN 61 to cv_ran
VALUE 67890 : ASSIGN skillset_es to cv_skillset
ASSIGN 52 ro cv_music
ASSIGN 62 to cv_ran
and so on
END WHERE

GIVE RAN cv_ran
GIVE RINGBACK

IF NOT OUT OF SERVICE cv_skillset THEN
QUEUE TO SKILLSET cv_skillset WITH PRIORITY X
WAIT 2
ELSE
Some other treatment
END IF

GIVE MUSIC cv_music
WAIT XX
and so on
Reply With Quote