[cisco-voip] Cisco UCCX Play ToD and Calling number Prompt

Wagner, Fredrich fredrich.wagner at centurylink.com
Tue Feb 26 10:53:04 EST 2019


That actually worked perfectly, thank you!

One thing, is there another method other than N[XX] ?

Reason being, it reads the number correctly, but it’s reading it out as a whole number, for example 15555555555
Is read as “Fifteen Billion… “

Thank you.

From: Anthony Holloway <avholloway+cisco-voip at gmail.com>
Sent: Tuesday, February 26, 2019 10:30 AM
To: Wagner, Fredrich <fredrich.wagner at centurylink.com>
Cc: cisco-voip at puck.nether.net
Subject: Re: [cisco-voip] Cisco UCCX Play ToD and Calling number Prompt

Are you willing to swap out your generator step for the phone number, and just use this method?

Play Prompt (--Triggering Contact--, N[calling_number.replace("+", "")])

On Tue, Feb 26, 2019 at 9:10 AM Wagner, Fredrich <fredrich.wagner at centurylink.com<mailto:fredrich.wagner at centurylink.com>> wrote:
Thank you, I actually got it earlier with the prompt generator, interestingly, the generator does not work with +e164 numbers, so If I were to call from a DiD:
+15554443321
It would not play anything
But, if I call form an internal, non-did:
1001001001
It plays the extension accordingly.


From: Anthony Holloway <avholloway+cisco-voip at gmail.com<mailto:avholloway%2Bcisco-voip at gmail.com>>
Sent: Tuesday, February 26, 2019 9:51 AM
To: Wagner, Fredrich <fredrich.wagner at centurylink.com<mailto:fredrich.wagner at centurylink.com>>
Cc: cisco-voip at puck.nether.net<mailto:cisco-voip at puck.nether.net>
Subject: Re: [cisco-voip] Cisco UCCX Play ToD and Calling number Prompt

For ToD, the simplest method is to use the Create Generated Prompt step.  So, you would store the current time like this: Set time_now = T[now], and then you would use the generator step to output to a Prompt variable, for which you would play with the Play Prompt step.

For calling number, the simplest method is to use the Play Prompt step to Spell the number, if the number is in your preferred format, like so: Play Prompt (--Triggering Contact--, S[calling_number]), where you previously stored the calling number from the Get Call Contact Info step.  If the number is not in your preferred format, then you might need to manipulate it, before spelling it back.

TIP: S[] is called a prompt literal, and it says each number, one at a time.  Contrast that with N[], which says the cardinal number, and #[], which  says the ordinal number.  E.g., Saying 13 as "one three" vs thirteen vs thirteenth

Let me know if that helps you get what you need.  Else, just post back.

On Mon, Feb 25, 2019 at 10:24 AM Wagner, Fredrich <fredrich.wagner at centurylink.com<mailto:fredrich.wagner at centurylink.com>> wrote:
Hello, I am looking to build a simple script that will play a prompt, telling the caller the  time of day, and what their calling number is.

Any ideas pointing me in the right direction would be greatly appreciated.


Thank you!


This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
_______________________________________________
cisco-voip mailing list
cisco-voip at puck.nether.net<mailto:cisco-voip at puck.nether.net>
https://puck.nether.net/mailman/listinfo/cisco-voip
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20190226/44b8f9c5/attachment.html>


More information about the cisco-voip mailing list