SMS configuration

I want to configure the SMS settings. I have seen and used the info from an earlier thread by Nabin, but does not work for me. Can you please elaborate on the configuratins

Thanks

What have you set so far?

You will need to sign up with an SMS provider for this.

I used the following one which i directly found on the forum

SMS Gateway URL: http://api.mVaayoo.com/mvaayooapi/MessageCompose
Message Parameter: msgtxt
Recipient Parameter: receipientno

is there any other means, or free SMS providers?

No experience with SMS providers. Do you face any error?

These are the Errors
Traceback (innermost last):
File “/home/ubuntuuser/frappe-bench/apps/frappe/frappe/app.py”, line 49, in application
response = frappe.handler.handle()
File “/home/ubuntuuser/frappe-bench/apps/frappe/frappe/handler.py”, line 66, in handle
execute_cmd(cmd)
File “/home/ubuntuuser/frappe-bench/apps/frappe/frappe/handler.py”, line 89, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/home/ubuntuuser/frappe-bench/apps/frappe/frappe/init.py”, line 531, in call
return fn(*args, **newargs)
File “/home/ubuntuuser/frappe-bench/apps/frappe/frappe/handler.py”, line 19, in runserverobj
frappe.widgets.form.run_method.runserverobj(method, docs=docs, dt=dt, dn=dn, arg=arg, args=args)
File “/home/ubuntuuser/frappe-bench/apps/frappe/frappe/widgets/form/run_method.py”, line 35, in runserverobj
r = doc.run_method(method)
File “/home/ubuntuuser/frappe-bench/apps/frappe/frappe/model/document.py”, line 412, in run_method
return Document.hook(fn)(self, *args, **kwargs)
File “/home/ubuntuuser/frappe-bench/apps/frappe/frappe/model/document.py”, line 493, in composer
return composed(self, method, *args, **kwargs)
File “/home/ubuntuuser/frappe-bench/apps/frappe/frappe/model/document.py”, line 476, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/ubuntuuser/frappe-bench/apps/frappe/frappe/model/document.py”, line 406, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/ubuntuuser/frappe-bench/apps/erpnext/erpnext/selling/doctype/sms_center/sms_center.py”, line 77, in send_sms
send_sms(receiver_list, cstr(self.message))
File “/home/ubuntuuser/frappe-bench/apps/erpnext/erpnext/setup/doctype/sms_settings/sms_settings.py”, line 66, in send_sms
ret = send_via_gateway(arg)
File “/home/ubuntuuser/frappe-bench/apps/erpnext/erpnext/setup/doctype/sms_settings/sms_settings.py”, line 80, in send_via_gateway
resp.append(send_request(ss.sms_gateway_url, args))
File “/home/ubuntuuser/frappe-bench/apps/erpnext/erpnext/setup/doctype/sms_settings/sms_settings.py”, line 92, in send_request
conn.request(‘GET’, api_url + urllib.urlencode(args), headers = headers) # send request
File “/usr/lib/python2.7/httplib.py”, line 973, in request
self._send_request(method, url, body, headers)
File “/usr/lib/python2.7/httplib.py”, line 1007, in _send_request
self.endheaders(body)
File “/usr/lib/python2.7/httplib.py”, line 969, in endheaders
self._send_output(message_body)
File “/usr/lib/python2.7/httplib.py”, line 829, in _send_output
self.send(msg)
File “/usr/lib/python2.7/httplib.py”, line 791, in send
self.connect()
File “/usr/lib/python2.7/httplib.py”, line 772, in connect
self.timeout, self.source_address)
File “/usr/lib/python2.7/socket.py”, line 553, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
gaierror: [Errno -2] Name or service not known

These are the Errors
Traceback (innermost last):
File “/home/ubuntuuser/frappe-bench/apps/frappe/frappe/app.py”, line 49, in application
response = frappe.handler.handle()
File “/home/ubuntuuser/frappe-bench/apps/frappe/frappe/handler.py”, line 66, in handle
execute_cmd(cmd)
File “/home/ubuntuuser/frappe-bench/apps/frappe/frappe/handler.py”, line 89, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/home/ubuntuuser/frappe-bench/apps/frappe/frappe/init.py”, line 531, in call
return fn(*args, **newargs)
File “/home/ubuntuuser/frappe-bench/apps/frappe/frappe/handler.py”, line 19, in runserverobj
frappe.widgets.form.run_method.runserverobj(method, docs=docs, dt=dt, dn=dn, arg=arg, args=args)
File “/home/ubuntuuser/frappe-bench/apps/frappe/frappe/widgets/form/run_method.py”, line 35, in runserverobj
r = doc.run_method(method)
File “/home/ubuntuuser/frappe-bench/apps/frappe/frappe/model/document.py”, line 412, in run_method
return Document.hook(fn)(self, *args, **kwargs)
File “/home/ubuntuuser/frappe-bench/apps/frappe/frappe/model/document.py”, line 493, in composer
return composed(self, method, *args, **kwargs)
File “/home/ubuntuuser/frappe-bench/apps/frappe/frappe/model/document.py”, line 476, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/ubuntuuser/frappe-bench/apps/frappe/frappe/model/document.py”, line 406, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/ubuntuuser/frappe-bench/apps/erpnext/erpnext/selling/doctype/sms_center/sms_center.py”, line 77, in send_sms
send_sms(receiver_list, cstr(self.message))
File “/home/ubuntuuser/frappe-bench/apps/erpnext/erpnext/setup/doctype/sms_settings/sms_settings.py”, line 66, in send_sms
ret = send_via_gateway(arg)
File “/home/ubuntuuser/frappe-bench/apps/erpnext/erpnext/setup/doctype/sms_settings/sms_settings.py”, line 80, in send_via_gateway
resp.append(send_request(ss.sms_gateway_url, args))
File “/home/ubuntuuser/frappe-bench/apps/erpnext/erpnext/setup/doctype/sms_settings/sms_settings.py”, line 92, in send_request
conn.request(‘GET’, api_url + urllib.urlencode(args), headers = headers) # send request
File “/usr/lib/python2.7/httplib.py”, line 973, in request
self._send_request(method, url, body, headers)
File “/usr/lib/python2.7/httplib.py”, line 1007, in _send_request
self.endheaders(body)
File “/usr/lib/python2.7/httplib.py”, line 969, in endheaders
self._send_output(message_body)
File “/usr/lib/python2.7/httplib.py”, line 829, in _send_output
self.send(msg)
File “/usr/lib/python2.7/httplib.py”, line 791, in send
self.connect()
File “/usr/lib/python2.7/httplib.py”, line 772, in connect
self.timeout, self.source_address)
File “/usr/lib/python2.7/socket.py”, line 553, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
gaierror: [Errno -2] Name or service not known

Seems like your SMS settings are not correct.