Beispiel #1
0
		# 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():
				print account

		# Get all IAX accounts
		elif opt == "--gaia":
			for account in sflphone.getAllIaxAccounts():
				print account

		# Get current call
		elif opt == "--gcc":
			call = sflphone.getCurrentCallID()