Hi

 

Thanks for the reply, but I find that "msg-id-type" does not work on version
1.4.3.

 

No matter what the value for msg-id-type is set, the message ID is always
written into the sql table as "0", so when the deliver_sm is received it is
also convert to a "0" resulting in the first entry found in the mysql table
being updated.

 

I have tried all formats msg-id-type = 0x01 or 1 or 01 , even tried closing
them in quotes. Also tried all possible 0x00, 0x01, 0x02 and 0x03.

 

Regards

Melvin

 

From: Willy Mularto [mailto:sangpr...@gmail.com] 
Sent: 29 September 2014 03:53 AM
To: Melvin Oberem
Cc: kannel users@kannel.org
Subject: Re: HTTPClient

 

msg-id-type is your answer. Check user guide ;)

 

 

 

Willy Mularto

SMS Gateway, Content Provider, Mobile Solution Specialist

M: +62811923464, +62818923464

PIN BBM: 74924429

 

 

 

On Sep 27, 2014, at 4:18 AM, Melvin Oberem <obere...@telkomsa.net> wrote:





Hi

 

I have been having problems with DLR reports because of submit_sm_resp being
in hex and DLR deiver_sms being in decimal.

I have been using kannel version 1.4.1 for many years without problems, but
have now moved to a new SMSC, which the DLR conversion cannot be changed on
the SMSC, and needs to be done on application.

 

The DLR fix was patched in version 1.4.3 which I have tried to see if the
msg-id-type configs work, but I am experiencing the following problem with
version 1.4.3, the HTTPClient is created and immediately Destroyed, if
coming in from a different server. I works if sent to the application on the
same server.

 

2014-09-26 22:28:42 [14746] [2] DEBUG: HTTP: Creating HTTPClient for
`10.101.101.10'.

2014-09-26 22:28:42 [14746] [2] DEBUG: HTTP: Created HTTPClient area d9248.

2014-09-26 22:28:42 [14746] [3] DEBUG: HTTP: Destroying HTTPClient area
d9248.

2014-09-26 22:28:42 [14746] [3] DEBUG: HTTP: Destroying HTTPClient for
`10.101.101.10'.

 

I am using the same settings as per version 1.4.1 which works perfectly as
per below.

 

2014-09-26 22:34:52 [17806] [2] DEBUG: HTTP: Creating HTTPClient for
`10.101.101.10.

2014-09-26 22:34:52 [17806] [2] DEBUG: HTTP: Created HTTPClient area d6ec0.

2014-09-26 22:34:52 [17806] [3] INFO: smsbox: Got HTTP request
</cgi-bin/sendsms> from <10.101.101.10>

2014-09-26 22:34:52 [17806] [3] INFO: sendsms used by <test>

2014-09-26 22:34:52 [17806] [3] INFO: sendsms sender:<test:0811111111>
(10.101.101.10) to:<0812345678> msg:<test>

2014-09-26 22:34:52 [17806] [3] DEBUG: message length 4, sending 1 messages

2014-09-26 22:34:52 [17806] [3] DEBUG: Status: 202 Answer: <Sent.>

2014-09-26 22:34:52 [17806] [3] DEBUG: HTTP: Destroying HTTPClient area
d6ec0.

2014-09-26 22:34:52 [17806] [3] DEBUG: HTTP: Destroying HTTPClient for
`10.101.101.10.

 

 

Has anybody seen this before and maybe have an answer.

 

Regards

Melvin

 

Reply via email to