On Tue, Jul 12, 2005 at 05:42:37AM -0700, Kamran Ahmad
wrote:> hello
>
> i am trying to develop perl application for asterisk
> with radius accounting how can i debug that weather
> callback is working when call is stoped.
>
> how can i check this
>
> syslog('info', 'hello Asterisk!');
That should go into the syslog for the facility "user". It may end up
on
/var/log/messages , /var/log/user.log or whereever your system sends
such log entries.
But why not print to STDERR? IIRC the stderr of AGI scripts goes to the
asterisk console.
--
Tzafrir Cohen | tzafrir@jbr.cohens.org.il | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir@cohens.org.il | | best
ICQ# 16849755 | | friend