<div dir="ltr">Are you willing to swap out your generator step for the phone number, and just use this method?<div><br></div><div><font face="monospace, monospace">Play Prompt (--Triggering Contact--, N[calling_number.replace("+", "")])</font></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 26, 2019 at 9:10 AM Wagner, Fredrich <<a href="mailto:fredrich.wagner@centurylink.com">fredrich.wagner@centurylink.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-US">
<div class="gmail-m_-3578206224725857396WordSection1">
<p class="MsoNormal">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:<u></u><u></u></p>
<p class="MsoNormal">+15554443321<u></u><u></u></p>
<p class="MsoNormal">It would not play anything<u></u><u></u></p>
<p class="MsoNormal">But, if I call form an internal, non-did:<u></u><u></u></p>
<p class="MsoNormal">1001001001<u></u><u></u></p>
<p class="MsoNormal">It plays the extension accordingly.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><b>From:</b> Anthony Holloway <<a href="mailto:avholloway%2Bcisco-voip@gmail.com" target="_blank">avholloway+cisco-voip@gmail.com</a>>
<br>
<b>Sent:</b> Tuesday, February 26, 2019 9:51 AM<br>
<b>To:</b> Wagner, Fredrich <<a href="mailto:fredrich.wagner@centurylink.com" target="_blank">fredrich.wagner@centurylink.com</a>><br>
<b>Cc:</b> <a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br>
<b>Subject:</b> Re: [cisco-voip] Cisco UCCX Play ToD and Calling number Prompt<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">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.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">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.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">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<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Let me know if that helps you get what you need. Else, just post back.<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On Mon, Feb 25, 2019 at 10:24 AM Wagner, Fredrich <<a href="mailto:fredrich.wagner@centurylink.com" target="_blank">fredrich.wagner@centurylink.com</a>> wrote:<u></u><u></u></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal">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.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Any ideas pointing me in the right direction would be greatly appreciated.<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal">Thank you!<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<p class="MsoNormal" align="center" style="text-align:center">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.<u></u><u></u></p>
</div>
<p class="MsoNormal">_______________________________________________<br>
cisco-voip mailing list<br>
<a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br>
<a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><u></u><u></u></p>
</blockquote>
</div>
</div>
<center>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.</center>
</div>
</blockquote></div>