[Asterisk-Users] HOWTO capture digits

Tzafrir Cohen tzafrir at cohens.org.il
Thu Jul 21 00:29:38 MST 2005


On Wed, Jul 20, 2005 at 02:13:57PM -0400, J.Raborg wrote:
> Folks:
> 
> does anybody have an idea? how to capture the DTMF digits to a file, after
> an extn asnwer? then POST it to a url?

Off the top of my head:

  Read(DIGITSVAR)
  System(echo ${DIGITSVAR} >/path/to/file)
  Curl(URL)
  ;or:
  ;System(wget --with --the -right --switches ${DIGITSVAR} URL)

-- 
Tzafrir Cohen         | tzafrir at jbr.cohens.org.il | VIM is
http://tzafrir.org.il |                           | a Mutt's  
tzafrir at cohens.org.il |                           |  best
ICQ# 16849755         |                           | friend



More information about the asterisk-users mailing list