What is the proper entry point for asterisk app_rpt?

If ohnosec is it, then quite frankly it is completely incoherent - even for seasoned linux folks.

thanks
s