Hi there! So I was at the offices of a bank today doing some work to their webpage, and I needed Internet Connectivity, so the networking guy told me to simply run the following .bat file: REGEDIT4 ; @ECHO OFF ; CLS ; REGEDIT.EXE /S "%~f0" ; EXIT [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings] "ProxyEnable"=dword:00000001 "ProxyHttp1.1"=dword:00000001 "ProxyServer"="10.1.9.237:9090" "ProxyOverride"="localhost;127.0.0.1;10.0.0.0/8;*banesco*;*intra.banesco.com;<local>" Didn´t work, it was time for me to go Home anyways so I left. To my surprise, when I got home I didn´t have any Internet connection with Google Chrome nor Firefox, and have to use the dreaded IE to post this. Also, everytime I try …

Member Avatar
Member Avatar
+0 forum 1

Hello. I'm currently developing an IVR system under Asterisk through the Asterisk Gateway Interface (AGI), connecting to a Mysql server using the Mysql C API. The server returns a ticket number that I have to say to the client, so I developed a TTS (Text To Speech) algorithm to say a specific number (13000) to the client for testing, by using the AGI application Stream File, and playing two sound files back to back, thirteen.gsm and thousand.gsm, so the caller can hear the ticket number "Thirteen Thousand" The problem is this: on the Asterisk debug console I can see that …

Member Avatar
Member Avatar
+1 forum 4

I'm trying to get some user data into an INSERT query using the Mysql C API (don't know if this belongs rather in the Mysql forum, let me know...) I have the following code taking some pointers from the Mysql webpage forum, but to no avail: [CODE] #include <mysql.h> #include <stdio.h> #include <stdlib.h> int main() { char *server = "localhost"; char *user = "root"; char *password = /* password to acces mysql */; char *database = "palabra"; char Name[] = "test"; char *cmd; cmd=malloc(1024); sprintf(cmd, "INSERT INTO prueba VALUES(%s)", Name); MYSQL *conn; conn=mysql_init(NULL); mysql_real_connect(conn, server, user, password, database, 0, NULL, …

Member Avatar
Member Avatar
+0 forum 3

I have a makefile that creates a certain executable. This executable has to be in a certain directory to be able to run, so everytime I compile and make, i have to move it manually Is there any way to tell the makefile to also move the file to a location. For example, "test" is the output, what is the instruction to move from /home/user/Desktop to /var/lib/asterisk Thanks

Member Avatar
Member Avatar
+0 forum 4

how would this be done [CODE]int main(void) { char string[]="231 number 73 word 1 2"; char *ele; ele=strtok(string," "); while (ele != NULL) { if (*ele == '0' || *ele == '1' || *ele == '2' || *ele == '3' || *ele == '4' || *ele == '5' || *ele == '6' || *ele == '7' || *ele == '8' || *ele == '9') TTS(ele); else printf("%s\n", ele); ele=strtok(NULL," "); } return 0; }[/CODE] I'm trying to separate the words from the numbers. So when tokenizing it encounters a number I can pass it to an array. the TTS function …

Member Avatar
Member Avatar
+0 forum 2

So I'm using Mysql to make a text-to-speech engine. Basically any given phrase by the database is returned to my script, which has to say every word and number, if any, by way of voice . For the voices I'm using Asterisk, but that's another problem of my own lol The problem I'm having is this: the sql results are given in way of arrays, like this: char test[10][20] so test[0] is the first line of query, test[1] second and so on. So I just use the strtok function on the array using " " (space) as the tokenizer and …

Member Avatar
Member Avatar
+0 forum 4

The End.