Author Topic: Saying digits with SM  (Read 4989 times)

Offline smile

  • Sr. Member
  • ****
  • Posts: 286
  • Karma: 6
Saying digits with SM
« on: October 19, 2009, 03:23:20 PM »
Hello

I'm trying to force 'Play Announcement' application to say a digits. There are several parameters for this treatment as described in Universal Routing 7.6 Reference Manual on page 348:
[code]
Specify one of the following options:
      IDinteger ID of a message to play
      DigitsNumber to pronounce. The first digit defines how the number
      should be pronounced:
      0—one at a time (example: 411 will be pronounced as four-one-one)
      1—date (example: the eleventh of April)
      2—time (four eleven AM)
      3—phone number (four-one-one)
      4—money (four dollars and eleven cents)
      5—number (four hundred and eleven)
[/code]

So, i'm specifying the value '0123456' in 'Digits' column in the 'Prompt' tab. The result is - «bad parameter passed to function», the piece of log is attached.

Is it possible to play digits (i need only to say a phone number digit-by-digit and money summ or number) as described without Text-To-Speech and GVP only by using SIP Server and Stream Manager? If it is possible, where i can get a standard prompts or where i need to put my customized prompts for numerals?



Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7636
  • Karma: 56330
Re: Saying digits with SM
« Reply #1 on: October 19, 2009, 06:05:17 PM »
Can you post:
Screenshot of DN configuration for treatment
Screenshot of IRD function

Offline smile

  • Sr. Member
  • ****
  • Posts: 286
  • Karma: 6
Re: Saying digits with SM
« Reply #2 on: October 19, 2009, 06:25:30 PM »
[b]cavagnaro[/b], all requested pictures in attachment
i just wanted to notice, that other treatments which is using simple wav prompts works fine and i can't understand is possible or not to "say" numerical by embedded function.
« Last Edit: October 19, 2009, 06:27:54 PM by smile »

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Saying digits with SM
« Reply #3 on: October 19, 2009, 07:24:54 PM »
Hi smile,

I have bad message for you >:( - functionality you're after isn't supported by Stream Manager. SM is unable to parse entered digits and convert these into set of audio files.

Positive message - it's possible to implement such functionality in routing strategy. Let me know if you need more details on how to do it.

R.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7636
  • Karma: 56330
Re: Saying digits with SM
« Reply #4 on: October 19, 2009, 07:35:48 PM »
As René said, to prompt the number perse is not possible, but can maybe break (implode) the number in several unique numbers and prompt those unique numbers.

Offline smile

  • Sr. Member
  • ****
  • Posts: 286
  • Karma: 6
Re: Saying digits with SM
« Reply #5 on: October 19, 2009, 08:05:04 PM »
hmmm, i think that i know how to construct total number from separate files, but i'm steel to hope that Genesys support it in native manner, because i'm to lazy to draw this monstrous strategy  :)
René,cavagnaro tell me please, if you know - what is the meaning in the documentation, which has been cited? what the application is needed to process this kind of treatment?
hope dies last ;)

ps
René, this strategy will be very big and not so beautiful, isn't it?

Offline Dionysis

  • Sr. Member
  • ****
  • Posts: 408
  • Karma: 8
Re: Saying digits with SM
« Reply #6 on: October 20, 2009, 01:57:56 AM »
Reading a string of numbers manually is actually a very easy strategy to build.

You should be able to do it in 4 blocks.  You simply loop through a "play announcement" block until you run out of numbers to read.

:)

The functionality of reading numbers is supported by some PBX's, Alcatel 4400, for example, supports digit readback, I'm not sure if it does the currency and date functions aswell though.

Offline cavagnaro

  • Administrator
  • Hero Member
  • *****
  • Posts: 7636
  • Karma: 56330
Re: Saying digits with SM
« Reply #7 on: October 20, 2009, 04:33:45 AM »
Nop, only numbers and positions

Offline René

  • Administrator
  • Hero Member
  • *****
  • Posts: 1832
  • Karma: 62
Re: Saying digits with SM
« Reply #8 on: October 20, 2009, 08:37:55 AM »
Hi smile,

You can find information about supported/not-supported parameters of Announcement Treatment in SIP Server 7.6 Deployment Guide - page 155. You'll see that parameter "Digits" is ignored.

I don't think the strategy have to be big and ugly ;) but it depends what functionality is required. If your customer is happy with playback of single digits then it would be easy and simple one. If they want to have some sophisticated playback then strategy will be more complex.

R.

Offline smile

  • Sr. Member
  • ****
  • Posts: 286
  • Karma: 6
Re: Saying digits with SM
« Reply #9 on: October 21, 2009, 05:49:38 AM »
thanks to all for answers!