Re: [asterisk-users] when we try to add CURL code to file channel.c we get an error - undefined reference to curl_easy_init

2008-03-04 Thread Bruce Reeves
I may be asking the wrong question, but if you want to capture the input and pass it to another process why not use the read application and store the input in a variable? Could you not pass that variable and use the curl function or an AGI to post it? On Mon, Mar 3, 2008 at 11:05 PM, Prashant Sha

Re: [asterisk-users] when we try to add CURL code to file channel.c we get an error - undefined reference to curl_easy_init

2008-03-03 Thread Prashant Sharma
Hi, Thanks but using the logger.c approach will allow the IVR to receive the digits in case 's' extension answers the call. That might result in the dial plan dialing an extension or going to the 'i' extension and hanging up. Ssorry about the confusion. Thanks & Regards Prashant Sharma On

Re: [asterisk-users] when we try to add CURL code to file channel.c we get an error - undefined reference to curl_easy_init

2008-03-03 Thread Tzafrir Cohen
On Mon, Mar 03, 2008 at 11:13:28AM -0600, Tilghman Lesher wrote: > On Monday 03 March 2008 07:18, Prashant Sharma wrote: > > I'm trying to make asterisk detect some DTMF digits during a call and post > > them (can't use WaitExten or Features.conf). > > I would suggest that you implement that in lo

Re: [asterisk-users] when we try to add CURL code to file channel.c we get an error - undefined reference to curl_easy_init

2008-03-03 Thread Tilghman Lesher
On Monday 03 March 2008 07:18, Prashant Sharma wrote: > I'm trying to make asterisk detect some DTMF digits during a call and post > them (can't use WaitExten or Features.conf). I would suggest that you implement that in logger.c and configure a line to send logs to an HTTP POST (via logger.conf),

Re: [asterisk-users] when we try to add CURL code to file channel.c we get an error - undefined reference to curl_easy_init

2008-03-03 Thread Prashant Sharma
Hi, I'm trying to make asterisk detect some DTMF digits during a call and post them (can't use WaitExten or Features.conf). Regards, Prashant On Mon, Mar 3, 2008 at 6:23 PM, Tilghman Lesher < [EMAIL PROTECTED]> wrote: > On Monday 03 March 2008 00:27:32 Prashant Sharma wrote: > > I just want to

Re: [asterisk-users] when we try to add CURL code to file channel.c we get an error - undefined reference to curl_easy_init

2008-03-03 Thread Prashant Sharma
Hi Greyman, Thank you very much for reply. But unfortunately even after adding these lines in the file 'channel.c' didn't help me. It gives 'undefined reference' for all curl functions. Should I check availability of any other file for these errors? Thanks & Regards Prashant Sharma On Mon, Ma

Re: [asterisk-users] when we try to add CURL code to file channel.c we get an error - undefined reference to curl_easy_init

2008-03-03 Thread Tilghman Lesher
On Monday 03 March 2008 00:27:32 Prashant Sharma wrote: > I just want to send a http post request to my website without changing the > dial plan. This doesn't make any sense. The dialplan is among the easiest and least bug-prone ways of adding a curl POST call. Why would you want to code this di

Re: [asterisk-users] when we try to add CURL code to file channel.c we get an error - undefined reference to curl_easy_init

2008-03-03 Thread Grey Man
On Mon, Mar 3, 2008 at 6:27 AM, Prashant Sharma <[EMAIL PROTECTED]> wrote: > Hi Tilghman, > > Thanks for taking interest in my problem. > > I just want to send a http post request to my website without changing the > dial plan. So I have added slightly modified http post code and some other > code

Re: [asterisk-users] when we try to add CURL code to file channel.c we get an error - undefined reference to curl_easy_init

2008-03-02 Thread Prashant Sharma
Hi Tilghman, Thanks for taking interest in my problem. I just want to send a http post request to my website without changing the dial plan. So I have added slightly modified http post code and some other code to channel.c got from . After adding the code I compiled the asterisk code and got the

Re: [asterisk-users] when we try to add CURL code to file channel.c we get an error - undefined reference to curl_easy_init

2008-02-29 Thread Tilghman Lesher
On Friday 29 February 2008 08:10:40 Prashant Sharma wrote: > When I try to add CURL code to file channel.c we get an error - undefined > reference to curl_easy_init. > I've added #include so the code compiles fine. > this error is generated by the linker, even though func_curl.c is compiled > and

[asterisk-users] when we try to add CURL code to file channel.c we get an error - undefined reference to curl_easy_init

2008-02-29 Thread Prashant Sharma
Hi all, When I try to add CURL code to file channel.c we get an error - undefined reference to curl_easy_init. I've added #include so the code compiles fine. this error is generated by the linker, even though func_curl.c is compiled and linked with no errors My asterisk machine have curl and cur