Re: SMS Reply failure in Khmer language with echo and with sendsms

2015-05-28 Thread Nasir Javaid
Thanks dear, I will check this in first place to see the user and then set appropriate permissions. Will update the results here. On Thu, May 28, 2015 at 7:05 AM, Balland Serge serge.ball...@soprabanking.com wrote: Hi, Add in your php script a exec command whoami, or call a shell script

Re: SMS Reply failure in Khmer language with echo and with sendsms

2015-05-27 Thread Nasir Javaid
Yup... I know about linux users but confused how to give permissions to kannel user? as chmod is used for the users that are already on linux system. now kannel can run new_smsreceiver.php via get-url without and issue... and the code inside new_smsreceiver.php works fine as it explodes the

Re: SMS Reply failure in Khmer language with echo and with sendsms

2015-05-27 Thread Nasir Javaid
Thank you rene, I don't think I am running php in safe mode as it is running as standard. Anyways I will try your method to check. Isn;t there any was I can send reply in Khmer language using php echo command by setting some variables in kannel.conf file? On Wed, May 27, 2015 at 10:28 PM, Rene

RE: SMS Reply failure in Khmer language with echo and with sendsms

2015-05-27 Thread Rene Kluwen
This isn’t really a Kannel issue. But maybe you run php in safe mode or something like that. But maybe you can try instead of the system call: $dummy = file_get_contents(

RE: SMS Reply failure in Khmer language with echo and with sendsms

2015-05-27 Thread Balland Serge
Hi, Add in your php script a exec command whoami, or call a shell script with this command. You redirect in a logfile. Of course your script, logfile should be in chmod 777. You will know which user launch your script, then just add right to the user. De : users

Re: SMS Reply failure in Khmer language with echo and with sendsms

2015-05-26 Thread Nasir Javaid
Thank you so much for replying, but as get-url is calling new_smsreceiver.php and that php is working so how could I know which user is being used? which kannel user you mean... there is only the sendsms user in kannel and it does not exist in system. I am newbie in this stuff so please a little

Re: SMS Reply failure in Khmer language with echo and with sendsms

2015-05-26 Thread Alvaro Cornejo
Hi I'm referring to Linux user. Kannel boxes are usually ran by kannel user. Therefore kannel user should have permission to execute your new_smsreceiver.php. When you run it from command line, you are running it with the user you have logged in. You can use chmod command in a console to change

SMS Reply failure in Khmer language with echo and with sendsms

2015-05-25 Thread Nasir Javaid
Dear All, I am having a strange issue. We have a service in which we receive sender's nickame in khmer language and reply him back via kannel. For example user sends r#វីរបុរសសួយថាង Now by setting mo-recode=true in smsbox config, we can receive and store the khmer font properly in db. But the

Re: SMS Reply failure in Khmer language with echo and with sendsms

2015-05-25 Thread Alvaro Cornejo
Hi Check permissions. Kannel user might not have permit to execute lynx. Regards Alvaro |-| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en