FrontlineSMS

FrontlineSMS let users send, receive and manage SMS over a mobile network.

Pablo A. Destefanis
Share on Facebook Share Twitter

Pablo A. Destefanis's Friends

  • Florence Scialom
  • Tom Marentette

Pablo A. Destefanis's Groups

Pablo A. Destefanis's Discussions

External command output: spaces replaced by "+" signs
4 Replies

Any idea if it is possible to escape/alter the way in which the external command alters the contents of ${message_content} ?Thank you,PabloContinue

Tags: spaces, sign, plus, command, external

Started this discussion. Last reply by Alex Anderson Feb 3, 2012.

IncomingMessageProcessor : messages blocking the queue, no more processing done ?
3 Replies

I've realized that sometimes a message can block the queue, to the point where the system cannot process any more messages. Incoming messages get stuck in the queue (behind the offending one, I…Continue

Tags: IncomingMessageProcessor, error, queue, processing

Started this discussion. Last reply by Alex Anderson Jan 18, 2012.

Implementation in Ethiopia - Open discussion
8 Replies

Hello everyone, I need to test a FLSMS-based application in Addis Ababa, which uses forms, external commands, some custom DB access, and hopefull local SMPP link (if Ethio Telecom gets its act in…Continue

Started this discussion. Last reply by Pablo A. Destefanis Jan 12, 2012.

Gifts Received

Gift

Pablo A. Destefanis has not received any gifts yet

Give a Gift

 

Pablo A. Destefanis's Page

Latest Activity

Alex Anderson replied to Pablo A. Destefanis's discussion External command output: spaces replaced by "+" signs
"Hi Pablo, URL-encoding a plus sign should change it into the character sequence "%2b", so you should still be able to distinguish it from spaces. E.g.+<space>+ becomes %2B+%2B Is this different to what you're seeing? Alex"
Feb 3, 2012
Pablo A. Destefanis replied to Pablo A. Destefanis's discussion External command output: spaces replaced by "+" signs
"Probably the easiest thing to do will be to tweak FrontlineUtils.java and change the + signs that I wish to keep into something else before calling URLDecoder.decode() I see that URLDecoder.decode() is also called in SMSGatewayProxy.java but…"
Feb 2, 2012
Pablo A. Destefanis replied to Pablo A. Destefanis's discussion External command output: spaces replaced by "+" signs
"Hi Alex, I've just seen your reply. Do you know if there is any way to change the way in which spaces are encoded? I'm trying to use the + sign to indicate an operation (as entered by the user), and when the enconder kicks in I may end up…"
Feb 2, 2012
Alex Anderson replied to Pablo A. Destefanis's discussion External command output: spaces replaced by "+" signs
"Hi Pablo, External command url-encodes the ${message_content} variable (using http://docs.oracle.com/javase/1.5.0/docs/api/java/net/URLEncoder.html#encode%28java.lang.String,%20java.lang.String%29 with UTF-8). Most scripting languages will have a…"
Jan 18, 2012
Alex Anderson replied to Pablo A. Destefanis's discussion IncomingMessageProcessor : messages blocking the queue, no more processing done ?
"Hi Pablo, It looks like this is a bug in the handling of delivery reports.  We'll look into getting it fixed, but for now you may find that disabling these reports will stop the issue occurring.  You can do this via the settings for…"
Jan 18, 2012
Pablo A. Destefanis posted a discussion

External command output: spaces replaced by "+" signs

Any idea if it is possible to escape/alter the way in which the external command alters the contents of ${message_content} ?Thank you,PabloSee More
Jan 17, 2012
Johnathon Hunter replied to Pablo A. Destefanis's discussion IncomingMessageProcessor : messages blocking the queue, no more processing done ?
"I wonder if this is related to the issue I'm having. Sounds quite familiar, I leave my system unattended which then leads to messages being stuck on "Pending". Regards, Johnathon"
Jan 13, 2012
Pablo A. Destefanis replied to Pablo A. Destefanis's discussion Implementation in Ethiopia - Open discussion
"Bought them abroad. I may be going later in the year, and could bring some with me if you need them."
Jan 12, 2012

Profile Information

Tell us about you. (Please also add an image to your profile)
Systems/Comms Engineer with a keen interest in ICT for development, and how technology can improve people's life; working internationally since 2002 mainly in Africa and Latin America.

Comment Wall (2 comments)

You need to be a member of FrontlineSMS to add comments!

Join FrontlineSMS

At 10:40am on November 18, 2009, Pablo A. Destefanis said…
Obrigado, Antonio. Intao si e possivel de utilizar as palavras chaves quando voçe não utilitza un modem ligado diretamento a FLSMS, com os SMS chegando direitamente de un SMS gateway. Vou tentar isso novamente. Tentei ontem com IntelliSMS, mais os comandos não foi essecutados.
Ken respondio-me que não e possibel utilizar fomrs+SMS gateway, só pode si o modem(GSM) e ligado a FLSMS.
Vou pegar uma olhada a o SMS Studio.

Obrigado,

Pablo
At 7:39am on November 18, 2009, Antonio said…
Olá Pablo,
Utilizei FrontlineSMS com IntelliSMS so como teste e conseguí enviar e receber SMS, mas não utilizei os Forms data.
Para as eleições aquí em Moçambique tive que recorrer a uma outra solução, com um SMS gateway local que utilizava um programa sw chamado SMS studio. O maior problema que podia ter era a capacidade das duas redes de celulares que aquí existem de garantir a entrega rápida dos SMS utilizando numeros normais. Assim tivemos que utilizar um SMS gateway com um numero dedicado para ter a garantia dum bom serviço. De facto esta solução funcionou muito bem, onde tinhamos a cobertura da rede celular obviamente.
Voltando ao FLSMS, eu utilizei os comandos (palavras chaves) para chamar programas que verificavam os SMS e inseriam os dados numa base de dados. Funciona perfeitamente. Se precisar duma sugestão posso te enviar alguns exemplos.

Cumprimentos

Antonio
 
 
 

© 2014   Created by FrontlineSMS Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service