We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

french prompts not playing

Questions and answers about Plum iOn systems

Moderators: admin, support

Post Reply
jcooper
Posts: 45
Joined: Tue Jul 22, 2008 5:22 pm

french prompts not playing

Post by jcooper »

Below is my code for implementing a multilingual menu. The french prompts play up until the SetLanguage field. After i press 2 for french i hear no audio. When i look at the call log i can see the prompts being played and even accepting my dtmf entries... but i don't hear anything.
I believe this is a platform issue. Please advise.

Code: Select all

<vxml version="2.0">
	<property name="inputmodes" value="dtmf"/>
	<property name="termchar" value="#"/>
	<property name="timeout" value="3s"/>
	<property name="interdigittimeout" value="2s"/>
	<property name="scriptmaxage" value="0s"/>
	<property name="documentmaxage" value="0s"/>
	<property name="sensitivity" value="0.0"/>

	<var name="firstname"/>
	<var name="lastname"/>
	<var name="lang"/>
	
	<form id="login">
		<subdialog name="sessionStart"
		   src="Process.aspx?p=SessionStart"
		   namelist="session.id session.telephone.ani"
		   method="post"
		   maxage="0s"
		   maxstale="0s"
				   />
		<block>
			<assign name="lang" expr="sessionStart.result"/>
			<prompt>
				<voice name="Samantha">Welcome to the Check In System.</voice>
			</prompt>
			<if cond="lang == 'french'">
				<prompt>
					<voice name="Julie" xml:lang="fr-CA">
						Bienvenue sur l'enregistrement System.
					</voice>
				</prompt>
			</if>
		</block>

		<field name="SetLanguage" cond="lang != 'english'">
			<property name="interdigittimeout" value="10ms"/>
			<grammar type="application/srgs+xml" root="SetLanguage" mode="dtmf" version = "1.0">
				<rule id="SetLanguage" scope="private">
					<one-of>
						<item>1</item>
						<item>2</item>
					</one-of>
				</rule>
			</grammar>
			<catch event="noinput nomatch" count="3">
				<prompt>
					<voice name="Samantha">You have entered an in valid entry three times. Goodbye.</voice>
				</prompt>
			</catch>
			<prompt>
				<voice name="Samantha">For english press 1.</voice><break/>
				<voice name="Julie" xml:lang="fr-CA">Pour le français, appuyez sur le 2.</voice>
			</prompt>
			<filled>
				<if cond="SetLanguage == '2'">
					<assign name="lang" expr="'french'"/>
				<else/>
					<assign name="lang" expr="'english'"/>
				</if>
			</filled>
		</field>

		<field name="AccessCode" type="digits?length=5" cond="lang == 'english'">
			<prompt>
				<voice name="Samantha">Please enter your I.D. code followed by the pound sign.</voice>
			</prompt>
			<filled>
			
			</filled>
			<catch event="noinput nomatch" count="3">
				<prompt bargein="false">
					<voice name="Samantha">Please confirm your I.D. and try your call later.</voice>
				</prompt>
				<disconnect />
			</catch>
			<catch event="noinput nomatch">
				<reprompt/>
			</catch>
		</field>
		
		<field name="AccessCode_fr" type="digits?length=5" cond="lang == 'french'">
			<prompt>
				<voice name="Julie" xml:lang="fr-CA">
					S'il vous plaît, entrez votre code d'identification suivies par le clef carrée.
				</voice>
			</prompt>
			<filled>
				<assign name="AccessCode" expr="AccessCode_fr"/>
			</filled>
			<catch event="noinput nomatch" count="3">
				<prompt bargein="false">
					<voice name="Julie" xml:lang="fr-CA">
						S'il vous plaît confirmer votre code d'identification et essayez de vous appeler plus tard.
					</voice>
				</prompt>
				<disconnect />
			</catch>
			<catch event="noinput nomatch">
				<reprompt/>
			</catch>
		</field>
				  
		<field name="Password" type="digits?minlength=2;maxlength=10" cond="lang == 'english'">
			<prompt bargein="true">
				<voice name="Samantha">Please enter your password followed by the pound sign.</voice>
			</prompt>
			<filled>

			</filled>
			<catch event="noinput nomatch" count="3">
				<prompt bargein="false">
					<voice name="Samantha">Your entry was invalid. Goodbye.</voice>
				</prompt>
				<disconnect />
			</catch>
		</field>

		<field name="Password_fr" type="digits?minlength=2;maxlength=10" cond="lang == 'french'">
			<prompt bargein="true">
				<voice name="Julie" xml:lang="fr-CA">
					S'il vous plaît entrer votre mot de passe suivies par le clef carrée.
				</voice>
			</prompt>
			<filled>
				<assign name="Password" expr="Password_fr"/>
			</filled>
			<catch event="noinput nomatch" count="3">
				<prompt>
					<voice name="Julie" xml:lang="fr-CA">
						L'entrée n'est pas valide. Au revoir.
					</voice>
				</prompt>
				<disconnect />
			</catch>
		</field>

		<subdialog name="login"
				   src="Process.aspx?p=Login"
				   namelist="session.id AccessCode Password"
				   method="post"
				   maxage="0s"
				   maxstale="0s"
				   />



		<block>
			<if cond="login.type=='Demonstrator'">
				<if cond="lang == 'french'">
					<goto next="PNSMenu_fr.xml" maxage=""/>
					<else/>
					<goto next="PNSMenu.xml" maxage=""/>
				</if>
				<elseif cond="login.type=='Coordinator'"/>
				<goto next="PNSMenu.xml"/>
				<elseif cond="login.type=='Manager'"/>
				<goto next="MgrMenu.xml"/>
				<else/>
				<if cond="lang == 'french'">
					<prompt>
						<voice name="Julie" xml:lang="fr-CA">
							Vos informations de connexion ne sont pas valides. S'il vous plaît confirmer et essayer à nouveau.
						</voice>
					</prompt>
					<else/>
					<prompt>
						Your login credentials are invalid. Please confirm them and try again.
					</prompt>
				</if>
				<disconnect/>
			</if>
		</block>

		<catch event="connection.disconnect">
			<submit next="Process.aspx?p=Disconnect"
					namelist="session.id"
					method="post"
					/>
		</catch>
	</form>
</vxml>

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

IVR issue with hearing the french TTS voice

Post by support »

Hi,

We're currently looking into why you are not hearing the french TTS voice after you enter DTMF-2 with your keypad. We'll give you an update once we isolate the cause and find a resolution to this IVR issue.

Regards,
Plum Support
Last edited by support on Wed Jan 06, 2010 5:47 pm, edited 1 time in total.

jcooper
Posts: 45
Joined: Tue Jul 22, 2008 5:22 pm

any luck??

Post by jcooper »

Wondering what the status on this is... don't want to make those french canadians wait!!

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

IVR fix for hearing French voice

Post by support »

Hi,

We're expecting to deploy an IVR fix tonight that should resolve this IVR issue.

Thanks for your patience,
Plum Support
Last edited by support on Fri Feb 26, 2010 12:19 pm, edited 2 times in total.

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

IVR fix has been deployed

Post by support »

Hi,

An IVR fix has been deployed for this IVR issue. Please test your IVR application again and let us know if you experience any further IVR issues.

Regards,
Plum Support
Last edited by support on Fri Feb 26, 2010 12:20 pm, edited 2 times in total.

jcooper
Posts: 45
Joined: Tue Jul 22, 2008 5:22 pm

its working now

Post by jcooper »

Thanks much! We have some happy French-Canadians!

Post Reply