Re: Goign through the bearer box log.

2009-07-02 Thread Nikos Balkanas
Hi, For the first you need to configure a smpp-tlv group. Read configuration guide. You will need to talk to your SMSc to get the tag and type needed. For the second you need to change your msg-id-type in your smsc configuration. Accepted values are 0-3. BR, Nikos - Original Message -

Re: DCS UCS-2

2009-07-02 Thread dhcmega
Michael It is not that simple because it also repeats the chars after the special chars. I will have to keep working on this. Thank you very much for your time. Regards dhcmega On Thu, Jul 2, 2009 at 4:12 PM, Michael Bochkaryov wrote: > I'm not so familiar with php but after decoding hex string

Goign through the bearer box log.

2009-07-02 Thread Wilhelm Ellmann | Fontera
Hi, after having a few troubles with my configuration I have started paying more attention to my bearerbox log. While I have managed to solve my problem I noticed two messages appearing on a regular basis in the log and was wondering what could be done to get rid of them. The two errors are as fol

Re: DCS UCS-2

2009-07-02 Thread Michael Bochkaryov
And now you have MO text in XML tag as URI-encoded string ;-) V%C3%A1ca%00c%00a Just parse XML and convert string from URI encoding. 2009/7/2 dhcmega : > 2009-07-02 12:08:47 [5232] [4] DEBUG: XMLBuild: XML: < encoding="UTF-8"?> > >     >         1234567890 > >  

Re: DCS UCS-2

2009-07-02 Thread Michael Bochkaryov
For MO you need just get text (%a) and charset (%C). Then you can convert text string to your preferred charset. Here is example for Perl: - # Kannel configuration part group = sms-service keyword = default get-url = "http://127.0.0.1/smsc/life?type=mo&msisdn=%p&sn=%P&text=%a&smscid=%

Re: DCS UCS-2

2009-07-02 Thread dhcmega
I have just added: accept-x-kannel-headers = 1 to the sms-service group ==> bearerbox_access143.log <== 2009-07-02 12:08:47 Receive SMS [SMSC:connection_3] [SVC:] [ACT:] [BINF:] [FID:] [from:1234567890] [to:1234] [flags:-1:2:-1:0:-1] [msg:16:005600E10063006100630061] [udh:0:] ==> smsbox1

Re: DCS UCS-2

2009-07-02 Thread dhcmega
Michael Is this information for MOs? I not testing MTs at all yet, I will go there when I get MOs to work OK. Thanks again!! dhcmega On Thu, Jul 2, 2009 at 11:43 AM, Michael Bochkaryov wrote: > Hi, > > If you send reply as UTF-8 string in the same HTTP session, set the > following HTTP headers:

Re: DCS UCS-2

2009-07-02 Thread Michael Bochkaryov
Hi, If you send reply as UTF-8 string in the same HTTP session, set the following HTTP headers: Content-Type: text/html; charset=UTF-8 X-Kannel-Coding: 2 And dont forget to set the following to sms-service group: accept-x-kannel-headers = 1 --- For sendsms API just use the following

Re: DCS VALUE

2009-07-02 Thread Falko Ziemann
GSM Specification 03.40 Chapter TP-DCS, Group "Message Waiting Indication" There are two values that can stand for voicemail, better read the document to understand what they do. Regards Falko Am 02.07.2009 um 13:34 schrieb narendra reddy: can you tell me dcs value of the voicemail not

Re: DCS UCS-2

2009-07-02 Thread dhcmega
Hi, thank you all!! I am using 1.4.2, I can try with 1.4.3 (and I think I will today) Mean while, with 1.4.2 and mclass hardcoded to 3 (otherwise it doesn´t work), when I receive "váca" o "victoría" I get this: 2009-07-02 11:07:15 Receive SMS [SMSC:connection_3] [SVC:] [ACT:] [BINF:] [from:12345

DCS VALUE

2009-07-02 Thread narendra reddy
can you tell me dcs value of the voicemail notification. Best Regards, narendra Reddy.

SQL Box and DLR Best Practice

2009-07-02 Thread Bharat Vasant
1. I am able to test Kannel + SQL Box and DLR. 2. Also I understand that I have to provide my own generated MsgID(uuid) in DLRUrl and on receiving DLR, my script will query for SMS record with MsgID(uuid) and update the DLR status. 3. To send the SMS, I have script which i

Re: connecting to smpp with same ip and port for both transmitter andreceiver

2009-07-02 Thread Nikos Balkanas
No, The error is before: SMSC rejected > login to transmit, code 0x0009 (Unknown/Reserved) Looks like you don't send the right username for the transmitter and your smsmc is rejecting it. Verify your credentials, and if correct check with your smsc why they are rejecting them. Nikos -

Re: connecting to smpp with same ip and port for both transmitter andreceiver

2009-07-02 Thread Henri Hovi
Log says: " PDU NULL terminated string (system_id) has no NULL." Maybe some garbage after the system-id string ? -- Henri Hovi http://www.patidure.com 2009/7/2 Nikos Balkanas : > Well, you get errors about that. Looks like your smsc is returning a NULL > system-id. Why don't you try username

Re: connecting to smpp with same ip and port for both transmitter andreceiver

2009-07-02 Thread Nikos Balkanas
Well, you get errors about that. Looks like your smsc is returning a NULL system-id. Why don't you try username instead and post logs? Nikos - Original Message - From: "Henri Hovi" To: Sent: Thursday, July 02, 2009 12:34 PM Subject: Re: connecting to smpp with same ip and port for bo

Re: connecting to smpp with same ip and port for both transmitter andreceiver

2009-07-02 Thread Henri Hovi
Yes, but he has system-id which is used for same purpose as the smsc-username -- Henri Hovi http://www.patidure.com 2009/7/2 Nikos Balkanas : > Hi, > > You are missing smsc-username in your configuration. > > You have smsc connectivity, you are exchanging PDUs. > > BR, > Nikos > - Original M

Re: connecting to smpp with same ip and port for both transmitter andreceiver

2009-07-02 Thread Nikos Balkanas
Hi, You are missing smsc-username in your configuration. You have smsc connectivity, you are exchanging PDUs. BR, Nikos - Original Message - From: "Henri Hovi" To: Sent: Thursday, July 02, 2009 11:05 AM Subject: Re: connecting to smpp with same ip and port for both transmitter andr

Re: connecting to smpp with same ip and port for both transmitter and receiver

2009-07-02 Thread Henri Hovi
Ok, understood the "yes" in Your reply for the private IP :) I have established SMPP connection to Safaricom SMSC by using Kannel, but unfortenatley can't help more with Your issue, I had no issues setting up the connection. -- Henri Hovi http://www.patidure.com On Thu, Jul 2, 2009 at 10:42 A

Re: connecting to smpp with same ip and port for both transmitter and receiver

2009-07-02 Thread Henri Hovi
Hi again, so please re-read my first email :) You are trying to bind the SMPP connection to Kannel which is not possible without SMPP server. -- Henri Hovi http://www.patidure.com On Thu, Jul 2, 2009 at 10:36 AM, Yonny Owour wrote: > Yes! > > On Thu, Jul 2, 2009 at 10:32 AM, Henri Hovi wrote:

Re: connecting to smpp with same ip and port for both transmitter and receiver

2009-07-02 Thread Henri Hovi
Hi, is this IP (192.168.9.43) Yours or IP in Safaricom which You can reach via VPN ? -- Henri Hovi http://www.patidure.com On Thu, Jul 2, 2009 at 10:17 AM, Yonny Owour wrote: > 2009-07-01 11:47:57 [3252] [0] INFO: Kannel bearerbox II version 1.4.3 > starting > 2009-07-01 11:47:57 [3252] [0]

Re: connecting to smpp with same ip and port for both transmitter and receiver

2009-07-02 Thread Yonny Owour
2009-07-01 11:47:57 [3252] [0] INFO: Kannel bearerbox II version 1.4.3 starting 2009-07-01 11:47:57 [3252] [0] INFO: MAIN: Start-up done, entering mainloop 2009-07-01 11:47:57 [3252] [6] DEBUG: SMPP[safaricomT]: Sending PDU: 2009-07-01 11:47:57 [3252] [7] DEBUG: SMPP[safaricomR]: Sending PDU: 2009-