"...receiving digits from IVR through dtmf and store it on a text file "
short idea:
 1 IVR start
 2 set(number=)
 3 playback(press_digit_or_#_to_finish)
 4 (pressed) set(number=${number}${digit_pressed})
 5 playback(press_another_digit_or_#_to_finish)
 6 if digit pressed goto(pressed[point 44])
 7 if # pressed execute System(put_string_with_pressed_didgits_into_text_file.sh ${digit_pressed} ${calleridnum})

sh script
#!/bin/bash
digits=$1
number=$2
echo "$1" >> $2.txt

Dear

 

 I want to make a billing recharge through receiving digits from IVR through dtmf and store it on a text file ,

 

How can todo that ?

 

Regards

 



_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to