On May 26, 2010, at 8:54 PM, <[email protected]> 
<[email protected]> wrote:

> Hello all,
>  
>                 The credit card dtmf app is almost done, but I’ve hit a 
> roadblock.  I’ve successfully been able to collect all of the data and even 
> had Allison do some voiceovers.  The problem is that CURL in astlinux (or 
> Asterisk in general) does not support https.  Asterisk does in 1.6.2 or 
> something.  I’ve also tried using curl in php through an agi script with no 
> luck:
>  
> AGI Rx << <b>Fatal error</b>:  Call to undefined function curl_init() in 
> <b>/stat/var/lib/asterisk/agi-bin/runcc.agi</b> on line <b>79</b><br />
>  
> Any ideas?

Quick and dirty is to use the --insecure option of curl, when that works there 
are a few different ways to specify the cert if you wish. (curl --help)

Possibly calling curl via an AGI written with bash may be your best bet.

A very simple example of a bash AGI:
http://lonnie.abelbeck.com/astlinux/cnam-fix.agi.txt

Info:
http://lonnie.abelbeck.com/astlinux/info/cnamfix.php

Lonnie


>  
> Thanks,
>   Eric

------------------------------------------------------------------------------

_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
[email protected].

Reply via email to