[Asterisk-Users] how to debug perl agi
Tzafrir Cohen
tzafrir at cohens.org.il
Tue Jul 12 16:03:44 MST 2005
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 at jbr.cohens.org.il | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir at cohens.org.il | | best
ICQ# 16849755 | | friend
More information about the asterisk-users
mailing list