Twilio request parameters after 'gather' of entered digits

38 views
Skip to first unread message

Gregory Norman

unread,
Mar 10, 2015, 1:18:28 PM3/10/15
to websc...@googlegroups.com
New webscript and twilio user here, so...danger ahead.  I'm trying to access the Digits parameter in a Twilio request after a keypad press in a twilio Gather.  I can't find it.  What Twilio is sending roughly matches their docs...just no Digits value.  They mention that the Digits can get lost if there is a 300 redirect somewhere in the chain.  I can add ?cmd=restart to the URL and see that.  Any ideas?

GET rmspims.webscript.io/newscript2?cmd=restart&AccountSid=ACxxxxxxxxxxxxxxxxxxxxxx&AnsweredBy=human&ToZip=60062&FromState=IL&Called=%2B1847xxxxxxx&FromCountry=US&CallerCountry=US&CalledZip=60062&Direction=outbound-api&FromCity=ROSELLE&CalledCountry=US&CallerState=IL&CallSid=CA0d5397bb8cc83f30f1a401e4494b469b&CalledState=IL&From=%2B184xxxxxxx&CallerZip=60193&FromZip=60193&CallStatus=in-progress&ToCity=ROSELLE&ToState=IL&To=%2B1847xxxxxxx&Digits=1&ToCountry=US&msg=Gather+End&CallerCity=ROSELLE&ApiVersion=2010-04-01&Caller=%2B1847xxxxxxx&CalledCity=ROSELLE HTTP/1.1
X-Forwarded-Port: 80
X-Forwarded-For: 50.16.149.2
Host: rmspims.webscript.io
User-Agent: TwilioProxy/1.1
Connection: close
X-Forwarded-Proto: http
Referer: http://rmspims.webscript.io/newscript2?cmd=restart&AccountSid=ACxxxxxxxxxxxxxxxxxxxxxxxxxxxx&AnsweredBy=human&ToZip=60062&FromState=IL&Called=%2B1847xxxxxxx&FromCountry=US&CallerCountry=US&CalledZip=60062&Direction=outbound-api&FromCity=ROSELLE&CalledCountry=US&CallerState=IL&CallSid=CA0d5397bb8cc83f30f1a401e4494b469b&CalledState=IL&From=%2B1847xxxxxxx&CallerZip=60193&FromZip=60193&CallStatus=in-progress&ToCity=ROSELLE&ToState=IL&To=%2B1847xxxxxxx&Digits=5&ToCountry=US&msg=Gather+End&CallerCity=ROSELLE&ApiVersion=2010-04-01&Caller=%2B1847xxxxxxx&CalledCity=ROSELLE
X-Twilio-Signature: hlWWwORr0IuRqqeKLT8R00bVA/I=
Cache-Control: max-age=259200

Steve Marx

unread,
Mar 10, 2015, 1:23:28 PM3/10/15
to Gregory Norman, websc...@googlegroups.com
It certainly looks from what you've pasted that the Digits parameter is there. (I see "Digits=1" in the URL.) What's the issue?


--
You received this message because you are subscribed to the Google Groups "Webscript.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webscriptio...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages