Hi dears,

I am using kannel sms gateway on my ubuntu 12.04 server, it uses the below format to send sms
http://127.0.0.1:13013/cgi-bin/sendsms?username=userxxx&password=passxx&to=xxxxxxxxx&text=text message

so I modified my sms_manager.rb request line as below

request = "#{@sms_url}?username=#{@username}&password=#{@password}&to=#{@phone}&text=#{@message}#{@additional_param}&#{@phone_mapping}="

and my sms_settings.rb is as below

sms_settings:
username: ansikannel
password: ansikannel
sendername: admin
host_url: http://127.0.0.1:13013/cgi-bin/sendsms
success_code: "success"
phone: phone2 //field name where mobile number stored in database
message: message

parameter_mappings:
username: username
password: password
sendername: sendername
message: message
phone: phone2Empty receiver number not allowed, rejected

# Additional parameters to be added should given in the format "param1=value1&param2=value2&..."
additional_parameters: ""

now if I write the phone number e.g 1234567 in sms_manager.rb request line,e.g below
request = "#{@sms_url}?username=#{@username}&password=#{@password}&to=12345678&text=#{@message}#{@additional_param}&#{@phone_mapping}="
the it send sms correctly, but if I write the variable as I need that fedena automatically send sms to appropriate student or employee then it give me the error.

Empty receiver number not allowed, rejected
Pls someone help me as I am stuck here for few days.
Try

request = "#{@sms_url}?username=#{@username}&password=#{@password}&to=12345678&text=#{@message}&#{@additional_param}&#{@phone_mapping}="