I know may be I am disturbing you ,but I am too thanks full for your help

But can you explain in detailed steps how to do that

 

What I understand from you I that I should  put this line at asterisk.conf and its already exist

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

At /var/lib/asterisk/agi-bin/dtmfivr.sh for example

After that what should I do

 

 

 

 

Regards

And really thanks

 

 

in asterisk.conf there is
"astagidir => /var/lib/asterisk/agi-bin"
it can be used for storing any scripts/programs fo *, it is suggested for storiong AGI scripts there
example: /var/lib/asterisk/agi-bin/dtmf2text.file.sh


Thanks for your help but where is should put this bash script ,can you guide me please

Regards

 

"...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})
#########this script###############################
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

 

 

 

 




*********************************************
No employee or agent is authorized to conclude any binding agreement on behalf of Xplorium with another party by e-mail without express written confirmation by an officer of Xplorium. Any views expressed by an individual in this electronic message do not necessarily reflect views of Xplorium or its subsidiaries and associates.

This electronic message and its attachments are solely addressed to the addressee(s), and contain confidential information protected from disclosure belonging to Xplorium.

If you are not the intended addressee of this electronic message and its attachments, kindly delete it immediately from your system and notify the sender by electronic mail. You must not copy this message or attachment or disclose its content to any other person.

Xplorium does not guarantee the integrity of this electronic message and any of its attachments, or that they are free from computer viruses or other defects.
*********************************************
_______________________________________________
--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