[resend] Sending SMS with UDH results in BinaryMessage

2010-11-24 Thread Peter Sabaini
Resending -- anyone with J2ME experience here? Thanks alot!\ -- Hello list, I use the sendsms interface to send SMS with a UDH to set the destination port. Setting the port works, but one oddity remains -- the J2ME platform returns a com.sun.midp.io.j2me.sms.BinaryObject instead of a TextObject

Re: [resend] Sending SMS with UDH results in BinaryMessage

2010-11-24 Thread alejandro . guerrieri
Messages with UDH are actually binary in SMS terms. Maybe J2ME behaves the same? Regards, Alex BlackBerry de movistar, allí donde estés está tu oficin@ -Original Message- From: Peter Sabaini Sender: users-boun...@kannel.org Date: Wed, 24 Nov 2010 10:00:05 To: Subject: [resend] Sending

Re: [resend] Sending SMS with UDH results in BinaryMessage

2010-11-24 Thread Peter Sabaini
On Wed, 2010-11-24 at 09:41 +, alejandro.guerri...@gmail.com wrote: > Messages with UDH are actually binary in SMS terms. Maybe J2ME behaves the > same? Yes and no... For one thing, the UDH itself is not part of the J2ME BinaryObject I get. The bytes in the BinaryObject are actually all ASCI

bearerbox unable to connect to modem

2010-11-24 Thread Harbhag Singh Sohal
udo bearerbox -v 0 /etc/kannel/kannel.conf 2010-11-24 16:58:42 [3045] [0] INFO: Debug_lvl = 0, log_file = , log_lvl = 0 2010-11-24 16:58:42 [3045] [0] INFO: DLR using storage type: internal 2010-11-24 16:58:42 [3045] [0] DEBUG: Kannel bearerbox version `svn-r4871'. Build `Nov 24 2010 16:03:03', com

Re: bearerbox unable to connect to modem

2010-11-24 Thread Harbhag Singh Sohal
How can I use the minicom ? I installed it using apt-get on ubuntu. I never used minicom before. can you please explain how can I issue the following command ? On Wed, Nov 24, 2010 at 5:16 PM, Mfawa Alfred Onen wrote: > The problem is right infront of you. It seems your modem does not support > t

Re: bearerbox unable to connect to modem

2010-11-24 Thread Milan P. Stanic
On Wed, 2010-11-24 at 17:27, Harbhag Singh Sohal wrote: > How can I use the minicom ? I installed it using apt-get on ubuntu. I > never used minicom before. can you please explain how can I issue the > following command ? Did you tried "man minicom"? No? ;-) N.B. It is strange a little bit that y

Re: bearerbox unable to connect to modem

2010-11-24 Thread Harbhag Singh Sohal
ok here is the output from the asked command AT+CPMS=? +CPMS: ("SM", "ME", "SM_P", "ME_P", "MT"), ("SM", "ME", "SM_P", "ME_P", "MT"), ("SM", "ME", "SM_P", "ME_P", "MT") OK P.S: I tried the man but didn't understand. On Wed, Nov 24, 2010 at 5:37 PM, Milan P. Stanic wrote: > On Wed, 2010-11-24 a

Re: bearerbox unable to connect to modem

2010-11-24 Thread Mfawa Alfred Onen
Milan is right, try doing a "*man minicom*". You can also do a google on minicom. The most importing thing you need to know is: 1) the AT driver (e.g AT or AT15200) 2) the port (e.g */dev/ttyACM** or */dev/ttyUSB**) 3) the speed (which you have already gotten from wvdial) Once you set it right, y

Re: bearerbox unable to connect to modem

2010-11-24 Thread Harbhag Singh Sohal
so what you think about this output ? Actually few weeks ago I used the same phone to send messages using kannel and it worked without any problem. On Wed, Nov 24, 2010 at 5:53 PM, Harbhag Singh Sohal wrote: > port is /dev/ttyACM0 > and output from the minicom console is below > AT+CPMS=? > +CPMS

Re: bearerbox unable to connect to modem

2010-11-24 Thread Harbhag Singh Sohal
I commented the below parameter in kannel.conf and it got connected successfully #init-string = "AT+CNMI=2,1,2,2,0" but can I receive SMS without it ? On Wed, Nov 24, 2010 at 6:02 PM, Harbhag Singh Sohal wrote: > so what you think about this output ? Actually few weeks ago I used > the same phone

Re: bearerbox unable to connect to modem

2010-11-24 Thread Mfawa Alfred Onen
OK it looks like the modem supports the command. Well there are somethings you still need to try. 1) Read about "*sim-buffering*" in UG 2) You can also try playing with your init-string containing the "*AT+CNMI* ". *Mfawa Alfred Onen* On Wed, Nov 24, 2010 at 1:17 PM, Mfawa Alfred Onen wrote: >

Re: bearerbox unable to connect to modem

2010-11-24 Thread Harbhag Singh Sohal
i tried AT+CNMI="0,2,3" in kannel.conf and it worked. is this ok to receive sms ? On Wed, Nov 24, 2010 at 6:28 PM, Harbhag Singh Sohal wrote: > at minicom console i got this > > AT+CNMI=? > +CNMI: (0-3), (0-3), (0,2,3), (0,1), (0,1) > > OK > So what can be correct configuration with this output ?

Message DLR coming as MO

2010-11-24 Thread Anshu Sah
Hi, A strange Scenario while i submit the sms to my SMSC i get dlr_url same as sent for Acknowledgment SMS, But while It creates new MO entry for the incoming DLR *My SMSC provider is using SMPP v3.3 *I investigated the issue, and come to know the message_id returned from SMSC is in octect strin

Re: bearerbox unable to connect to modem

2010-11-24 Thread Milan P. Stanic
[ sorry, for my previous mail. I intended to send it to mailing list but by mistake I sent it only to you. ] On Wed, 2010-11-24 at 18:51, Harbhag Singh Sohal wrote: > yes I have get-url parameter. But frankly speaking I dont know how to > use it properly. But I am receiving sms in log file. The

Re: bearerbox unable to connect to modem

2010-11-24 Thread Harbhag Singh Sohal
Thanks to Mfawa and Milan, you guys helped me a lot. On Wed, Nov 24, 2010 at 8:06 PM, Milan P. Stanic wrote: > [ sorry, for my previous mail. I intended to send it to mailing list but >  by mistake I sent it only to you. ] > > On Wed, 2010-11-24 at 18:51, Harbhag Singh Sohal wrote: >> yes I have

Service Indication Help

2010-11-24 Thread T.K.Thapa
Hi, Can anyone suggest how to send Service Indication (SI) messages through Sendsms Url (Get or Post) or SQLBOX? Regards Tapan Thapa

Re: Service Indication Help

2010-11-24 Thread Nikos Balkanas
Hi, There is a php script by Alex G, in the archives, that can handle simple wappush over sendsms. BR, Nikos - Original Message - From: T.K.Thapa To: Kannel list Sent: Wednesday, November 24, 2010 6:24 PM Subject: Service Indication Help Hi, Can anyone suggest how to send Service

Re: Message DLR coming as MO

2010-11-24 Thread Nikos Balkanas
Hi, Please read about message-id-type in UG. BR, Nikos - Original Message - From: Anshu Sah To: users Sent: Wednesday, November 24, 2010 4:29 PM Subject: Message DLR coming as MO Hi, A strange Scenario while i submit the sms to my SMSC i get dlr_url same as sent for Acknowledgme

Binding SMSC in TRX mode

2010-11-24 Thread Harmeet Singh
Greetings , Our SMSC carrier wants me to connect them in TRx mode. Currently it is connecting in Tx and Rx mode , I have used both transreciver-mode = true or false . But still unable to connect SMSC. I had already read the manual but unable to understand how to connect SMSC using differe

Re: Message DLR coming as MO

2010-11-24 Thread Anshu Sah
Hi Nikos I am putting msg-id-type = 0x00, If something else should be there, please suggest. Regards Anshu Sah 2010/11/24 Nikos Balkanas : > Hi, > > Please read about message-id-type in UG. > > BR, > Nikos > - Original Message - From: Anshu Sah > To: users > Sent: Wednesday, November

Re: Message DLR coming as MO

2010-11-24 Thread Nikos Balkanas
The UG does a pretty good job of explaining... BR, Nikos - Original Message - From: "Anshu Sah" To: "Nikos Balkanas" Cc: "users" Sent: Wednesday, November 24, 2010 7:36 PM Subject: Re: Message DLR coming as MO Hi Nikos I am putting msg-id-type = 0x00, If something else should be t

Re: Message DLR coming as MO

2010-11-24 Thread Anshu Sah
hello sir, The number is a combined set of bit 1 and bit 2 that indicate as follows: bit 1: type for submit_sm_resp, bit 2: type for deliver_sm. If the bit is set then the value is in hex otherwise in decimal number base. Which means the following combinations are possible and valid: * 0x00 delive

Re: Message DLR coming as MO

2010-11-24 Thread Nikos Balkanas
There is one more option for msg-id-type: default (comment it out): Everything is taken as a string. No translation done. BR, Nikos - Original Message - From: Anshu Sah To: Nikos Balkanas Cc: users Sent: Wednesday, November 24, 2010 8:48 PM Subject: Re: Message DLR coming as MO hel

Re: Message DLR coming as MO

2010-11-24 Thread Anshu Sah
Hi, I have commented the code, but NO benefit. Please find the logs below for SMPP , Kannel_dlr is adding messageId with 00, But again DLR is getting saved as MO in sqlbox. SENDING PDU 2010-11-25 00:27:20 [21546] [8] DEBUG: SMPP[SMStata]: throughput (0.00,0.00) 2010-11-25 00:27:36 [21546] [8] DE

Re: Message DLR coming as MO

2010-11-24 Thread Nikos Balkanas
Hi, Talk to your SMSc. He needs to set esm_class for bb to understand this as a DLR. BR, Nikos - Original Message - From: Anshu Sah To: Nikos Balkanas Cc: users Sent: Wednesday, November 24, 2010 9:02 PM Subject: Re: Message DLR coming as MO Hi, I have commented the code, but NO be

Re: Service Indication Help

2010-11-24 Thread T.K.Thapa
Many thanks in advance Nikos but can you please give me the direct link to download the php script provided by Alex G? Regards Tapan Thapa --- On Wed, 24/11/10, Nikos Balkanas wrote: From: Nikos Balkanas Subject: Re: Service Indication Help To: "T.K.Thapa" , "Kannel list" Date: Wednesday, 24

Re: Service Indication Help

2010-11-24 Thread Nikos Balkanas
Maybe Alex G can. I am using wapbox for wap pushes. Otherwise search in the archives. BR, Nikos - Original Message - From: T.K.Thapa To: Nikos Balkanas Cc: Kannel list Sent: Thursday, November 25, 2010 4:29 AM Subject: Re: Service Indication Help Many thanks in advance Nikos but can

Re: Service Indication Help

2010-11-24 Thread T.K.Thapa
Hello Nikos, I am following this article to send wap push via wap box. http://dev.sellingsource.com/2006/12/07/sending-wap-push-messages-with-kannel-php/ However while trying to start wapbox i am getting below mentioned error. 2010-11-25 10:13:04 [2901] [0] INFO: Kannel wapbox version 1.4.3 sta

Re: Service Indication Help

2010-11-24 Thread Nikos Balkanas
Hi, Cannot send you anything, because as it happens, currently our servers are upgraded and don't have access to them. Please post your configuration. BR, Nikos - Original Message - From: T.K.Thapa To: Nikos Balkanas Cc: Kannel list Sent: Thursday, November 25, 2010 6:51 AM Subject:

Re: Service Indication Help

2010-11-24 Thread T.K.Thapa
I can understand Nikos... Please find attached my configuration file. group = core admin-port = 13000 smsbox-port = 13001 wapbox-port = 13002 admin-password = b status-password = b wdp-interface-name = "*" log-file = "/home/mmpindia_qa/services/kannel/var/log/smsboxsc.log" access-log = "/home/mmp