Error in sending sms to oversea mobile number by using Kannel gateway

2011-01-11 Thread Sambath Prum
I'm in Cambodia, and I'm currently able to use kannel gateway to send sms to local mobile numbers. However, I run into an error why trying to send SMS to oversea mobile number (Singapore mobile number). If I take out my sim card and place into a phone, I'm able to send the SMS to oversea. The

Re: Error in sending sms to oversea mobile number by using Kannel gateway

2011-01-11 Thread Emmanuel CHANSON
Hello, Maybe you can try by url-encode your request: *** http://localhost:13013/cgi-bin/sendsms?username=testerpassword=foobarfrom=

Re: Error in sending sms to oversea mobile number by using Kannel gateway

2011-01-11 Thread Sambath Prum
Dear Emmanuel, Yes, it works. I can send the SMS now. I use SMSLib library to send the SMS. So which kind of ending I set in order to get %2B in the phone number. Below is my code snippet (C#) to send the SMS. Service service = new Service; KannelHTTPGateway gatway = new KannelHTTPGateway

Re: Error in sending sms to oversea mobile number by using Kannel gateway

2011-01-11 Thread Emmanuel CHANSON
I don't think it is linked to SMS encoding (ie UCS or 7bit or 8 bit or..) but it is URL encoding, I think you have to hard code the fact that + is replaced by %2B in your request. Emmanuel 2011/1/12 Sambath Prum psb.samb...@gmail.com Dear Emmanuel, Yes, it works. I can send the SMS now. I

Re: Error in sending sms to oversea mobile number by using Kannel gateway

2011-01-11 Thread Sambath Prum
Dear Emmanuel, I just hard code the encoding in my system, and it works fine now. I really appreciate your help. Thank you. Sambath On Wed, Jan 12, 2011 at 12:07 PM, Emmanuel CHANSON emmanuelchan...@gmail.com wrote: I don't think it is linked to SMS encoding (ie UCS or 7bit or 8 bit or..)