On 6/1/05, PA <[EMAIL PROTECTED]> wrote:
> I've gotten my CDR working the way I like, but I am looking to customize it a 
> bit.  I have set up an IVR menu, which works great.  I would like to be able 
> to capture the prompted DTMF digits pressed by callers, to my CDR database 
> but I don't see any AGI or Asterisk commands that allow one to customize the 
> CDR contents.  Am I thinking about this on the wrong track?  If someone calls 
> sales for instance, and presses 44364 for their PO number when prompted, I 
> just want to have a text record of the digits they pressed in my CDR so I can 
> easily view it.  No trying to do database lookups or screen pops from it or 
> anything fancy, I'm trying to eat an elephant one bite at a time.  Anyone 
> have a solution for that?

What language are you using with AGI?  If for example you use PHP, the
digits the user presses are recorded in the array returned by
get_data.

For example:

$theButtons = $agi->get_data('beep', 10000, 3);

$theButtons['result'] will record the 3 digits the user pressed and
wait up to 10 seconds in between each button pressed.

Michael
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to