import json
+from os import getpid,uname
from pprint import pprint
+client_name='agi-'+uname()[1]+'-'+str(getpid())
+print client_name
+
conffile, topic = sys.argv[1:3]
config = ConfigParser()
# done
agi_exit(0)
-client = paho.Client('agi')
+client = paho.Client(client_name)
client.username_pw_set(mqtt_username, mqtt_password)
client.connect(mqtt_server, port=mqtt_port)
client.on_connect = on_connect