[asterisk-bugs] [JIRA] (ASTERISK-21898) Read application does not set the variable
Michael L. Young (JIRA)
noreply at issues.asterisk.org
Tue Jun 11 08:39:03 CDT 2013
[ https://issues.asterisk.org/jira/browse/ASTERISK-21898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=207145#comment-207145 ]
Michael L. Young commented on ASTERISK-21898:
---------------------------------------------
READ application is saying that nothing was entered. I don't think there is anything wrong with READ, perhaps the problem is in the third party driver you are using.
It looks like you are using chan_dongle, is that correct? Please check their wiki page that has some options for debugging problems with DTMF.
> Read application does not set the variable
> ------------------------------------------
>
> Key: ASTERISK-21898
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-21898
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Applications/app_read
> Affects Versions: 11.4.0
> Environment: I am running a Ubuntu 12.04, I have downloaded 1.8 asterisk version, build was successful. I have configured chan_dongle to work with a voice enabled dongle.
> Marked as Major since setting the variable is a essential feature for the read application. Without that its a useless app.
> Reporter: Siddharth Jagtiani
> Assignee: Siddharth Jagtiani
> Attachments: debugLog.txt
>
>
> {noformat}
> >core show dongle state dongle0< reports
> Device : dongle0
> State : Free
> Audio : /dev/ttyUSB1
> Data : /dev/ttyUSB2
> Voice : Yes
> SMS : Yes
> Manufacturer : huawei
> Model : E303D
> Firmware : 21.157.72.00.356
> IMEI : correctIMEI
> IMSI : correctIMSI
> GSM Registration Status : Registered, home network
> RSSI : 15, -116 dBm
> Mode : No Service
> Submode : No service
> Provider Name : IDEA
> Location area code : "A03D"
> Cell ID : "B96B"
> Subscriber Number : Unknown
> SMS Service Center : +91correctnumber
> Use UCS-2 encoding : Yes
> USSD use 7 bit encoding : No
> USSD use UCS-2 decoding : Yes
> Tasks in queue : 0
> Commands in queue : 0
> Call Waiting : Disabled
> Current device state : start
> Desired device state : start
> When change state : now
> Calls/Channels : 0
> Active : 0
> Held : 0
> Dialing : 0
> Alerting : 0
> Incoming : 0
> Waiting : 0
> Releasing : 0
> Initializing : 0
> {noformat}
> When I make a incoming call, and put punch in a code I get following results only in " entered" as a result.
> When I send a sms to this number, it fills up sms.txt with the sms and the source number correctly.
> Basically pincode variable does not get a value on the read application.
> {noformat}
> Extensions.conf
> [dongle-incoming]
> exten => sms,1,Verbose(Incoming SMS from ${CALLERID(num)} ${SMS})
> exten => sms,n,System(echo '${STRFTIME(${EPOCH},,%Y-%m-%d %H:%M:%S)} - ${DONGLE} - ${CALLERID(num)}: ${SMS}' >> /var/log/asterisk/sms.txt)
> exten => sms,n,Hangup()
> exten => ussd,1,Verbose(Incoming USSD: ${USSD})
> exten => ussd,n,System(echo '${STRFTIME(${EPOCH},,%Y-%m-%d %H:%M:%S)} - ${DONGLE}: ${USSD}' >> /var/log/asterisk/ussd.txt)
> exten => ussd,n,Hangup()
> exten => s,1,Answer()
> exten => s,n,Read(pincode,agent-newlocation,3)
> exten => s,n,System(echo '${pincode} entered')
> exten => s,n,Goto(1)
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list