[Asterisk-Dev] AGI drops first DTMF digit

Paradise Dove pardove at gmail.com
Fri Jan 7 07:50:42 MST 2005


make sure that you have answered the channel (using Answer command)
before running your AGI.


On Thu, 6 Jan 2005 15:11:25 -0500 (EST), goldfita at rose-hulman.edu
<goldfita at rose-hulman.edu> wrote:
> Greetings,
> 
> I am using the c code from http://home.cogeco.ca/~camstuff/agi.html
> (modified to break on #) as an AGI script.  When using a cisco 7960 phone
> over SIP, there is no problem.  When using a grandstream phone over SIP,
> the first digit is always dropped.  I get the same behaviour for GET DATA.
>  It is also the same when using python.  Neither phone has any problems
> when using the voicemail module.  It seems to be an AGI thing.
> 
> Example:
> send>GET DATA welcome (from AGI)
> send>123456# (DTMF digits)
> recv>23456 (to stdout from grandstream)
> recv>123456 (to stdout from cisco)
> 
> My build:
> Asterisk CVS-v1-0-11/04/04-15:50:19 built by root at asterisk on a i686
> running Linux
> 
> Any ideas?  thanks
> 
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
>



More information about the asterisk-dev mailing list