Module Expr Str ImportFrom alias alias alias alias alias ImportFrom alias alias ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias alias alias alias Import alias alias alias alias Assign NameStore Call AttributeLoad NameLoad attr Str ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore BinOpMod Str TupleLoad Call NameLoad AttributeLoad NameLoad attr SubscriptLoad ListLoad Str Str Index CompareEq Call NameLoad AttributeLoad NameLoad attr Num If CompareNotEq Call NameLoad NameLoad Num body AugAssignAdd NameStore Str Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad AttributeLoad NameLoad attr If CompareEq Call NameLoad AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Import alias alias Assign NameStore NameLoad While NameLoad body Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr For NameStore AttributeLoad NameLoad attr body If CompareEq NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assign NameStore NameLoad Return NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str keyword Lambda arguments args NameParam NameParam defaults Call AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str Return Call AttributeLoad Call AttributeLoad Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Str keyword Num keyword NameLoad keyword Num attr AttributeLoad NameLoad attr keyword NameLoad attr AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str Num body Expr Str decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpMod Str TupleLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str keyword Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list Expr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword Num attr NameLoad NameLoad Return NameLoad decorator_list Return Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr ImportFrom alias Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr
N/A N/A Simple HTTP Server using twisted.web2 nevow rend appserver inevow tags loaders twisted.application service internet twisted.internet reactor defer starpy manager fastagi utilapplication basicproperty common basic propertied weak N/A os logging pprint time N/A log N/A N/A logging getLogger autosurvey Application N/A N/A utilapplication UtilApplication N/A N/A Services provided at the application level N/A surveys N/A N/A common DictionaryProperty surveys Set of surveys indexed by survey/extension number N/A Survey N/A N/A propertied Propertied N/A N/A Models a single survey to be completed N/A surveyId N/A N/A common IntegerProperty surveyId Unique identifier for this survey N/A owner N/A N/A basic BasicProperty owner Owner's phone number to which to connect N/A questions N/A N/A common ListProperty questions Set of questions which make up the survey N/A YOU_CURRENTLY_HAVE vm-youhave N/A QUESTIONS_IN_YOUR_SURVEY vm-messages N/A QUESTION_IN_YOUR_SURVEY vm-message N/A TO_LISTEN_TO_SURVEY_QUESTION to-listen-to-it N/A TO_RECORD_A_NEW_SURVEY_QUESTION to-rerecord-it N/A TO_FINISH_SURVEY_SETUP vm-helpexit setupSurvey N/A N/A self agi N/A N/A N/A AGI application to allow the user to set up the survey
		
		Screen 1:
			You have # questions.
			To listen to a question, press the number of the question.
			To record a new question, press pound.
			To finish setup, press star.
		 N/A seq N/A N/A fastagi InSequence N/A N/A N/A seq append N/A agi wait 2 N/A base N/A You currently have %s question%s.
		To listen to a question press the number of the question.
		To record a new question, press pound.
		To finish survey setup, press star.
		 N/A N/A len N/A self questions N/A N/A s N/A N/A N/A len N/A self questions 1 N/A N/A N/A len base 1 N/A N/A base s N/A base N/A N/A join N/A N/A base split N/A N/A N/A seq append N/A agi execute Festival base N/A N/A N/A seq append N/A agi finish N/A N/A seq N/A N/A N/A seq append N/A agi streamFile N/A self YOU_CURRENTLY_HAVE N/A N/A N/A seq append N/A agi sayNumber N/A len N/A self questions N/A N/A N/A len N/A self questions 1 N/A N/A N/A N/A seq append N/A agi streamFile N/A self QUESTION_IN_YOUR_SURVEY N/A N/A N/A N/A seq append N/A agi streamFile N/A self QUESTIONS_IN_YOUR_SURVEY N/A N/A N/A seq append N/A agi streamFile N/A self TO_LISTEN_TO_SURVEY_QUESTION N/A N/A N/A seq append N/A agi streamFile N/A self TO_RECORD_A_NEW_SURVEY_QUESTION N/A N/A N/A seq append N/A agi streamFile N/A self TO_FINISH_SURVEY_SETUP N/A N/A N/A seq append N/A agi finish N/A N/A seq N/A newQuestionId N/A N/A self N/A N/A N/A Return a new, unique, question id N/A random sys N/A bad True N/A bad N/A N/A bad False N/A id N/A N/A random randint 0 N/A sys maxint N/A question N/A self questions N/A N/A N/A id N/A N/A N/A question __dict__ get questionId N/A N/A bad True N/A id N/A N/A Question N/A N/A propertied Propertied N/A N/A survey N/A N/A weak WeakProperty survey Our survey object N/A questionId N/A N/A common IntegerProperty questionId Unique identifier for our question defaultFunction N/A N/A N/A prop client N/A N/A N/A N/A client survey newQuestionId recordQuestion N/A N/A self agi number N/A None N/A N/A Record a question (number) N/A N/A N/A N/A N/A N/A N/A agi recordFile N/A %s.%s N/A N/A N/A self survey surveyId N/A self questionId gsm #* timeout 60 beep True silence 5 addCallback N/A self onRecorded agi agi addErrback N/A self onRecordAborted agi agi N/A onRecorded N/A N/A self result agi N/A N/A N/A Handle recording of the question N/A N/A getManagerAPI N/A N/A username password server port N/A 127.0.0.1 5038 N/A N/A Retrieve a logged-in manager API N/A SurveySetup N/A N/A rend Page N/A N/A Page displaying the survey setup N/A addSlash True N/A docFactory N/A N/A loaders htmlfile index.html N/A RecordFunction N/A N/A rend Page N/A N/A Page/application to record survey via call to user renderHTTP N/A N/A self ctx N/A N/A N/A Process rendering of the request N/A request N/A N/A inevow IRequest ctx N/A channel N/A SIP/%s N/A N/A N/A N/A request args N/A ownerName N/A 0 N/A df N/A N/A N/A APPLICATION amiSpecifier login onLogin N/A N/A ami N/A N/A N/A userConnectDF N/A N/A APPLICATION waitForCallOn 23 timeout 15 N/A N/A N/A APPLICATION surveys N/A 23 survey N/A Survey N/A N/A N/A userConnectDF addCallback N/A survey setupSurvey onComplete N/A N/A result N/A N/A N/A N/A N/A ami logoff N/A N/A N/A N/A N/A N/A ami originate channel N/A N/A APPLICATION agiSpecifier context 23 1 timeout 14 addCallbacks onComplete onComplete N/A userConnectDF N/A N/A N/A N/A df addCallback onLogin N/A N/A main N/A N/A N/A N/A N/A Create the web-site N/A s N/A SurveySetup N/A N/A N/A s putChild record N/A RecordFunction N/A site N/A N/A appserver NevowSite s N/A webServer N/A N/A internet TCPServer 8080 site N/A N/A N/A webServer startService N/A N/A N/A __name__ __main__ N/A N/A N/A N/A logging basicConfig N/A N/A N/A log setLevel N/A logging DEBUG N/A N/A N/A N/A manager log setLevel N/A logging DEBUG N/A N/A N/A N/A fastagi log setLevel N/A logging DEBUG N/A APPLICATION N/A Application N/A N/A N/A N/A APPLICATION agiSpecifier run N/A APPLICATION dispatchIncomingCall twisted.internet reactor N/A N/A N/A reactor callWhenRunning main N/A N/A N/A reactor run