#!/bin/bash /usr/scripts/python.sh
# -*- coding: utf-8 -*-

import sys
from sip.asterisk import Profile

if __name__ == '__main__' :
	if len(sys.argv)>1:
		profile = Profile()
		sys.stdout.write(profile.alias_to_num(sys.argv[1]))
	else:
		print >> sys.stderr, "Usage %s {alias}" % sys.argv[0]
