Use dialplan variable

how can i pass a variable in my dialplan to a php script, example:

exten => 68,1,Answer() exten => 68,n,Read(digito,,1) exten => 68,n,System(php /ccc/test.php) exten => 68,n,Hangup()

the “digito” contains the DTMF digits the user has entered, and i wants to use this variable in “test.php” script

please help


How about:

exten => 68,n,System(php /ccc/test.php $digito)