#!/usr/bin/env python
"""
config.py 
please make sure your webserver user was added to group dialout
make sure serial set permission to 660 with group dialout
"""

def success():
    print "Success to send!"


serial = "/dev/serial/by-id/usb-Prolific_Technology_Inc._USB-Serial_Controller-if00-port0"
recipient = '+6289610707901'
message = "Neng...!!! ieu mamah pake HP batur.. mamah keur aya masalah di kantor polisi.. mamah menta tulung pang nganteurkeun cai sa ember... inget cai sa ember ... lain pulsa...pulsa mah loba keneh...mamah keur milu ngising di kantor polisi... caina saat ... burukeun ulah seuri... mamah can cebok yeuh, inget nya neng.. cai sa ember ..!!! lain pulsa...!!! mamah geus cangkeul nagog"
port = 8181
timeout = 30


urlapi = "http://urltoapi/"
rcptparamapi = "&msisdn"
msgparamapi = "&message"

mongohost = "localhost"
mongoport = 27017

@@ -787,16 +787,17 @@
 %22&msisdn
+=
 %22%0Amsgpar
@@ -813,16 +813,17 @@
 &message
+=
 %22%0A%0Amongo

add =