Hi Stipe,
Ok, i understand.
So, it's possible to have a dcs value of 0 ONLY when we send "flash
sms" (directly displayed) ?!
I need dcs=0 also with "normal sms" (sms to mobile) ...
Is it possible ?
Thanks.
Regards,
Olivier PELLEGRINO
MIL'NR3
Le jeudi 07 février 2008 à 18:54 +0100, Stipe Tolj
Olivier PELLEGRINO schrieb:
Hi,
The wrong dcs value is fixed in this part (gw/sms.c) :
/* mode 1 */
else {
debug("bb.sms.smpp", 0, "[debug perso #1] dcs: %d", dcs);
dcs |= 0xF0; /* sets bits 7-3 */
debug("bb.sms.smpp", 0, "[debug perso #2] dcs: %d", dcs);
Hi,
The wrong dcs value is fixed in this part (gw/sms.c) :
/* mode 1 */
else {
debug("bb.sms.smpp", 0, "[debug perso #1] dcs: %d", dcs);
dcs |= 0xF0; /* sets bits 7-3 */
debug("bb.sms.smpp", 0, "[debug perso #2] dcs: %d", dcs);
if(msg->sms.coding != DC_UNDEF
Hi Stipe,
Thank you for your answer.
Ok, i'll try to test gw/sms.c:fields_to_dcs().
So, is there a temporaly "hack" to force dcs to 0 ?
Regards,
Olivier PELLEGRINO
MIL'NR3
Le jeudi 07 février 2008 à 15:42 +0100, Stipe Tolj a écrit :
> Olivier PELLEGRINO schrieb:
> > Output:
> > 2008-02-05 1
Olivier PELLEGRINO schrieb:
Output:
2008-02-05 15:42:28 [20444] [14] DEBUG: [debug perso #1]
msg->sms.alt_dcs: -1, smpp->conn->alt_dcs: 0,
pdu->u.submit_sm.data_coding: 0, SMPP_DEFAULT_CHARSET: UTF-8,
smpp->alt_charset: ISO-8859-1
2008-02-05 15:42:28 [20444] [14] DEBUG: [debug perso #2] if condit
Hi Stipe,
Thank you for your answer.
1/ This was done : Kannel bearerbox version `cvs-20080202'. Build `Feb 5
2008 13:58:17', compiler `3.3.5 (Debian 1:3.3.5-13)'.
2/ How i proceed to "debug" :
debug("bb.sms.smpp", 0, "[debug perso #1] msg->sms.alt_dcs: %d,
smpp->conn->alt_dcs: %d, pdu->u.submi
Olivier PELLEGRINO schrieb:
Hi Stipe,
Thank you for your answer.
I'm sorry but i was using .deb package (apt-get) to install Kannel. So,
i don't have any *.c related to kannel on my server.
I also have installed kannel-dev but there are only .h files.
Should i compile Kannel from sources to pr
Hi Stipe,
Thank you for your answer.
I'm sorry but i was using .deb package (apt-get) to install Kannel. So,
i don't have any *.c related to kannel on my server.
I also have installed kannel-dev but there are only .h files.
Should i compile Kannel from sources to proceed to your instructions and
aspect schrieb:
Hi,
I am using Kannel 1.4.1-2 under Debian.
Here is my problem :
I can't override "data_coding" in my SMPP output from 241 to 0.
I always have "DEBUG: data_coding: 241 = 0x00f1" but i want
data_coding=0 ...
Does anybody know a solution, please?
Parts of my kannel.conf :
Hi,
I am using Kannel 1.4.1-2 under Debian.
Here is my problem :
I can't override "data_coding" in my SMPP output from 241 to 0.
I always have "DEBUG: data_coding: 241 = 0x00f1" but i want
data_coding=0 ...
Does anybody know a solution, please?
Parts of my kannel.conf :
# User
group = se
10 matches
Mail list logo