FrontlineSMS

FrontlineSMS allows you to text message with large groups of people anywhere there is a mobile signal.

Ref Discussion URL: http://frontlinesms.ning.com/forum/topic/show?id=2052630%3ATopic%3A...


Hello Ken,

was unable to post at the above discussion so opened up a new one here ...

you gave me this url to check for disabling forms handler.. the post say

" b) if you aren't using Forms, you could disable the forms message handler. To do this, remove the following line from ~/FrontlineSMS/properties/app.properties:
forms.message.handler=com.masabi.frontlinesms.forms.MasabiFormsMessageHandler"

But I didn't find the folder 'properties' in my installation nor app.properties file. I just have an option to enable or disable forms tab from within the software itself.

I have version 1.5.8 installed today morning for the above problems mentioned in the thread url pasted above..

Thanks
Junaid

Share Twitter

Reply to This

Replies to This Discussion

Check the Help menu in FrontlineSMS for the location of your configuration files - the folders/files should be in there.

Ken

Reply to This

the above line is not in the file

the file contains the only stuff


#
#Tue May 26 16:26:25 PKT 2009
version=1.5.8
incoming.msisdn.auto.remove=
language.filename=frontlineSMS.properties
data.mode=db
incoming.msisdn.auto.add=
first.time.wizard=false

Ken, I just looked that the system was adding '00' with the inmcoming number and was making it like

92999999999 to 00+9299999999

I just removed the setting like no 00 to be added to new number and now my auto reply just worked fine... But removing them may lead to a problem where a International number messaged and then the system must have 00 before the number.

Ken the message_content variable that I am getting and passing to my External command script was OK with the previous version but now it is adding '+' sign wher ever a space is there like:

looking for freelance projects
BECOMES
looking+for+freelance+projects

can I also change some property to fix this too?

I remember when I started using frontlinesms some time ago the 00 problem was solved with someone's help here by editing some file if that is still that can you let me know where to fix that

Thanks
Junaid

Reply to This

Also Ken I got just another problem,
The system is now sending a BLANK SMS too after my auto_reply message...

Reply to This

that sounds like your program is sending too much data, which is ending up spread into two messages, not one.

you can get 160 normal chars, including spaces and new-line characters into a single message. Any more than that will turn into 2 or more messages.

Also - if you use special chars that are not in the normal 7bit GSM character alphabet, then it will use larger UTF8 characters, which take up more than twice as much room, so you will always send more messages.

If you are sending even a single letter in arabic, or another special alphabet, then you will not get all of the 160 character limit, due to extra space taken up by the special characters.

try shortening your auto-reply, and see if the extra message disappears.

p.s. what is it that you are trying to use FrontlineSMS for Muhammad?

Ben

Reply to This

The external command and HTTP sender was not correctly URL-encoding data in the past, which created problems whenever people used unusual chars in their SMS messages, so now all messages are URL encoded to protect them and make them safe to pass on the command-line or in an HTTP address.

You can find guides and free libraries on the internet for taking a string and adding URL-encoding, or taking a URL encoded piece of data and turning it back into a string.

Your external script will have to deal with that, or you can put a program in the middle to deal with it before passing it on.

google: http://www.google.co.uk/search?hl=en&client=firefox-a&rls=o...

Reply to This

Thanks Ben for the reply, yes I just handled the '+' sign with my python script. Now I have the following issues remaining:

(1) When restarted my EXTERNAL COMMAND is changed
FROM
c:\Python25\python.exe d:\update_twitter.py ${message_content}
TO
c:Python25python.exe d:update_twitter.py ${message_content} ['\' missing] hence the command is not executed because of ambiguous path

(2) Addition of '00' before number leads to a problem because its making the number like:
00+9299999.... should be 00929999...
(3) Again after receiving 5-6 SMS the system is not receiving any new SMS and I know when I will restart FSMS it will get them all and do the trigger works..

Please guide me I need to fix them today its too urgent for me

Thanks
Junaid

Reply to This

Hi Junaid,

what project are you doing this for?

Ben

Reply to This

Hello Ben,

I am working on a project that:

*Receives a SMS with a particular keyword
*respond with a static auto_reply message [1 message length]
*adds the number to a contact_group [Keyword based grouping]
*using a scripts sets the status for my account at twitter the with the message content..

and am sorry the BLANK SMS was coming from my mistake and that was not a software or conf issue...

and my message are not too long in fact they are not more then 1 message just status updates..

Now just the above mentioned issues remains and they are causing some problem that I must remove today and am sure you people are going to help me out of this.

Junaid

Reply to This

no sounds any one available ??

Reply to This

RSS

© 2010   Created by kiwanja.net on Ning.   Create a Ning Network!

Badges  |  Report an Issue  |  Privacy  |  Terms of Service