[asterisk-users] DTFM not recognise

2007-08-24 Thread Karim H
Hello,Maybe I don't understand what DTMF in ASCII means but I can't make my record stop using this syntax in a PHP agi script :fwrite(STDOUT, "RECORD FILE /var/lib/asterisk/ENR/jeanpaul wav '#' 15000 BEEP s=3000\n");The php syntax isn't a problem because I really start recording, I have a beep,

Re: [asterisk-users] MYSQL problem and configuration

2007-08-24 Thread Karim H
Hello,I am new to asterisk but i have vbeen scriptinh PHP SQL and webLanguages for a long time.I can Give you a solution but using php AGI:extensions.con-> AGI(connect.agi);/var/lib/asterisk/agi-bin/connect.agi :#!/usr/bin/php -q12");while($entry = mysql_fetch_array($result)) {fwrite(STERR

Re: [asterisk-users] [PHP-AGI] Problem executing script

2007-08-23 Thread Karim H
Problem resolved :Two things :1 - php agi instead of php-cli (I have apache running on my server too and it edits himself all the php.ini it finds)2 - Error using php-q it is amistake : php -q (of course =) )Their is a real problem with asterisk concerning errors in agi script.If there is an err

[asterisk-users] [PHP-AGI] Problem executing script

2007-08-23 Thread Karim H
Hello,I have succeded in compiling and configuring My TDM Card and asterisk, all works fine. But I have a problem using the PHP Agi.The CLI tells me that when I call my number :-- Starting simple switch on 'Zap/4-1'-- Executing [EMAIL PROTECTED]:1] Answer("Zap/4-1", "") in new stack-- Ex

Re: [asterisk-users] [beginner] Problem of detecting call

2007-07-25 Thread karim H
ll >Date: Wed, 25 Jul 2007 13:05:50 +0300 > >On Wed, Jul 25, 2007 at 09:32:43AM +, karim H wrote: > > Hello, > > I followed the advices, I add 'channel=>1' in my zapata.conf. > > But it still doesn't work, I rmmod wcfxo and rmmod zaptel. I add the &

Re: [asterisk-users] [beginner] Problem of detecting call

2007-07-25 Thread karim H
Asterisk Users Mailing List - Non-Commercial >Discussion >Subject: Re: [asterisk-users] [beginner] Problem of detecting call >Date: Wed, 25 Jul 2007 14:25:19 +0300 > >On Wed, Jul 25, 2007 at 10:51:54AM +, karim H wrote: > > Hello, > > First, thanks for your interest a

Re: [asterisk-users] [beginner] REinstall asterisk underubuntu/debian problems

2007-07-25 Thread karim H
[beginner] REinstall asterisk >underubuntu/debian problems >Date: Wed, 25 Jul 2007 19:11:20 +0530 > >You can do one thing >* completely remove asterisk by going to synaptic in GUI >* once done,you can again re install >dnt use apt-get to remove asterisk as it doesnt remove i

[asterisk-users] [beginner] REinstall asterisk under ubuntu/debian problems

2007-07-25 Thread karim H
n >To: asterisk-users@lists.digium.com >Subject: Re: [asterisk-users] [beginner] Problem of detecting call >Date: Tue, 24 Jul 2007 20:20:04 +0300 > >On Tue, Jul 24, 2007 at 03:44:29PM +, karim H wrote: > > Hello, > > I have some problem to start asterisk. >

Re: [asterisk-users] [beginner] Problem of detecting call

2007-07-25 Thread karim H
List - Non-Commercial >Discussion >To: asterisk-users@lists.digium.com >Subject: Re: [asterisk-users] [beginner] Problem of detecting call >Date: Wed, 25 Jul 2007 13:05:50 +0300 > >On Wed, Jul 25, 2007 at 09:32:43AM +, karim H wrote: > > Hello, > > I followed the advices, I

Re: [asterisk-users] [beginner] Problem of detecting call

2007-07-25 Thread karim H
found. [Jul 25 11:26:21] WARNING[9067]: res_smdi.c:722 load_module: No SMDI interfaces are available to listen on, not starting SDMI listener. Have you an idea of where the problem come from ?? Thanks a lot for your helps kheraud >From: Tzafrir Cohen <[EMAIL PROTECTED]> >Reply-To

[asterisk-users] [beginner] Problem of detecting call

2007-07-24 Thread karim H
Hello, I have some problem to start asterisk. First I have followed a lot of tutorials to complete correctly the install process. Now it works when I type zttool I can see when I am or not connected to the PSTN. But, I run asterisk with verbose and I can't see the call detection. There is no