RE: got DLR but could not find message

2010-10-20 Thread Anas Alnaffar
Hello Benaiad;

 

Thanks,

 

Please note there type1 and type 2 for same dst, but different id, please find 
sample below.

 

 

 

 

2010-10-09 16:53:56 [25076] [6] ERROR: SMPP[zain_MT1_smpp]: got DLR but could 
not find message or was not interested in it id8C2A525D dst, 
type2

2010-10-09 17:21:22 [25076] [6] ERROR: SMPP[zain_MT1_smpp]: got DLR but could 
not find message or was not interested in it id8C3F8C7E dst, 
type2

2010-10-09 18:51:17 [4307] [6] ERROR: SMPP[zain_MT1_smpp]: got DLR but could 
not find message or was not interested in it id904917A8 dst, 
type1

2010-10-09 18:51:22 [4307] [6] ERROR: SMPP[zain_MT1_smpp]: got DLR but could 
not find message or was not interested in it id8C5B64C8 dst, 
type2

2010-10-09 20:03:17 [4307] [6] ERROR: SMPP[zain_MT1_smpp]: got DLR but could 
not find message or was not interested in it id914B0811 dst, 
type1

2010-10-09 20:03:34 [4307] [6] ERROR: SMPP[zain_MT1_smpp]: got DLR but could 
not find message or was not interested in it id91510B86 dst, 
type1

2010-10-09 20:03:50 [4307] [6] ERROR: SMPP[zain_MT1_smpp]: got DLR but could 
not find message or was not interested in it id915C657D dst, 
type1

 

Thanks 

 

Anas Al-Naffar

 

 

From: Benaiad [mailto:bena...@gmail.com] 
Sent: Tuesday, October 19, 2010 7:26 PM
To: Anas Alnaffar
Cc: users@kannel.org
Subject: Re: got DLR but could not find message

 

Hi Anas,

 

Do you see another log entry for the same id and dst values but with type 1?




Regards

--

Abdulmnem Benaiad

Almontaha CTO

Tripoli-Libyan

 http://www.almontaha.ly/ www.almontaha.ly

about.me http://about.me/benaiad/bio 





On Tue, Oct 19, 2010 at 4:42 PM, Anas Alnaffar a.alnaf...@tijaritelecom.com 
wrote:

Dears 

 

I am having a problems with DLR, Please go through the following log:

 

 

 

 

 2010-10-09 16:53:56 [25076] [6] ERROR: SMPP[zain_MT1_smpp]: got DLR but could 
not find message or was not interested in it id8C2A525D dst***, type2

 

 

 

Anas 

 



Re: got DLR but could not find message

2010-10-20 Thread Nikos Balkanas

Hi,

Please post debug bb logs that contain the submit_sm  submit_sm_resp PDUs 
and the deliver_sm for the same SMS.


BR,
Nikos
- Original Message - 
From: Anas Alnaffar

To: 'Benaiad'
Cc: users@kannel.org
Sent: Wednesday, October 20, 2010 9:50 AM
Subject: RE: got DLR but could not find message


Hello Benaiad;

Thanks,

Please note there type1 and type 2 for same dst, but different id, please 
find sample below.





2010-10-09 16:53:56 [25076] [6] ERROR: SMPP[zain_MT1_smpp]: got DLR but 
could not find message or was not interested in it id8C2A525D 
dst, type2
2010-10-09 17:21:22 [25076] [6] ERROR: SMPP[zain_MT1_smpp]: got DLR but 
could not find message or was not interested in it id8C3F8C7E 
dst, type2
2010-10-09 18:51:17 [4307] [6] ERROR: SMPP[zain_MT1_smpp]: got DLR but could 
not find message or was not interested in it id904917A8 dst, 
type1
2010-10-09 18:51:22 [4307] [6] ERROR: SMPP[zain_MT1_smpp]: got DLR but could 
not find message or was not interested in it id8C5B64C8 dst, 
type2
2010-10-09 20:03:17 [4307] [6] ERROR: SMPP[zain_MT1_smpp]: got DLR but could 
not find message or was not interested in it id914B0811 dst, 
type1
2010-10-09 20:03:34 [4307] [6] ERROR: SMPP[zain_MT1_smpp]: got DLR but could 
not find message or was not interested in it id91510B86 dst, 
type1
2010-10-09 20:03:50 [4307] [6] ERROR: SMPP[zain_MT1_smpp]: got DLR but could 
not find message or was not interested in it id915C657D dst, 
type1


Thanks

Anas Al-Naffar


From: Benaiad [mailto:bena...@gmail.com]
Sent: Tuesday, October 19, 2010 7:26 PM
To: Anas Alnaffar
Cc: users@kannel.org
Subject: Re: got DLR but could not find message

Hi Anas,

Do you see another log entry for the same id and dst values but with type 1?


Regards
--
Abdulmnem Benaiad
Almontaha CTO
Tripoli-Libyan
www.almontaha.ly
about.me



On Tue, Oct 19, 2010 at 4:42 PM, Anas Alnaffar 
a.alnaf...@tijaritelecom.com wrote:

Dears

I am having a problems with DLR, Please go through the following log:




2010-10-09 16:53:56 [25076] [6] ERROR: SMPP[zain_MT1_smpp]: got DLR but 
could not find message or was not interested in it id8C2A525D 
dst***, type2




Anas





Re: RE: got DLR but could not find message

2010-10-20 Thread Benaiad
Hi,

Can you make a small test, by turning off you mobile and send a message to
it while it's still turned off, and check the logs to see if your smsc will
send you type2 dlr.
Then turn on your mobile and check the logs for type1 dlr.

I think your smsc replies with failed instead of buffered dlrs.

Regards
--
Benaiad
On Oct 20, 2010 8:48 AM, Anas Alnaffar a.alnaf...@tijaritelecom.com
wrote:
 Hello Benaiad;



 Thanks,



 Please note there type1 and type 2 for same dst, but different id, please
find sample below.









 2010-10-09 16:53:56 [25076] [6] ERROR: SMPP[zain_MT1_smpp]: got DLR but
could not find message or was not interested in it id8C2A525D
dst, type2

 2010-10-09 17:21:22 [25076] [6] ERROR: SMPP[zain_MT1_smpp]: got DLR but
could not find message or was not interested in it id8C3F8C7E
dst, type2

 2010-10-09 18:51:17 [4307] [6] ERROR: SMPP[zain_MT1_smpp]: got DLR but
could not find message or was not interested in it id904917A8
dst, type1

 2010-10-09 18:51:22 [4307] [6] ERROR: SMPP[zain_MT1_smpp]: got DLR but
could not find message or was not interested in it id8C5B64C8
dst, type2

 2010-10-09 20:03:17 [4307] [6] ERROR: SMPP[zain_MT1_smpp]: got DLR but
could not find message or was not interested in it id914B0811
dst, type1

 2010-10-09 20:03:34 [4307] [6] ERROR: SMPP[zain_MT1_smpp]: got DLR but
could not find message or was not interested in it id91510B86
dst, type1

 2010-10-09 20:03:50 [4307] [6] ERROR: SMPP[zain_MT1_smpp]: got DLR but
could not find message or was not interested in it id915C657D
dst, type1



 Thanks



 Anas Al-Naffar





 From: Benaiad [mailto:bena...@gmail.com]
 Sent: Tuesday, October 19, 2010 7:26 PM
 To: Anas Alnaffar
 Cc: users@kannel.org
 Subject: Re: got DLR but could not find message



 Hi Anas,



 Do you see another log entry for the same id and dst values but with type
1?




 Regards

 --

 Abdulmnem Benaiad

 Almontaha CTO

 Tripoli-Libyan

 http://www.almontaha.ly/ www.almontaha.ly

 about.me http://about.me/benaiad/bio





 On Tue, Oct 19, 2010 at 4:42 PM, Anas Alnaffar 
a.alnaf...@tijaritelecom.com wrote:

 Dears



 I am having a problems with DLR, Please go through the following log:









 2010-10-09 16:53:56 [25076] [6] ERROR: SMPP[zain_MT1_smpp]: got DLR but
could not find message or was not interested in it id8C2A525D
dst***, type2







 Anas





Re: Mixing the SMS delivery between multiple SMSCs randomly

2010-10-20 Thread SG
My problem is resolved.
Sorry for wasting your valuable time.

There is a typo mistakes at one place in my original configuration file.By 
concept it should work fine, So i audited the config from scratch, and found 
the problem.
I struggled for 3 days, so posted to our group with frustration.Please ignore 
my request.

Thank You- SG

--- On Tue, 19/10/10, SG ositest...@yahoo.com wrote:

From: SG ositest...@yahoo.com
Subject:
 Mixing the SMS delivery between multiple SMSCs randomly
To: users@kannel.org
Date: Tuesday, 19 October, 2010, 6:23 AM

Hi Group 
I am facing one different problem.I have configured 3 SMSC groups in 
kannel.conf file and 3 separate SMS users for each SMSC.I have configured 
DENIED SMSC list in SMSC groups and forced SMSC in SMS USER groups.
But when i did HTML post with one SMSC user and pass word like
 
belowhttp://192.168.3.111:4/cgi-bin/sendsms?username=user1password=pass1_#$charset=ISO-8859-1to=155smsc=SMSC1from=5concatenation=trueaccount=1_2_34_57dlr-mask=31text=Test+Message
It is supposed to deliver through SMSC1, but strangely it is delivering through 
random SMSC 1 or 2 or 3
I am using 1-November-2010 Kannel
 source I have searched a lot in internet and old emails bit did not find my 
answer.
Please help me.
Lot of thanks in Advance.-SG

I am sending my configuration sample here.
#SMSC GROUPS#group = smscsmsc = smppsmsc-id = 
SMSC1denied-smsc-id= SMSC2;SMSC3log-level = 1log-file = 
/home/kannel/log/SMSC1.logreconnect-delay = 10host = gateway.z.netport = 
9900transceiver-mode = truesmsc-username = smsc-password = 
passsystem-type = VMAenquire-link-interval = 30max-pending-submits = 
10reconnect-delay = 10connection-timeout = 0wait-ack = 60wait-ack-expire =
 0x00
group = smscsmsc =
 smppsmsc-id = SMSC2denied-smsc-id= SMSC1;SMSC3log-level = 1log-file = 
/home/kannel/log/SMSC2.logreconnect-delay = 10host = gateway.z2.netport = 
9900transceiver-mode = truesmsc-username = 222smsc-password = 
passsystem-type = VMAenquire-link-interval = 30max-pending-submits = 
10reconnect-delay = 10connection-timeout = 0wait-ack = 60wait-ack-expire = 0x00
group = smscsmsc = smppsmsc-id = SMSC3denied-smsc-id= SMSC1;SMSC2log-level = 
1log-file = /home/kannel/log/SMSC3.logreconnect-delay = 10host = 
gateway.z3.netport = 9900transceiver-mode = truesmsc-username = 
smsc-password =
 passsystem-type = VMAenquire-link-interval = 30max-pending-submits = 
10reconnect-delay = 10connection-timeout = 0wait-ack = 60wait-ack-expire = 0x00
#SMSC USERS#group = sendsms-userusername = 
user1password = pass1_#$name = SMSUSER1concatenation= truemax-messages = 
10forced-smsc = SMSC1

group = sendsms-userusername = user2password = pass2_#$name = 
SMSUSER2concatenation= truemax-messages = 10forced-smsc = SMSC2
group = sendsms-userusername = user3password = pass3_#$name = 
SMSUSER3concatenation= truemax-messages =
 10forced-smsc = SMSC3
# END ### 




OIS delivery status

2010-10-20 Thread Marcin Kulawinek

Hi,

Is there a way to fix smsc OISD to handle dlr reports?
By now kannel shows that message is Delivered to SMSC, but there is no
Delivered to phone status, but I have message on my phone.

Is there a way to quick fix it?
Thank you very much.

--

*Marcin Kulawinek*

Specjalista ds. rozwoju oprogramowania



RE: got DLR but could not find message

2010-10-20 Thread Anas Alnaffar
Hello Nikos, Benaiad,

Please find the attached bb log.


Thanks 

Anas Al-Naffar


-Original Message-
From: Nikos Balkanas [mailto:nbalka...@gmail.com] 
Sent: Wednesday, October 20, 2010 10:09 AM
To: Anas Alnaffar; 'Benaiad'
Cc: users@kannel.org
Subject: Re: got DLR but could not find message

Hi,

Please post debug bb logs that contain the submit_sm  submit_sm_resp PDUs 
and the deliver_sm for the same SMS.

BR,
Nikos
- Original Message - 
From: Anas Alnaffar
To: 'Benaiad'
Cc: users@kannel.org
Sent: Wednesday, October 20, 2010 9:50 AM
Subject: RE: got DLR but could not find message


Hello Benaiad;

Thanks,

Please note there type1 and type 2 for same dst, but different id, please 
find sample below.




2010-10-09 16:53:56 [25076] [6] ERROR: SMPP[zain_MT1_smpp]: got DLR but 
could not find message or was not interested in it id8C2A525D 
dst, type2
2010-10-09 17:21:22 [25076] [6] ERROR: SMPP[zain_MT1_smpp]: got DLR but 
could not find message or was not interested in it id8C3F8C7E 
dst, type2
2010-10-09 18:51:17 [4307] [6] ERROR: SMPP[zain_MT1_smpp]: got DLR but could

not find message or was not interested in it id904917A8 dst,

type1
2010-10-09 18:51:22 [4307] [6] ERROR: SMPP[zain_MT1_smpp]: got DLR but could

not find message or was not interested in it id8C5B64C8 dst,

type2
2010-10-09 20:03:17 [4307] [6] ERROR: SMPP[zain_MT1_smpp]: got DLR but could

not find message or was not interested in it id914B0811 dst,

type1
2010-10-09 20:03:34 [4307] [6] ERROR: SMPP[zain_MT1_smpp]: got DLR but could

not find message or was not interested in it id91510B86 dst,

type1
2010-10-09 20:03:50 [4307] [6] ERROR: SMPP[zain_MT1_smpp]: got DLR but could

not find message or was not interested in it id915C657D dst,

type1

Thanks

Anas Al-Naffar


From: Benaiad [mailto:bena...@gmail.com]
Sent: Tuesday, October 19, 2010 7:26 PM
To: Anas Alnaffar
Cc: users@kannel.org
Subject: Re: got DLR but could not find message

Hi Anas,

Do you see another log entry for the same id and dst values but with type 1?


Regards
--
Abdulmnem Benaiad
Almontaha CTO
Tripoli-Libyan
www.almontaha.ly
about.me



On Tue, Oct 19, 2010 at 4:42 PM, Anas Alnaffar 
a.alnaf...@tijaritelecom.com wrote:
Dears

I am having a problems with DLR, Please go through the following log:




 2010-10-09 16:53:56 [25076] [6] ERROR: SMPP[zain_MT1_smpp]: got DLR but 
could not find message or was not interested in it id8C2A525D 
dst***, type2



Anas
 
2010-10-09 16:47:22 [25076] [6] DEBUG: SMPP[MT1_smpp]: Manually forced source 
addr ton = 5, source add npi = 1
2010-10-09 16:47:22 [25076] [6] DEBUG: SMPP[MT1_smpp]: Manually forced dest 
addr ton = 1, dest add npi = 1
2010-10-09 16:47:22 [25076] [6] DEBUG: SMPP[MT1_smpp]: Sending PDU:
2010-10-09 16:47:22 [25076] [6] DEBUG: SMPP PDU 0x8797fd8 dump:
2010-10-09 16:47:22 [25076] [6] DEBUG:   type_name: submit_sm
2010-10-09 16:47:22 [25076] [6] DEBUG:   command_id: 4 = 0x0004
2010-10-09 16:47:22 [25076] [6] DEBUG:   command_status: 0 = 0x
2010-10-09 16:47:22 [25076] [6] DEBUG:   sequence_number: 21488 = 0x53f0
2010-10-09 16:47:22 [25076] [6] DEBUG:   service_type: NULL
2010-10-09 16:47:22 [25076] [6] DEBUG:   source_addr_ton: 5 = 0x0005
2010-10-09 16:47:22 [25076] [6] DEBUG:   source_addr_npi: 1 = 0x0001
2010-10-09 16:47:22 [25076] [6] DEBUG:   source_addr: 9
2010-10-09 16:47:22 [25076] [6] DEBUG:   dest_addr_ton: 1 = 0x0001
2010-10-09 16:47:22 [25076] [6] DEBUG:   dest_addr_npi: 1 = 0x0001
2010-10-09 16:47:22 [25076] [6] DEBUG:   destination_addr: 
2010-10-09 16:47:22 [25076] [6] DEBUG:   esm_class: 3 = 0x0003
2010-10-09 16:47:22 [25076] [6] DEBUG:   protocol_id: 0 = 0x
2010-10-09 16:47:22 [25076] [6] DEBUG:   priority_flag: 0 = 0x
2010-10-09 16:47:22 [25076] [6] DEBUG:   schedule_delivery_time: NULL
2010-10-09 16:47:22 [25076] [6] DEBUG:   validity_period: NULL
2010-10-09 16:47:22 [25076] [6] DEBUG:   registered_delivery: 1 = 0x0001
2010-10-09 16:47:22 [25076] [6] DEBUG:   replace_if_present_flag: 0 = 0x
2010-10-09 16:47:22 [25076] [6] DEBUG:   data_coding: 8 = 0x0008
2010-10-09 16:47:22 [25076] [6] DEBUG:   sm_default_msg_id: 0 = 0x
2010-10-09 16:47:22 [25076] [6] DEBUG:   sm_length: 122 = 0x007a
2010-10-09 16:47:22 [25076] [6] DEBUG:   short_message:
2010-10-09 16:47:22 [25076] [6] DEBUG:Octet string at 0x875c400:
2010-10-09 16:47:22 [25076] [6] DEBUG:  len:  122
2010-10-09 16:47:22 [25076] [6] DEBUG:  size: 123
2010-10-09 16:47:22 [25076] [6] DEBUG:  immutable: 0
2010-10-09 16:47:22 [25076] [6] DEBUG:  data: 06 39 06 32 06 4a 06 32 06 46 
06 27 00 20 06 27   .9.2.J.2.F.'. .'
2010-10-09 16:47:22 [25076] [6] DEBUG:  data: 06 44 06 39 06 45 06 4a 06 44 
00 20 06 27 06 46   .D.9.E.J.D. .'.F
2010-10-09 16:47:22 [25076] [6] DEBUG:  data: 06 2a 00 20 06 45 06 34 06 2a 
06 31 06 43 00 20   .*. 

kannel in windows not stable

2010-10-20 Thread Anton Raharja
Hi,

I'm testing kannel in windows, download and install cygwin, compile
gateway 1.4.3 and start kannel. Im using wavecom modem, usb, using
driver usb-to-serial and got COM16 in windows and works in kannel
cygwin using /dev/com16.

Incoming seems to be ok, but outgoing after 1 or 2 messages bearerbox
exited with last error printed:
date time... [5872] [-1] PANIC: gwlib/thread.c:142: mutex_lock_real:
Managed to lock the mutex twice! (Called from
gwlib/conn.c:1273:openssl_locking_function.)

I can re-produce error by receive 1 SMS, and then send, after that it
failed with same error.

I'm new to this list, dunno if kannel in windows is even supported in
this list, and perhaps this error could already be in the list.

thanks,

anton
dev playSMS



Re: kannel in windows not stable

2010-10-20 Thread Anton Raharja
Hi again,

I just found this article:
http://lamdaica.com/modules/ajax/getArticleDetail.aspx?id=2lang=

I'll try that first, I hope it fixes the issue, please ignore my post, thanks

anton


On Wed, Oct 20, 2010 at 11:18 PM, Anton Raharja an...@ngoprek.org wrote:
 Hi,

 I'm testing kannel in windows, download and install cygwin, compile
 gateway 1.4.3 and start kannel. Im using wavecom modem, usb, using
 driver usb-to-serial and got COM16 in windows and works in kannel
 cygwin using /dev/com16.

 Incoming seems to be ok, but outgoing after 1 or 2 messages bearerbox
 exited with last error printed:
 date time... [5872] [-1] PANIC: gwlib/thread.c:142: mutex_lock_real:
 Managed to lock the mutex twice! (Called from
 gwlib/conn.c:1273:openssl_locking_function.)

 I can re-produce error by receive 1 SMS, and then send, after that it
 failed with same error.

 I'm new to this list, dunno if kannel in windows is even supported in
 this list, and perhaps this error could already be in the list.

 thanks,

 anton
 dev playSMS




Re: kannel in windows not stable

2010-10-20 Thread Anton Raharja
Hi,

Just to let you guys know, the workaround works, I can send and
receive like 20 or 30 messages and no PANIC just now, compare to
before patch 1 or 2 messages bearerbox exited.

anton
dev playSMS

On Wed, Oct 20, 2010 at 11:38 PM, Anton Raharja an...@ngoprek.org wrote:
 Hi again,

 I just found this article:
 http://lamdaica.com/modules/ajax/getArticleDetail.aspx?id=2lang=

 I'll try that first, I hope it fixes the issue, please ignore my post, thanks

 anton


 On Wed, Oct 20, 2010 at 11:18 PM, Anton Raharja an...@ngoprek.org wrote:
 Hi,

 I'm testing kannel in windows, download and install cygwin, compile
 gateway 1.4.3 and start kannel. Im using wavecom modem, usb, using
 driver usb-to-serial and got COM16 in windows and works in kannel
 cygwin using /dev/com16.

 Incoming seems to be ok, but outgoing after 1 or 2 messages bearerbox
 exited with last error printed:
 date time... [5872] [-1] PANIC: gwlib/thread.c:142: mutex_lock_real:
 Managed to lock the mutex twice! (Called from
 gwlib/conn.c:1273:openssl_locking_function.)

 I can re-produce error by receive 1 SMS, and then send, after that it
 failed with same error.

 I'm new to this list, dunno if kannel in windows is even supported in
 this list, and perhaps this error could already be in the list.

 thanks,

 anton
 dev playSMS





Kannel status meanings

2010-10-20 Thread Luís Tiago Rico
Hi guys,
I'm doing a parser for kannel status page.

Can anyone help me on these questions:

SMS: received 0 (0 queued), sent 1 (0 queued), store size 0
what is the meaning of store size?

SMS: inbound (0.00,0.00,0.00) msg/sec, outbound (0.00,0.00,0.00) msg/sec
what is the meaning of these 3 values (0.00,0.00,0.00) ?

Many thanks in advance
-- 
Luís Tiago Rico

*Present Technologies*
Rua D. João de Castro, Lote 12
Urbanização Quinta da Fonte
3030-384 Coimbra
Portugal


sending fake DLRs via fakesmsc?

2010-10-20 Thread Bopolissimus Platypus Jr
Hello,

Is there a way to send make fakesmsc send a bogus (artificially
constructed) DLR to bearerbox?

Gerald

-- 
Gerald Timothy Quimpo http://bopolissimus.blogspot.com
bopolissimus.li...@gmail.com bopolissi...@gmail.com

Even Tom Lane said: Or, if you're worried
about actions from functions, use a trigger
to do the logging.  There are approximately
no cases where a rule is really better than
a trigger :-( 



Re: sending fake DLRs via fakesmsc?

2010-10-20 Thread Bopolissimus Platypus Jr
On Thu, Oct 21, 2010 at 12:09 PM, Bopolissimus Platypus Jr
bopolissimus.li...@gmail.com wrote:
 Is there a way to send make fakesmsc send a bogus (artificially
 constructed) DLR to bearerbox?

Never mind.  I see in smsc_fake.c creates the DLRs, they're not
actually sent from fakesmsc.

Gerald

-- 
Gerald Timothy Quimpo http://bopolissimus.blogspot.com
bopolissimus.li...@gmail.com bopolissi...@gmail.com

Even Tom Lane said: Or, if you're worried
about actions from functions, use a trigger
to do the logging.  There are approximately
no cases where a rule is really better than
a trigger :-( 



[ANNOUNCE] Kannel 1.5.0 development release available

2010-10-20 Thread Stipe Tolj
The Kannel Group is pleased to announce the availability of Kannel 1.5.0
development release via our web site at URL

   http://www.kannel.org/download.shtml

Please find attached the NEWS file section for the 1.5.0 development release.

Best Regards,
Stipe Tolj

-- 
---
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture  Kannel Software Foundation (KSF)
http://www.tolj.org/  http://www.kannel.org/

mailto:st_{at}_tolj.org   mailto:stolj_{at}_kannel.org
---

NEWS about Kannel: Open Source WAP and SMS Gateway version 1.5.0

This is a DEVELOPMENT version. It should be usable for production systems.
Please do report problems to the Kannel bug tracking system available at 
http://bugs.kannel.org/ or send a mail to de...@kannel.org (the development 
mailing list).


Changes since version 1.4.3: 

[*** Beware that the version move from 1.4.3 to 1.5.0 contains numerous 
change sets, with major bug fixes and improvements. Following is a summary of 
the 
main issues. For a complete and detailed set of changes please refer to the 
specific ChangeLog in the doc/ directory of the distribution. ***]

Compatibility breakers:

  * Internal message structure has changed, so older smsbox connection daemons
won't be able to communicate with this bearerbox. Please ensure that you
use boxes from releases greater or equal 1.5.0 for correct communication.

  * DLR storage via MySQL requires now MySQL 4.1 or higher, due that we use now
prepared statements in the SQL calls.

New features:

  * Added 'meta-data' support, which provides a mechanism to pass SMSC protocol
specific optional data to the lower SMSC module layer. Ie. optional TLVs 
for SMPP.

  * Added better serial speed support for the AT modem on MacOS systems.
  
  * Added cleaner iconv() support for character re-encoding.
  
  * Added SMPP v3.4 DLR support via optional TLV values.
  
  * Added DLR support for the MT batch processing program.
  
  * Added Microsoft SQL server support as DLR storage backend.
  
  * Extended the HTTP admin interface.
  
  * Added SMPP v3.4 intermediate notification support.
  
  * Added MT module handling of +CME ERROR cases.
  
  * Added better result parsing generic HTTP SMSC module.
  
  * Added better throughput handling in SMPP module.
  
  * Added SMSC module 'loopback' as the MT counterpart of the 're-route'
directive in the 'group = smsc' for MO messages. MT messages are 
bounced back as MOs into the incoming queue.

  * Added separate DLR message counters on the HTTP admin status.
  
  * Added 'http-timeout' config directive to allow setting of a timeout
value for outgoing HTTP calls.
  
  * Added WTLS provisioning support.
  
  * Added add-on packages sqlbox and opensmppbox to the main distribution,
where sqlbox provides abstraction from bearerbox towards SQL RDBMS and
opensmppbox provides abstraction from bearerbox towards SMPP clients. 
   
Bugfixes:

  * Fixed various bugs in AT module.
  
  * Fixed various memory leaks.
  
  * Fixed ISO date parsing.
  
  * Fixed HTTP cookie parsing in WAP module.
  
  * Fixed WAP-WSP quoted text parsing.
 
  * Fixed various WAP module bugs.
  
  * Fixed MT batch processing program.

  * Fixed FreeBSD build procedure.
  
  * Fixed OMA OTA compiler output.
  
  * Fixed weak DLR resolving for some SMSC types.


Changes since version 1.4.1: 

[*** Beware that the version move from 1.4.1 to 1.4.2 contains numerous 
change sets, with major bug fixes and improvements. Following is a summary of 
the 
main issues. For a complete and detailed set of changes please refer to the 
specific ChangeLog in the doc/ directory of the distribution. ***]

Compatibility breakers:

  * Internal message payload encoding changed from LATIN1 to UTF-8, which 
means any 1.4.2 boxes are unable to communicate with older versions.
  
  * Re-defined logic for the 'smsbox-route' group that is used for MO 
routing to different (identified) smsbox connections. 
  
  * Changed main message structure to include foreign (SMSC) ID to it, 
breaking the access-log format and communication to older box versions.

New features:

  * Added service routing based on account field, which allows routing of
MO messages depending on the account set by an aggregating SMSC provider.
  
  * Added the new 'generic' system-type for HTTP SMSC, which allows the usage
of the escape code sequenced in send-url and regex parsing of HTTP
response.

  * Added 'interactive' mode via stdin and stdout to allow a more human like 
interaction with the fake smsc module.

  * Added support to pass the 'from' source addr via 'X-Kannel-From' HTTP 
header in the PPG request.

  * Added generic DLR handling for type 'kannel' (HTTP SMSC), which allows 
point-to-point DLR 

Re: [ANNOUNCE] Kannel 1.5.0 development release available

2010-10-20 Thread Alvaro Cornejo
Excellent news

Big Applauses for the ENTIRE DEVEL TEAM, as well as all back-stage
devels  supporters


|-|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
              Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com



RE: Re : Setting TON/NPI....

2010-10-20 Thread Jignesh Gandhi
Hello,

Does anyone have any insight into my problem listed below and posted yesterday.

I would really appreciate it.

thanks,
--Jignesh Gandhi


From: Jignesh Gandhi
Sent: Tuesday, October 19, 2010 9:29 AM
To: users@kannel.org
Subject: Re : Setting TON/NPI

Hello,

I am using Kannel 1.4.3  and am in a need of assistance regarding TON/NPI.

Here is the use case.

In certain call scenarios we want to be able to swap the source  and 
destination TON/NPI.

Is there a way to set the TON/NPI besides the core configuration parameters 
which are
used on every sms going out ?

thank you in advance,
--Jignesh Gandhi



Re: [ANNOUNCE] Kannel 1.5.0 development release available

2010-10-20 Thread Luís Tiago Rico
Great work!

Congratulations to all the Kannel Team

2010/10/21 Alvaro Cornejo cornejo.alv...@gmail.com

 Excellent news

 Big Applauses for the ENTIRE DEVEL TEAM, as well as all back-stage
 devels  supporters



 |-|
 Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
 celular y Nextel
 en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
 SMS y GPRS online
   Visitenos en www.perusms.NET www.smsglobal.com.mx y
 www.pravcom.com




-- 
Luís Tiago Rico

*Present Technologies*
Rua D. João de Castro, Lote 12
Urbanização Quinta da Fonte
3030-384 Coimbra
Portugal


Re: [ANNOUNCE] Kannel 1.5.0 development release available

2010-10-20 Thread Abdul Basit
When can we test?

2010/10/21 Alvaro Cornejo cornejo.alv...@gmail.com

 Excellent news

 Big Applauses for the ENTIRE DEVEL TEAM, as well as all back-stage
 devels  supporters



 |-|
 Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
 celular y Nextel
 en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
 SMS y GPRS online
   Visitenos en www.perusms.NET www.smsglobal.com.mx y
 www.pravcom.com




-- 
Regards,

Abdul Basit | +92 32 1416 4196


Re: Regarding IMSI No

2010-10-20 Thread Benaiad
Try this java class:


public class NETWPIN {
public static void main(String[] args) {
String IMSI = 404020506708200;
byte[] key = getKeyFromIMSI(IMSI);
String NETWPIN = bytesToHex(key);
System.out.println(NETWPIN from imsi:  + NETWPIN);
}
private static byte[] getKeyFromIMSI(String imsi) {
imsi = imsi.trim();
if ((imsi.length() % 2) == 1) {
imsi = 9 + imsi;
} else {
imsi = 1 + imsi;
imsi = imsi + F;
}
int numDigit = imsi.length();
String temp = null;
char c1 = 0;
char c2 = 0;
byte b = 0;
byte[] key = new byte[numDigit / 2]; // always even
int t = 0;
for (int i = 0; i  numDigit; i++) {
c1 = imsi.charAt(i);
c2 = imsi.charAt(++i);
temp =  + c2 + c1;
try {
key[t] = (byte) (Integer.parseInt(temp, 16));
} catch (Exception ex) {
ex.printStackTrace();
}
t++;
}
return key;
}
private static String bytesToHex(byte[] b) {
StringBuffer buf = new StringBuffer();
for (int i = 0; i  b.length; i++) {
buf.append(byteToHex(b[i]));
}
return buf.toString();
}
private static String byteToHex(byte b) {
// Returns hex String representation of byte b
char hexDigit[] = {
'0', '1', '2', '3', '4', '5', '6', '7',
'8', '9', 'A', 'B', 'C', 'D', 'E', 'F'
};
char[] array = {hexDigit[(b  4)  0x0f], hexDigit[b  0x0f]};
return new String(array);
}
}

Regards
--
Abdulmnem Benaiad
Almontaha CTO
Tripoli-Libya
www.almontaha.ly
about.me http://about.me/benaiad/bio



On Wed, Oct 13, 2010 at 6:22 PM, Harmeet Singh
harmeet.dhing...@gmail.comwrote:

  Hi,



 Please help me in understanding how to use NETWPIN with kannel to send OTA
 settings.



 I think i am missing how to calculate HMAC code.



 Will be grateful for any kind of hint .





 Regards

 Harmeet Singh



 *From:* Harmeet Singh [mailto:harmeet.dhing...@gmail.com]
 *Sent:* 12 October 2010 15:29
 *To:* 'Benaiad'
 *Cc:* 'kannel users'
 *Subject:* RE: Regarding IMSI No



 Greetings ,



 Thanks for the reply.



 According to the document i  had calculate the NETWPIN but again same
 message is there i.e Authentication failed .



 My IMSI no is 404020506708200 as per the document i had calculated as 49 40
 20 50 60 07 28 00 .



 9 is used to pair.



 It is not working , Please help me in calculating above IMSI no to NETWPIN
 for Kannel.



 Regards

 Harmeet Singh



 *From:* Benaiad [mailto:bena...@gmail.com]
 *Sent:* 12 October 2010 11:36
 *To:* Harmeet Singh
 *Cc:* kannel users
 *Subject:* Re: Regarding IMSI No



 Hi,



 This document may help to explain the process of calculating the NETWPIN:



 http://www.nowsms.com/discus/messages/1/OTA_Motorola-3137.pdf


  Regards

 --

 Abdulmnem Benaiad

 Almontaha CTO

 www.almontaha.ly

 Tripoli-Libyan



 On Tue, Oct 12, 2010 at 7:17 AM, Harmeet Singh harmeet.dhing...@gmail.com
 wrote:

 Greetings,



 I am able to send the OTA Settings Message by using Kannel and UserPin has
 been used , But i want to use Netwpin (Imsi No) .



 I had already verified my IMSI no and it is ok . It has 15 digit .



 After reading and searching i came to know that we should provide Netwpin
 as semi-octets .



 Please help me to know how can i use Netwpin to send the OTA settings.



 Regards

 Harmeet Singh