yes! it works very well now, I used this to re-compile php with pcntl:<br>
<br>
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql
--with-mysql-sock=/tmp --with-pgsql=/usr/local/pgsql/ --with-zlib
--with-gd --enable-pcntl<br>
<br>
thank you again Vahan<br>
<br>
rafael<br>
<br><br><div><span class="gmail_quote">On 11/19/05, <b class="gmail_sendername">Vahan Yerkanian</b> <<a href="mailto:vahan@arminco.com">vahan@arminco.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Rafael R. GV wrote:<br>> Hi<br>> I have this 3 warnings running a2billling with asterisk new version:<br>><br>> a2billing.php|2:<br>> -- AGI Script Executing Application: (SetLanguage) Options: (en)<br>
> Nov 18 12:06:19 WARNING[17440]: pbx.c:5435 pbx_builtin_setlanguage:<br>> SetLanguage is deprecated, please use Set(LANGUAGE()=language) instead.<br>> a2billing.php|2: UPDATE cc_card SET inuse=inuse+1 WHERE username='7938971'
<br><br>This will change in the coming versions, I hope.<br><br>> Nov 18 12:06:29 WARNING[17440]: file.c:583 ast_readaudio_callback:<br>> Failed to write frame<br>> -- Playing 'prepaid-enter-dest' (language 'en')
<br>> a2billing.php|2: RES DTMF : -1<br>> a2billing.php|2: DESTINATION ::> -1<br>> a2billing.php|2: APPLY_RULES DESTINATION ::> -1<br>><br>> Nov 18 12:06:29 WARNING[17440]: file.c:583 ast_readaudio_callback:
<br>> Failed to write frame<br>> == Spawn extension (default, 19546387993, 2) exited non-zero on<br>> 'SIP/46836-08e03d40'<br>><br>> The last two warnings appears every time I hungup and I this<br>> non-standard stop of the application causes that the card remains in
<br>> 'in-use' > 0 status.<br> ><br> > rafael<br><br>These two indicate that one leg of call is non-existent (you hangup).<br>The issue with 'in-use' goes away if you add PCNTL module to your php<br>cli version.
<br><br>HTH,<br>Vahan<br><br></blockquote></div><br><br clear="all"><br>-- <br><br>rrgv