Quantcast
Channel: VoiceXML
Viewing all articles
Browse latest Browse all 19

VXML capture DTMF

$
0
0

Hello,

I'm trying to get DTMF from a VXML script which is called in its turn form a CCXML via dialogstart and joined to a conference via conferenceid="myconfid"

If I do the same thing joined to a single caller, DTMF capture works like a charm, however when trying as stated above it fails to detect the input.

The VXML code I'm using to achieve this, is partly derived from the Meet Me conf. example

<field name="confPin">

<grammar mode="dtmf" version="1.0" root="atLeastOneDigit">

<rule id="digit">

<one-of>

<item>0</item>

<item>1</item>

<item>2</item>

<item>3</item>

<item>4</item>

<item>5</item>

<item>6</item>

<item>7</item>

<item>8</item>

<item>9</item>

<item>*</item>

</one-of>

</rule>

<rule id="atLeastOneDigit" scope="public" >

<one-of>

<item repeat="3">

<ruleref uri="#digit"/>

</item>

</one-of>

</rule>

</grammar>

 

<filled>

<log label="get pin">digits entered <value expr="confPin$.utterance" /></log>

<assign name="conferenceID" expr="confPin$.utterance.replace('','', 'g' )" />

<if cond="conferenceID != '*12'&amp;&amp; conferenceID != '*98'">

<goto next="#enterAccessCode" />

<else/>

<goto next="#SayDigit" />

</if>

</filled>

</field>

 

Any thoughts on how could I get this working, or if I'm missing something?

 

best regards,

Ciprian Radu 


Viewing all articles
Browse latest Browse all 19

Trending Articles