[Freeswitch-users] getDigits always missing the first digit

AJ Singh aj at btel.ca
Tue Nov 11 18:13:36 PST 2008


what is the issue chris

On Tue, Nov 11, 2008 at 5:52 AM, Cristian Talle <ctalle at voiceway.ca> wrote:

> Hi,
>
> I'm having some issues retrieving a dtmf sequence using getDigits.
> The xml dialplan invokes a javascript file that in turn runs:
>
> var digits = "";
> session.answer();
> digits = session.getDigits(6,"#", 5000);
> console_log("info", "caller entered: " + digits);
> ...
> session.hangup();
>
> The digits variable is always missing the first digit, no matter what I do.
> I've added some more debug messages, it looks like
> switch_channel_queue_dtmf() is only called from the second digit on.
>
> Has anyone experienced this before?
>
> Thanks,
> Cristian
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
AJ Singh
CTO
http://www.btel.ca
http://starkom.com
Starkom India (PVT) Ltd,
36B Begum Pur, Malviya Nagar,
New Delhi - 110017

Btel Canada Inc.,
151 Front Street, Suite 718
Toronto, Ontario

Delhi Phone +91 98 7166 0553
Toronto Phone: +1 647-285-8677
efax: +1 416 273 7501
MSN: voipcanada at hotmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20081111/110b0eb5/attachment-0002.html 


More information about the FreeSWITCH-users mailing list