Ok, I have spent that past 4 - 5hrs working (trying to) figure some AGI syntax out in perl. Maybe I'm Looney / slow or what I don't know, but I am lost. I need to figure out how to send STDIN into the script. I understand the concept of it, but lost when it comes down to it. No matter what I try with standard <stdin> The app completes on me before I can ever enter in keys. I have tried to use the [WAIT FOR DIGIT] application, but that does not appear to get me anywhere. If I could get some pointers, just to get me going that would be great. I want to be able to have the keys entered on the phone and the ASCII text come back to me where I can manipulate that data. I'm sure it's simple, I just not getting the whole (big) picture.... Any help will be greatly appreciated.... -gcc
On Thu, 27 Nov 2003, PBX wrote:> I have spent that past 4 - 5hrs working (trying to) figure some AGI > syntax out in perl. Maybe I'm Looney / slow or what I don't know, but I > am lost. I need to figure out how to send STDIN into the script. I > understand the concept of it, but lost when it comes down to it. No > matter what I try with standard <stdin> The app completes on me before I > can ever enter in keys. I have tried to use the [WAIT FOR DIGIT] > application, but that does not appear to get me anywhere. > > If I could get some pointers, just to get me going that would be great. > I want to be able to have the keys entered on the phone and the ASCII > text come back to me where I can manipulate that data. I'm sure it's > simple, I just not getting the whole (big) picture.... > > Any help will be greatly appreciated....have you tried citats asterisk-perl package? http://asterisk.gnuinter.net - wasim
http://asterisk.gnuinter.net Jeremy McNamara PBX wrote:>Ok, > >I have spent that past 4 - 5hrs working (trying to) figure some AGI >syntax out in perl. Maybe I'm Looney / slow or what I don't know, but I >am lost. I need to figure out how to send STDIN into the script. I >understand the concept of it, but lost when it comes down to it. No >matter what I try with standard <stdin> The app completes on me before I >can ever enter in keys. I have tried to use the [WAIT FOR DIGIT] >application, but that does not appear to get me anywhere. > >If I could get some pointers, just to get me going that would be great. >I want to be able to have the keys entered on the phone and the ASCII >text come back to me where I can manipulate that data. I'm sure it's >simple, I just not getting the whole (big) picture.... > >Any help will be greatly appreciated.... > >-gcc >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users > >
Thank you.. I had found this package earlier in the evening... I guess I just need a Big Jolt of Caffine... I got it rollin now... Thanks again -gcc -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Jeremy McNamara Posted At: Thursday, November 27, 2003 2:06 AM Posted To: Asterisk User Group Conversation: [Asterisk-Users] AGI - Freakin Lost Subject: Re: [Asterisk-Users] AGI - Freakin Lost http://asterisk.gnuinter.net Jeremy McNamara PBX wrote:>Ok, > >I have spent that past 4 - 5hrs working (trying to) figure some AGI >syntax out in perl. Maybe I'm Looney / slow or what I don't know, but >I am lost. I need to figure out how to send STDIN into the script. I >understand the concept of it, but lost when it comes down to it. No >matter what I try with standard <stdin> The app completes on me before >I can ever enter in keys. I have tried to use the [WAIT FOR DIGIT] >application, but that does not appear to get me anywhere. > >If I could get some pointers, just to get me going that would be great.>I want to be able to have the keys entered on the phone and the ASCII >text come back to me where I can manipulate that data. I'm sure it's >simple, I just not getting the whole (big) picture.... > >Any help will be greatly appreciated.... > >-gcc >_______________________________________________ >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users > >_______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users