This file is indexed.

/usr/bin/py-asterisk is in python-asterisk 0.5.2-1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#! /usr/bin/python

'''
py-asterisk: User interface to Asterisk.CLI.
'''

__author__ = 'David Wilson'
__id__ =     '$Id$'

import Asterisk, Asterisk.Manager, Asterisk.CLI
import sys, os, getopt




progname = os.path.basename(sys.argv[0])

try:
    sys.exit(Asterisk.CLI.command_line(sys.argv))

except Asterisk.CLI.ArgumentsError, error:
    print >> sys.stderr, progname, 'error:', str(error)
    Asterisk.CLI.usage(progname, sys.stderr)

except Asterisk.BaseException, error:
    print >> sys.stderr, progname, 'error:', str(error)

except IOError, error:
    print >> sys.stderr, '%s: %s: %s' %\
        ( progname, error.filename, error.strerror )

except getopt.GetoptError, error:
    print >> sys.stderr, '%s: %s' %\
        ( progname, error.msg )

    Asterisk.CLI.usage(progname, sys.stderr)