Thanks a lot, Thanasis, and to nxnlvz, Dani, Nich, Yolan and others for participating in solving this :)
Ime 2010/1/26 Yohan Yudanara <[email protected]> > You're right. Thanks for the explanation, Thanasis... > > On Tue, Jan 26, 2010 at 3:26 AM, Thanasis <[email protected]> wrote: > > Hi there, > > > > The use of the '+' symbol is not mandatory, but it helps in some cases. > > > > If the recipient's number is 12 digits (country code + phone), smslib > > assumes an international phone number. Anything less than 12 digits is > > assumed to be a national number, which may or may not be sent out > (depends > > on network). > > > > When your country's numbering scheme uses < 12 digits, the '+' solves > > things. > > > > I would bet that you, Yohan, are from a country with 12digit numbers, > > whereas Ime above is from a country that uses < 12 digits... > > > > 2010/1/25 Yohan Yudanara <[email protected]> > >> > >> The suggestion for adding "+" prefix is contrary with > >> http://smslib.org/doc/smsserver/interfaces/database/ ,isn't it ? > >> > >> The above url said: "The recipient's number to whom the message should > >> be sent. International format, no leading "+" or zeroes." > >> on the description of outbound SMS table ? > >> > >> Which one is recommended, using "+" or not ? > >> I'm not using "+" and SMS can be sent successfully. > >> > >> Best regards, > >> Yohan > >> > >> On Mon, Jan 25, 2010 at 3:09 PM, Thanasis <[email protected]> wrote: > >> > Hi, > >> > I would have to check before answering this. > >> > In any case, make sure that you add "+" in outbound messages as this > >> > makes > >> > the destination number more "clear" to smslib. > >> > > >> > 2010/1/25 Ime Asangansi <[email protected]> > >> >> > >> >> Hi Nich, Thanasis, Dani and others, > >> >> > >> >> Thanks for your contributions :). > >> >> My initial code has now worked. > >> >> I only had to add " +" before the msg.getOriginator() > >> >> > >> >> Just wondering if that's an unexpected behaviour with > >> >> msg.getOriginator() > >> >> any idea why that happened? > >> >> > >> >> Ime > >> >> > >> >> 2010/1/22 Nich Romero <[email protected]> > >> >>> > >> >>> Try and insert a delay or sleep of about one second before you send > >> >>> out > >> >>> the response message. There might be an overlap issue. > >> >>> > >> >>> Which modem are you using to send the message? > >> >>> > >> >>> -nxn > >> >>> > >> >>> On Jan 22, 2010 9:52 AM, "Ime Asangansi" < > [email protected]> > >> >>> wrote: > >> >>> > >> >>> Nice to see :) > >> >>> I liked that your snippets too, Dan. > >> >>> Will try setup that smsserver. > >> >>> I'm really baffled that that code worked for Thanasis and didn't > work > >> >>> for > >> >>> me > >> >>> yet sendmessages works well > >> >>> > >> >>> will get back to you... > >> >>> > >> >>> i think users of smslib should try contribute more to the examples > >> >>> package too :) > >> >>> > >> >>> Cheers and happy weekend, > >> >>> Ime > >> >>> > >> >>> > >> >>> 2010/1/22 Dani Chelios <[email protected]> > >> >>> > >> >>> > > This is SMSServer.java > > > Modification in readMessage method. > > > >> >>> > > > > >> >>> > > ... > void readMessages() ... > >> >>> > >> >>> -- You received this message because you are subscribed to the > Google > >> >>> Groups "SMSLib for Java User... > >> >>> > >> >>> -- > >> >>> You received this message because you are subscribed to the Google > >> >>> Groups > >> >>> "SMSLib for Java User Group" group. > >> >>> To post to this group, send email to [email protected]. > >> >>> To unsubscribe from this group, send email to > >> >>> [email protected]<smslib%[email protected]> > . > >> >>> For more options, visit this group at > >> >>> http://groups.google.com/group/smslib?hl=en. > >> >> > >> >> -- > >> >> You received this message because you are subscribed to the Google > >> >> Groups > >> >> "SMSLib for Java User Group" group. > >> >> To post to this group, send email to [email protected]. > >> >> To unsubscribe from this group, send email to > >> >> [email protected]<smslib%[email protected]> > . > >> >> For more options, visit this group at > >> >> http://groups.google.com/group/smslib?hl=en. > >> > > >> > -- > >> > You received this message because you are subscribed to the Google > >> > Groups > >> > "SMSLib for Java User Group" group. > >> > To post to this group, send email to [email protected]. > >> > To unsubscribe from this group, send email to > >> > [email protected]<smslib%[email protected]> > . > >> > For more options, visit this group at > >> > http://groups.google.com/group/smslib?hl=en. > >> > > >> > >> -- > >> You received this message because you are subscribed to the Google > Groups > >> "SMSLib for Java User Group" group. > >> To post to this group, send email to [email protected]. > >> To unsubscribe from this group, send email to > >> [email protected]<smslib%[email protected]> > . > >> For more options, visit this group at > >> http://groups.google.com/group/smslib?hl=en. > >> > > > > -- > > You received this message because you are subscribed to the Google Groups > > "SMSLib for Java User Group" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<smslib%[email protected]> > . > > For more options, visit this group at > > http://groups.google.com/group/smslib?hl=en. > > > > -- > You received this message because you are subscribed to the Google Groups > "SMSLib for Java User Group" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<smslib%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/smslib?hl=en. > > -- You received this message because you are subscribed to the Google Groups "SMSLib for Java User Group" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/smslib?hl=en.
