Error while setting up SMS

I am trying to set-up sms from The sms hppt api they provided is: message is best&sender=SAREEN&route=4

The settings i saved is: click here for the screenshot

The official API webpage for LINK .

I am getting an error while sending the sms.

Traceback (innermost last):
  File "/home/frappe/frappe-bench/apps/frappe/frappe/", line 57, in application
    response = frappe.handler.handle()
  File "/home/frappe/frappe-bench/apps/frappe/frappe/", line 19, in handle
  File "/home/frappe/frappe-bench/apps/frappe/frappe/", line 36, in execute_cmd
    ret =, **frappe.form_dict)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/", line 806, in call
    return fn(*args, **newargs)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/", line 67, in runserverobj
    frappe.desk.form.run_method.runserverobj(method, docs=docs, dt=dt, dn=dn, arg=arg, args=args)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/desk/form/", line 35, in runserverobj
    r = doc.run_method(method)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/", line 566, in run_method
    return Document.hook(fn)(self, *args, **kwargs)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/", line 722, in composer
    return composed(self, method, *args, **kwargs)
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/", line 705, in runner
    add_to_return_value(self, fn(self, *args, **kwargs))
  File "/home/frappe/frappe-bench/apps/frappe/frappe/model/", line 560, in 
    fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  File "/home/frappe/frappe-bench/apps/erpnext/erpnext/selling/doctype/sms_center/", line 79, in send_sms
    send_sms(receiver_list, cstr(self.message))
  File "/home/frappe/frappe-bench/apps/erpnext/erpnext/setup/doctype/sms_settings/", line 66, in send_sms
  File "/home/frappe/frappe-bench/apps/erpnext/erpnext/setup/doctype/sms_settings/", line 79, in send_via_gateway
    status = send_request(ss.sms_gateway_url, args)
  File "/home/frappe/frappe-bench/apps/erpnext/erpnext/setup/doctype/sms_settings/", line 96, in send_request
    conn.request('GET', api_url + urllib.urlencode(args), headers = headers)    # send request
  File "/usr/lib/python2.7/", line 1048, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python2.7/", line 1088, in _send_request
  File "/usr/lib/python2.7/", line 1044, in endheaders
  File "/usr/lib/python2.7/", line 888, in _send_output
  File "/usr/lib/python2.7/", line 850, in send
  File "/usr/lib/python2.7/", line 831, in connect
    self.timeout, self.source_address)
  File "/usr/lib/python2.7/", line 557, in create_connection
    for res in getaddrinfo(host, port, 0, SOCK_STREAM):
 gaierror: [Errno -2] Name or service not known

How to send sms to a specific contact… or any way to check the sms by sending it to a mobile number…