[Asterisk-Users] A2billing warnings with new Asterisk 1.2

Vahan Yerkanian vahan at arminco.com
Sat Nov 19 00:19:29 MST 2005


Rafael R. GV wrote:
> Hi
> I have this 3 warnings running a2billling with asterisk new version:
> 
>   a2billing.php|2:
>     -- AGI Script Executing Application: (SetLanguage) Options: (en)
> Nov 18 12:06:19 WARNING[17440]: pbx.c:5435 pbx_builtin_setlanguage: 
> SetLanguage is deprecated, please use Set(LANGUAGE()=language) instead.
>   a2billing.php|2: UPDATE cc_card SET inuse=inuse+1 WHERE username='7938971'

This will change in the coming versions, I hope.

> Nov 18 12:06:29 WARNING[17440]: file.c:583 ast_readaudio_callback: 
> Failed to write frame
>     -- Playing 'prepaid-enter-dest' (language 'en')
>   a2billing.php|2: RES DTMF : -1
>   a2billing.php|2: DESTINATION ::> -1
>   a2billing.php|2: APPLY_RULES DESTINATION ::> -1
> 
> Nov 18 12:06:29 WARNING[17440]: file.c:583 ast_readaudio_callback: 
> Failed to write frame
>   == Spawn extension (default, 19546387993, 2) exited non-zero on 
> 'SIP/46836-08e03d40'
> 
> The last two warnings appears every time I hungup and I this 
> non-standard stop of the application causes that the card remains in 
> 'in-use' > 0 status.
 >
 > rafael

These two indicate that one leg of call is non-existent (you hangup). 
The issue with 'in-use' goes away if you add PCNTL module to your php 
cli version.

HTH,
Vahan




More information about the asterisk-users mailing list