Beispiel #1
0
	loop.run()

# Parse all arguments
else:
	for opt, arg in opts:	

		if opt == "--help":
			printHelp()

		#
		# info options
		#

		# Get all accounts
		elif opt == "--gaa":
			for account in sflphone.getAllAccounts():
				print account

		# Get all registered accounts
		elif opt == "--gara":
			for account in sflphone.getAllRegisteredAccounts():
				print account

		# Get all enabled accounts
		elif opt == "--gaea":
			for account in sflphone.getAllEnabledAccounts():
				print account

		# Get all SIP accounts
		elif opt == "--gasa":
			for account in sflphone.getAllSipAccounts():