Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] getDigits always missing the first digit


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
ctalle at voiceway.ca
Guest





PostPosted: Tue Nov 11, 2008 8:55 am    Post subject: [Freeswitch-users] getDigits always missing the first digit Reply with quote

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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
Back to top
aj at btel.ca
Guest





PostPosted: Tue Nov 11, 2008 9:15 pm    Post subject: [Freeswitch-users] getDigits always missing the first digit Reply with quote

what is the issue chris

On Tue, Nov 11, 2008 at 5:52 AM, Cristian Talle <ctalle@voiceway.ca (ctalle@voiceway.ca)> wrote:
Quote:
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@lists.freeswitch.org (Freeswitch-users@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@hotmail.com (voipcanada@hotmail.com)
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services