Re: [asterisk-users] IVR DTMF
hiring some one to do it :) sorry, i couldnt avoid to tell it, but your question is so generic that the response will be generic, unless some kind sould takes several minutes of their time to explain it to you. First i would recommend you this document: http://www.catb.org/~esr/faqs/smart-questions.html Now, about your question. You can create such an application in several ways, one of them is using AGI () and GET DATA command Regards On 7/13/06, Khaled Chehab <[EMAIL PROTECTED]> wrote: 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 -- "Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org"; ___ --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
Re: [asterisk-users] IVR DTMF
"...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
RE: [asterisk-users] IVR DTMF
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}) 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
Re: [asterisk-users] IVR DTMF
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}) 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
RE: [asterisk-users] IVR DTMF
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
Re: [asterisk-users] IVR DTMF
cd /var/lib/asterisk/agi-bin touch dtmf2txt.sh chmod +x dtmfivr.sh edit dtmf2txt.sh by Your favorite text editor i'm using mc -e dtfmivr.sh (this is onlu an example) #!/bin/bash digits=$1 number=$2 time=`date` echo "$time : $1" >> /home/dtmf2txt/$2.txt in extensions conf when DTMF are pressed You have to store pressed numbers in variable when full number is reached You have to execute bash script using System(/var/lib/asterisk/agi-bin/stmfivr.sh ${variable_with_number_pressed} ${calleridnum}) or AGI(/var/lib/asterisk/agi-bin/stmfivr.sh ${variable_with_number_pressed} ${calleridnum}) then make some test : does System / AGI is executed ? doeas script create proper files ? 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 ___ --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
Re: [asterisk-users] IVR DTMF
At /var/lib/asterisk/agi-bin/dtmfivr.sh for example After that what should I do read this book? http://www.asteriskdocs.org/modules/tinycontent/index.php?id=11 this webpage http://www.voip-info.org/ 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