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

Bruce Reeves nortexnetworks at gmail.com
Tue Mar 4 07:00:34 CST 2008


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 Sharma
<prashant.ruby at gmail.com> wrote:
> 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 Mon, Mar 3, 2008 at 10:43 PM, Tilghman Lesher
> <tilghman at mail.jeffandtilghman.com> 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 logger.c and configure a line
> to
> > send logs to an HTTP POST (via logger.conf), with the
> > pbx_substitute_variables_helper function, using the ${CURL()} function
> > directly.  You may need to "preload => func_curl.so" in modules.conf, but
> > that will work well.
> >
> >
> >
> >
> > --
> > Tilghman
> >
> > _______________________________________________
> > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> >   http://lists.digium.com/mailman/listinfo/asterisk-users
> >
>
>
> _______________________________________________
>  -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
>  asterisk-users mailing list
>  To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



-- 
Bruce Reeves
Nortex Networks



More information about the asterisk-users mailing list