Re: SIM Data download using kannel
exactly Nikos, but as soon as you have sat coding=1 the whole sms is 8bit binary anyways, so alt-dcs shouldn't be needed, isn't that correctly understood? Arnar On 06/09/2010 07:07 AM, Nikos Balkanas wrote: Hi, Just a correction to avoid confusion. What you are describing is coding: 0 for 7bit, 1 for 8-bit, 2 for unicode. alt-dcs is binary and determines the whole sms data encoding either as 00x or FFx. It affects a whole range of settings such as coding, mwi, mclass, but not bits per se. BR, Nikos - Original Message - From: "Kent Walker" To: "Arnar Gestsson" Cc: Sent: Tuesday, June 08, 2010 9:57 PM Subject: RE: SIM Data download using kannel Hi Arnar, It has been a few years, so my logic behind setting alt-dcs is fuzzy. Somebody might have some more insight, but I thought that setting it to 1 indicated 8-bit binary instead of 7-bit GSM. It looks like you header fields are correct. Have you actually generated a valid authentication value yet that you know is correct? That was the most difficult part for me. What I did was reversed engineered an OTA that a SIM vendor had sent to our SMSC. Without that information, there is no way I could have figured it all out. Remember too that the KId, KIc, TAR values and the supported SIM toolkit commands are different for each SIM vendor and, perhaps, each SIM profile. Your settings for Gemalto may not work for G&D. I do this all through kannel connected via SMPP 3.4 to our SMSC. I then use a wget statement in my perl code to send the message to Kannel. Kent Walker -Original Message- From: Arnar Gestsson [mailto:arnargests...@gmail.com] Sent: Tuesday, June 08, 2010 11:54 AM To: Kent Walker Cc: us...@vm1.kannel.org Subject: Re: SIM Data download using kannel ;) Hi Kent, thanks a lot, this is actually my thought, i.e. udh - contains the udh portion of the 03.48 packet text - contains the Command packet of the 03.48 packet both fields are obviously url-encoded. The Command packet is CPL(2b), CHL(1b), SPI(2b), KIc(1b), KId(1b),TAR(3b), CNTR(5b), PCNTR(1b), RC(4b), Secure data(xb) in my example we use CRC32 so RC becomes 4b. I just wanted to get confirmed that this format of use is correct. Have you sent this command over SMPP connection or any other of the smsc protocols? Use of alt-dcs shouldn't be needed, should it? Arnar On 06/08/2010 05:04 PM, Kent Walker wrote: Hi Arnar, You are not crazy and someone else has done this: http://10.0.2.105:$Port/cgi-bin/sendsms?validity=$ValidityPeriod&usernam e=x&password=y&to=$MSISDNs[$count]&from=990200$ESME&coding=1&pid=127&dlr -mask=3&mclass=2&udh=%02%70%00&alt-dcs=1&text=$Headers_Http%$Checksum[0] %$Checksum[1]%$Checksum[2]%$Checksum[3]%$Checksum[4]%$Checksum[5]%$Check sum[6]%$Checksum[7]$APDU_Http_Refresh This is perl, so everything starting with $ is one of my variables. $Header-Http is my string of OTA headers as in GSM 03.48 $Checksum[0-7] is my authentication checksum as in GSM 03.48 $APDU_Http_Refresh is my GSM 11.11 APDU string. Thanks, Kent -Original Message- From: users-boun...@vm1.kannel.org [mailto:users-boun...@vm1.kannel.org] On Behalf Of Arnar Gestsson Sent: Tuesday, June 08, 2010 10:29 AM To: Rene Kluwen Cc: us...@vm1.kannel.org Subject: Re: SIM Data download using kannel ;) well, I want to do OTA update on a EF that has wrong values. Virus, no not really. But someone must have done this before, don't you think so? Arnar On 06/08/2010 04:17 PM, Rene Kluwen wrote: What are you trying to do? Write a virus? Heh... I don't believe it is going to work... but if it does: please share ;) == Rene -Original Message- From: Arnar Gestsson [mailto:arnargests...@gmail.com] Sent: dinsdag 8 juni 2010 16:14 To: Rene Kluwen Cc: users@kannel.org Subject: Re: SIM Data download using kannel Hi Rene, I intend to send this over an SMPP connection, so I'm not using AT commands at all. Arnar On 06/08/2010 04:11 PM, Rene Kluwen wrote: Shouldn't you be using the AT+CMGW command to do that, instead of AT+CMGS that Kannel is using? Just a question. -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Arnar Gestsson Sent: dinsdag 8 juni 2010 16:05 To: users@kannel.org Subject: SIM Data download using kannel Hi guys, I want to do sim data download using http interface of kannel. I want to send command to sim to read binary of a EF, such as A0A4023F00A0A4027F20A0A4026F7BA0B000 given that I have the profile data required, i.e. the keys, SPI, KiC, KiD values as well as the TAR value. Then the correct way to send it would be .../cgi-bin/sendsms?username=XXX&password=YYY&udh=%02%70%00&text= code d-command-message-in-03.48-format>&coding=1&pid=127&mclass=2 wouldn't it? This message should come correctly into the ME and been packed into SMS-Point-to-Point Envelop in the ME and sent to the SIMCard, shouldn't it?
Re: sqlbox: PGSQL: could not connect to server
Hi, Have tried specifying: port= in your pgsql-connection group? BR, Nikos - Original Message - From: Scott Geller To: users@kannel.org Sent: Wednesday, June 09, 2010 3:32 AM Subject: sqlbox: PGSQL: could not connect to server Hi Kannel Users I'm new to Kannel and trying to get sqlbox running (I have bearerbox and smsbox running with no problems)... when I run sqlbox, I'm getting the following errors: 2010-06-08 20:25:48 [12785] [0] ERROR: PGSQL: connection to database 'dlr' failed! 2010-06-08 20:25:48 [12785] [0] PANIC: PGSQL: could not connect to server: Connection refused Is the server running on host "localhost" and accepting TCP/IP connections on port 5? Strange note that I previously got a port connection error of: 2010-06-08 18:17:08 [5828] [0] ERROR: PGSQL: connection to database 'dlr' failed! 2010-06-08 18:17:08 [5828] [0] PANIC: PGSQL: could not connect to server: Connection refused Is the server running on host "localhost" and accepting TCP/IP connections on port 1936681068? Any idea why sqlbox isn't automatically using the postgresql port of 5432? thanks!! Scott My conf files are: ## sqlbox conf file ## group = sqlbox id = sqlbox-db smsbox-id = sqlbox bearerbox-host = localhost bearerbox-port = 13000 smsbox-port = 13001 sql-log-table = sent_sms sql-insert-table = send_sms log-file = "/var/log/kannel/kannel-sqlbox.log" log-level = 0 group = pgsql-connection id = sqlbox-db username = postgres password = postgres database = dlr host = localhost max-connections = 1 ## bearerbox and smsbox conf file ## group = core admin-port = 13000 admin-password = bar smsbox-port = 13001 log-file = "/var/log/kannel/bearerbox.log" log-level = 0 access-log = "/var/log/kannel/bearerbox_access.log" dlr-storage = pgsql group = smsc smsc = at device = /dev/rfcomm0 #speed = 9600 speed = 115200 group = smsbox bearerbox-host = localhost log-file = "/var/log/kannel/smsbox.log" log-level = 0 access-log = "/var/log/kannel/smsbox_access.log" group = modems id = generic name = "Generic Modem" group = sendsms-user username = tester password = foobar name = "tester sendsms-user" group = sms-service keyword = nop text = "You asked nothing and I did it!" catch-all = true group = sms-service keyword = default text = "testing 123455" group = pgsql-connection id = mydlr host = localhost username = postgres password = postgres database = dlr max-connections = 10 group = dlr-db id = mydlr table = dlr field-smsc = smsc field-timestamp = ts field-destination = destination field-source = source field-service = service field-url = url field-mask = mask field-status = status field-boxc-id = boxc
Re: SIM Data download using kannel
Hi, Just a correction to avoid confusion. What you are describing is coding: 0 for 7bit, 1 for 8-bit, 2 for unicode. alt-dcs is binary and determines the whole sms data encoding either as 00x or FFx. It affects a whole range of settings such as coding, mwi, mclass, but not bits per se. BR, Nikos - Original Message - From: "Kent Walker" To: "Arnar Gestsson" Cc: Sent: Tuesday, June 08, 2010 9:57 PM Subject: RE: SIM Data download using kannel Hi Arnar, It has been a few years, so my logic behind setting alt-dcs is fuzzy. Somebody might have some more insight, but I thought that setting it to 1 indicated 8-bit binary instead of 7-bit GSM. It looks like you header fields are correct. Have you actually generated a valid authentication value yet that you know is correct? That was the most difficult part for me. What I did was reversed engineered an OTA that a SIM vendor had sent to our SMSC. Without that information, there is no way I could have figured it all out. Remember too that the KId, KIc, TAR values and the supported SIM toolkit commands are different for each SIM vendor and, perhaps, each SIM profile. Your settings for Gemalto may not work for G&D. I do this all through kannel connected via SMPP 3.4 to our SMSC. I then use a wget statement in my perl code to send the message to Kannel. Kent Walker -Original Message- From: Arnar Gestsson [mailto:arnargests...@gmail.com] Sent: Tuesday, June 08, 2010 11:54 AM To: Kent Walker Cc: us...@vm1.kannel.org Subject: Re: SIM Data download using kannel ;) Hi Kent, thanks a lot, this is actually my thought, i.e. udh - contains the udh portion of the 03.48 packet text - contains the Command packet of the 03.48 packet both fields are obviously url-encoded. The Command packet is CPL(2b), CHL(1b), SPI(2b), KIc(1b), KId(1b),TAR(3b), CNTR(5b), PCNTR(1b), RC(4b), Secure data(xb) in my example we use CRC32 so RC becomes 4b. I just wanted to get confirmed that this format of use is correct. Have you sent this command over SMPP connection or any other of the smsc protocols? Use of alt-dcs shouldn't be needed, should it? Arnar On 06/08/2010 05:04 PM, Kent Walker wrote: Hi Arnar, You are not crazy and someone else has done this: http://10.0.2.105:$Port/cgi-bin/sendsms?validity=$ValidityPeriod&usernam e=x&password=y&to=$MSISDNs[$count]&from=990200$ESME&coding=1&pid=127&dlr -mask=3&mclass=2&udh=%02%70%00&alt-dcs=1&text=$Headers_Http%$Checksum[0] %$Checksum[1]%$Checksum[2]%$Checksum[3]%$Checksum[4]%$Checksum[5]%$Check sum[6]%$Checksum[7]$APDU_Http_Refresh This is perl, so everything starting with $ is one of my variables. $Header-Http is my string of OTA headers as in GSM 03.48 $Checksum[0-7] is my authentication checksum as in GSM 03.48 $APDU_Http_Refresh is my GSM 11.11 APDU string. Thanks, Kent -Original Message- From: users-boun...@vm1.kannel.org [mailto:users-boun...@vm1.kannel.org] On Behalf Of Arnar Gestsson Sent: Tuesday, June 08, 2010 10:29 AM To: Rene Kluwen Cc: us...@vm1.kannel.org Subject: Re: SIM Data download using kannel ;) well, I want to do OTA update on a EF that has wrong values. Virus, no not really. But someone must have done this before, don't you think so? Arnar On 06/08/2010 04:17 PM, Rene Kluwen wrote: What are you trying to do? Write a virus? Heh... I don't believe it is going to work... but if it does: please share ;) == Rene -Original Message- From: Arnar Gestsson [mailto:arnargests...@gmail.com] Sent: dinsdag 8 juni 2010 16:14 To: Rene Kluwen Cc: users@kannel.org Subject: Re: SIM Data download using kannel Hi Rene, I intend to send this over an SMPP connection, so I'm not using AT commands at all. Arnar On 06/08/2010 04:11 PM, Rene Kluwen wrote: Shouldn't you be using the AT+CMGW command to do that, instead of AT+CMGS that Kannel is using? Just a question. -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Arnar Gestsson Sent: dinsdag 8 juni 2010 16:05 To: users@kannel.org Subject: SIM Data download using kannel Hi guys, I want to do sim data download using http interface of kannel. I want to send command to sim to read binary of a EF, such as A0A4023F00A0A4027F20A0A4026F7BA0B000 given that I have the profile data required, i.e. the keys, SPI, KiC, KiD values as well as the TAR value. Then the correct way to send it would be .../cgi-bin/sendsms?username=XXX&password=YYY&udh=%02%70%00&text= code d-command-message-in-03.48-format>&coding=1&pid=127&mclass=2 wouldn't it? This message should come correctly into the ME and been packed into SMS-Point-to-Point Envelop in the ME and sent to the SIMCard, shouldn't it? Isn't there anyone out there that can confirm this? BR. Arnar
sqlbox: PGSQL: could not connect to server
Hi Kannel Users I'm new to Kannel and trying to get sqlbox running (I have bearerbox and smsbox running with no problems)... when I run sqlbox, I'm getting the following errors: 2010-06-08 20:25:48 [12785] [0] ERROR: PGSQL: connection to database 'dlr' failed! 2010-06-08 20:25:48 [12785] [0] PANIC: PGSQL: could not connect to server: Connection refused Is the server running on host "localhost" and accepting TCP/IP connections on port 5? Strange note that I previously got a port connection error of: 2010-06-08 18:17:08 [5828] [0] ERROR: PGSQL: connection to database 'dlr' failed! 2010-06-08 18:17:08 [5828] [0] PANIC: PGSQL: could not connect to server: Connection refused Is the server running on host "localhost" and accepting TCP/IP connections on port 1936681068? Any idea why sqlbox isn't automatically using the postgresql port of 5432? thanks!! Scott My conf files are: ## sqlbox conf file ## group = sqlbox id = sqlbox-db smsbox-id = sqlbox bearerbox-host = localhost bearerbox-port = 13000 smsbox-port = 13001 sql-log-table = sent_sms sql-insert-table = send_sms log-file = "/var/log/kannel/kannel-sqlbox.log" log-level = 0 group = pgsql-connection id = sqlbox-db username = postgres password = postgres database = dlr host = localhost max-connections = 1 ## bearerbox and smsbox conf file ## group = core admin-port = 13000 admin-password = bar smsbox-port = 13001 log-file = "/var/log/kannel/bearerbox.log" log-level = 0 access-log = "/var/log/kannel/bearerbox_access.log" dlr-storage = pgsql group = smsc smsc = at device = /dev/rfcomm0 #speed = 9600 speed = 115200 group = smsbox bearerbox-host = localhost log-file = "/var/log/kannel/smsbox.log" log-level = 0 access-log = "/var/log/kannel/smsbox_access.log" group = modems id = generic name = "Generic Modem" group = sendsms-user username = tester password = foobar name = "tester sendsms-user" group = sms-service keyword = nop text = "You asked nothing and I did it!" catch-all = true group = sms-service keyword = default text = "testing 123455" group = pgsql-connection id = mydlr host = localhost username = postgres password = postgres database = dlr max-connections = 10 group = dlr-db id = mydlr table = dlr field-smsc = smsc field-timestamp = ts field-destination = destination field-source = source field-service = service field-url = url field-mask = mask field-status = status field-boxc-id = boxc
Re: need help
hi yes in the main directory of kannel source. no i have smppbox.patch, smppbox.conf, smpplogins.txt in main directory and smppbox.c in main_directory_of_kannel/gw br budi On Wed, Jun 9, 2010 at 5:37 AM, Thomas Sieh wrote: > hi, > > have you tried > > patch -p1 < smppbox.patch > > are you in the main directory of kannel source? is the patch in the same > directory? > > br, > thomas > > > On Wed, Jun 09, 2010 at 05:16:27AM +0700, budi wibowo wrote: > | hi > | i downloaded the latest cvs of kannel and try to implement smppbpx patch > | from chimit > | and i got this error when i do patch > | > | patch < smppbox.patch > | can't find file to patch at input line 8 > | Perhaps you should have used the -p or --strip option? > | The text leading up to this was: > | -- > | |Index: gwlib/cfg.def > | |=== > | |RCS file: /home/cvs/gateway/gwlib/cfg.def,v > | |retrieving revision 1.142 > | |diff -u -r1.142 cfg.def > | |--- gwlib/cfg.def 6 Dec 2009 17:24:14 - 1.142 > | |+++ gwlib/cfg.def 7 May 2010 19:02:39 - > | -- > | File to patch: > | Skip this patch? [y] > | Skipping patch. > | 1 out of 1 hunk ignored > | can't find file to patch at input line 34 > | Perhaps you should have used the -p or --strip option? > | The text leading up to this was: > | -- > | |Index: gwlib/conn.c > | |=== > | |RCS file: /home/cvs/gateway/gwlib/conn.c,v > | |retrieving revision 1.88 > | |diff -u -r1.88 conn.c > | |--- gwlib/conn.c 12 Jan 2009 16:46:54 - 1.88 > | |+++ gwlib/conn.c 7 May 2010 19:02:39 - > | -- > | File to patch: > | Skip this patch? [y] > | Skipping patch. > | 1 out of 1 hunk ignored > | can't find file to patch at input line 54 > | Perhaps you should have used the -p or --strip option? > | The text leading up to this was: > | -- > | |Index: gwlib/conn.h > | |=== > | |RCS file: /home/cvs/gateway/gwlib/conn.h,v > | |retrieving revision 1.36 > | |diff -u -r1.36 conn.h > | |--- gwlib/conn.h 12 Jan 2009 16:46:53 - 1.36 > | |+++ gwlib/conn.h 7 May 2010 19:02:39 - > | -- > | File to patch: > | Skip this patch? [y] > | Skipping patch. > | 1 out of 1 hunk ignored > | can't find file to patch at input line 62 > | Perhaps you should have used the -p or --strip option? > | The text leading up to this was: > | -- > | |--- Makefile 2010-05-07 22:17:30.0 +0200 > | |+++ Makefile 2010-05-07 21:28:35.0 +0200 > | -- > | File to patch: > | Skip this patch? [y] > | Skipping patch. > | 1 out of 1 hunk ignored > | > | > | any help is highly appreciated > | > | > | 2010/6/7 Nikos Balkanas > | > | > Hi, > | > > | > As I have explained in a previous mail. Download latest svn (or cvs). > It > | > won't work with 1.4.3. > | > > | > Extract patch from archive and go to gateway directory. > | > > | > Then patch < {smppbox.patch} > | > > | > I hope you do not bother this list again for the same question, which > | > incidentally is a unix, not a kannel issue. You should consider whether > you > | > have the minimum unix background needed for running kannel and/or > smppbox. > | > > | > BR, > | > Nikos > | > > | > - Original Message - From: "Kiran Reddy" > > | > To: > | > Sent: Monday, June 07, 2010 9:07 AM > | > Subject: need help > | > > | > > | > > | > Hi All, > | >> > | >> I am not able to install opensource smppbox with kannel. Can some one > help > | >> me to install kannel with opensource smppbox. > | >> > | >> I am using kannel 1.4.3 Stable version and i downloaded opensource > | >> smppbox. > | >> > | >> > | >> Regards, > | >> > | >> Kiran Reddy > | >> > | >> > | > > | > > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.9 (GNU/Linux) > > iQIcBAEBAgAGBQJMDsYoAAoJEM8Qh4iqNTLeXHkP/38oblv7HT1jRQcHQw9/9xxu > WEkoKEniiakzO7HQA5DW5xnvm2AOMpZfLsKAafCZ6BDy3wYRu3NsLf8u2UC5fcCa > KLkWRBGATeKrCTC/lXE6/7NVgmymb5qNej0gzHWjU8zvM4MZt1GrZDUtBG60z3ie > +l216O5SYpFaxzHf4xPva85Nu/2d7UR8HYw22fGASUf/w27078Qov9dIpzjjl9cG > rKZmnyDvnCUkd6yLPCIreoSSWpk3sU8xxQVW3KhvdDCO23tNgJms6wwjxK6bRI40 > dN5hpjiTG/MzI4DOkyX3cAuurSZ0ESaPRsVdys14rcbMCeNlaE2upjnRpwETzW0P > m6U2zbiFOqFIxwy/dC7zuWjXudaiXZ9WkEXAV0XAPYw012ZrQ+eljXh97S7DL1uK > XIp0UHm63JxNjJGxJYi40aciBWf2LfGlJRHk+d1vPHXmPwrjOay3/wK/L9k1ptsC > flOJlLVlS0UiEHlm5r5nTO9ddvnYmij0iVmitj5pRJk3jCHN+p7P+P1NvY/ltAA+ > upFB31jDJVm0EWHDnJ8TPMWgwJHGWsb5p7FGK/2AvTUR+75d5pAeGUJ2QS3pVvgq > F3oTIRPxDRfPbOIXtZg+2pJmvWDykUCW38RsGJ6TLPodp/qovesl9Q4jSf3A3bPi > KC7MMStXmS4nQdFS3QoP > =1ocJ > -END PGP SIGNATURE- > >
Re: need help
hi, have you tried patch -p1 < smppbox.patch are you in the main directory of kannel source? is the patch in the same directory? br, thomas On Wed, Jun 09, 2010 at 05:16:27AM +0700, budi wibowo wrote: | hi | i downloaded the latest cvs of kannel and try to implement smppbpx patch | from chimit | and i got this error when i do patch | | patch < smppbox.patch | can't find file to patch at input line 8 | Perhaps you should have used the -p or --strip option? | The text leading up to this was: | -- | |Index: gwlib/cfg.def | |=== | |RCS file: /home/cvs/gateway/gwlib/cfg.def,v | |retrieving revision 1.142 | |diff -u -r1.142 cfg.def | |--- gwlib/cfg.def 6 Dec 2009 17:24:14 - 1.142 | |+++ gwlib/cfg.def 7 May 2010 19:02:39 - | -- | File to patch: | Skip this patch? [y] | Skipping patch. | 1 out of 1 hunk ignored | can't find file to patch at input line 34 | Perhaps you should have used the -p or --strip option? | The text leading up to this was: | -- | |Index: gwlib/conn.c | |=== | |RCS file: /home/cvs/gateway/gwlib/conn.c,v | |retrieving revision 1.88 | |diff -u -r1.88 conn.c | |--- gwlib/conn.c 12 Jan 2009 16:46:54 - 1.88 | |+++ gwlib/conn.c 7 May 2010 19:02:39 - | -- | File to patch: | Skip this patch? [y] | Skipping patch. | 1 out of 1 hunk ignored | can't find file to patch at input line 54 | Perhaps you should have used the -p or --strip option? | The text leading up to this was: | -- | |Index: gwlib/conn.h | |=== | |RCS file: /home/cvs/gateway/gwlib/conn.h,v | |retrieving revision 1.36 | |diff -u -r1.36 conn.h | |--- gwlib/conn.h 12 Jan 2009 16:46:53 - 1.36 | |+++ gwlib/conn.h 7 May 2010 19:02:39 - | -- | File to patch: | Skip this patch? [y] | Skipping patch. | 1 out of 1 hunk ignored | can't find file to patch at input line 62 | Perhaps you should have used the -p or --strip option? | The text leading up to this was: | -- | |--- Makefile 2010-05-07 22:17:30.0 +0200 | |+++ Makefile 2010-05-07 21:28:35.0 +0200 | -- | File to patch: | Skip this patch? [y] | Skipping patch. | 1 out of 1 hunk ignored | | | any help is highly appreciated | | | 2010/6/7 Nikos Balkanas | | > Hi, | > | > As I have explained in a previous mail. Download latest svn (or cvs). It | > won't work with 1.4.3. | > | > Extract patch from archive and go to gateway directory. | > | > Then patch < {smppbox.patch} | > | > I hope you do not bother this list again for the same question, which | > incidentally is a unix, not a kannel issue. You should consider whether you | > have the minimum unix background needed for running kannel and/or smppbox. | > | > BR, | > Nikos | > | > - Original Message - From: "Kiran Reddy" | > To: | > Sent: Monday, June 07, 2010 9:07 AM | > Subject: need help | > | > | > | > Hi All, | >> | >> I am not able to install opensource smppbox with kannel. Can some one help | >> me to install kannel with opensource smppbox. | >> | >> I am using kannel 1.4.3 Stable version and i downloaded opensource | >> smppbox. | >> | >> | >> Regards, | >> | >> Kiran Reddy | >> | >> | > | > signature.asc Description: Digital signature
Re: need help
hi i downloaded the latest cvs of kannel and try to implement smppbpx patch from chimit and i got this error when i do patch patch < smppbox.patch can't find file to patch at input line 8 Perhaps you should have used the -p or --strip option? The text leading up to this was: -- |Index: gwlib/cfg.def |=== |RCS file: /home/cvs/gateway/gwlib/cfg.def,v |retrieving revision 1.142 |diff -u -r1.142 cfg.def |--- gwlib/cfg.def 6 Dec 2009 17:24:14 - 1.142 |+++ gwlib/cfg.def 7 May 2010 19:02:39 - -- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 34 Perhaps you should have used the -p or --strip option? The text leading up to this was: -- |Index: gwlib/conn.c |=== |RCS file: /home/cvs/gateway/gwlib/conn.c,v |retrieving revision 1.88 |diff -u -r1.88 conn.c |--- gwlib/conn.c 12 Jan 2009 16:46:54 - 1.88 |+++ gwlib/conn.c 7 May 2010 19:02:39 - -- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 54 Perhaps you should have used the -p or --strip option? The text leading up to this was: -- |Index: gwlib/conn.h |=== |RCS file: /home/cvs/gateway/gwlib/conn.h,v |retrieving revision 1.36 |diff -u -r1.36 conn.h |--- gwlib/conn.h 12 Jan 2009 16:46:53 - 1.36 |+++ gwlib/conn.h 7 May 2010 19:02:39 - -- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 62 Perhaps you should have used the -p or --strip option? The text leading up to this was: -- |--- Makefile 2010-05-07 22:17:30.0 +0200 |+++ Makefile 2010-05-07 21:28:35.0 +0200 -- File to patch: Skip this patch? [y] Skipping patch. 1 out of 1 hunk ignored any help is highly appreciated 2010/6/7 Nikos Balkanas > Hi, > > As I have explained in a previous mail. Download latest svn (or cvs). It > won't work with 1.4.3. > > Extract patch from archive and go to gateway directory. > > Then patch < {smppbox.patch} > > I hope you do not bother this list again for the same question, which > incidentally is a unix, not a kannel issue. You should consider whether you > have the minimum unix background needed for running kannel and/or smppbox. > > BR, > Nikos > > - Original Message - From: "Kiran Reddy" > To: > Sent: Monday, June 07, 2010 9:07 AM > Subject: need help > > > > Hi All, >> >> I am not able to install opensource smppbox with kannel. Can some one help >> me to install kannel with opensource smppbox. >> >> I am using kannel 1.4.3 Stable version and i downloaded opensource >> smppbox. >> >> >> Regards, >> >> Kiran Reddy >> >> > >
RE: SIM Data download using kannel
Hi Arnar, It has been a few years, so my logic behind setting alt-dcs is fuzzy. Somebody might have some more insight, but I thought that setting it to 1 indicated 8-bit binary instead of 7-bit GSM. It looks like you header fields are correct. Have you actually generated a valid authentication value yet that you know is correct? That was the most difficult part for me. What I did was reversed engineered an OTA that a SIM vendor had sent to our SMSC. Without that information, there is no way I could have figured it all out. Remember too that the KId, KIc, TAR values and the supported SIM toolkit commands are different for each SIM vendor and, perhaps, each SIM profile. Your settings for Gemalto may not work for G&D. I do this all through kannel connected via SMPP 3.4 to our SMSC. I then use a wget statement in my perl code to send the message to Kannel. Kent Walker -Original Message- From: Arnar Gestsson [mailto:arnargests...@gmail.com] Sent: Tuesday, June 08, 2010 11:54 AM To: Kent Walker Cc: us...@vm1.kannel.org Subject: Re: SIM Data download using kannel ;) Hi Kent, thanks a lot, this is actually my thought, i.e. udh - contains the udh portion of the 03.48 packet text - contains the Command packet of the 03.48 packet both fields are obviously url-encoded. The Command packet is CPL(2b), CHL(1b), SPI(2b), KIc(1b), KId(1b),TAR(3b), CNTR(5b), PCNTR(1b), RC(4b), Secure data(xb) in my example we use CRC32 so RC becomes 4b. I just wanted to get confirmed that this format of use is correct. Have you sent this command over SMPP connection or any other of the smsc protocols? Use of alt-dcs shouldn't be needed, should it? Arnar On 06/08/2010 05:04 PM, Kent Walker wrote: > Hi Arnar, > > You are not crazy and someone else has done this: > > http://10.0.2.105:$Port/cgi-bin/sendsms?validity=$ValidityPeriod&usernam > e=x&password=y&to=$MSISDNs[$count]&from=990200$ESME&coding=1&pid=127&dlr > -mask=3&mclass=2&udh=%02%70%00&alt-dcs=1&text=$Headers_Http%$Checksum[0] > %$Checksum[1]%$Checksum[2]%$Checksum[3]%$Checksum[4]%$Checksum[5]%$Check > sum[6]%$Checksum[7]$APDU_Http_Refresh > > This is perl, so everything starting with $ is one of my variables. > > $Header-Http is my string of OTA headers as in GSM 03.48 > $Checksum[0-7] is my authentication checksum as in GSM 03.48 > $APDU_Http_Refresh is my GSM 11.11 APDU string. > > Thanks, > > Kent > > > -Original Message- > From: users-boun...@vm1.kannel.org [mailto:users-boun...@vm1.kannel.org] > On Behalf Of Arnar Gestsson > Sent: Tuesday, June 08, 2010 10:29 AM > To: Rene Kluwen > Cc: us...@vm1.kannel.org > Subject: Re: SIM Data download using kannel > > ;) > > well, I want to do OTA update on a EF that has wrong values. Virus, no > not really. But someone must have done this before, don't you think so? > > Arnar > > On 06/08/2010 04:17 PM, Rene Kluwen wrote: > >> What are you trying to do? Write a virus? Heh... >> >> I don't believe it is going to work... but if it does: please share ;) >> >> == Rene >> >> >> -Original Message- >> From: Arnar Gestsson [mailto:arnargests...@gmail.com] >> Sent: dinsdag 8 juni 2010 16:14 >> To: Rene Kluwen >> Cc: users@kannel.org >> Subject: Re: SIM Data download using kannel >> >> Hi Rene, >> >> I intend to send this over an SMPP connection, so I'm not using AT >> commands at all. >> >> >> Arnar >> >> >> >> On 06/08/2010 04:11 PM, Rene Kluwen wrote: >> >> >>> Shouldn't you be using the AT+CMGW command to do that, instead of >>> > AT+CMGS > >>> that Kannel is using? >>> Just a question. >>> >>> -Original Message- >>> From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On >>> > Behalf > >>> Of Arnar Gestsson >>> Sent: dinsdag 8 juni 2010 16:05 >>> To: users@kannel.org >>> Subject: SIM Data download using kannel >>> >>> Hi guys, >>> >>> I want to do sim data download using http interface of kannel. I >>> > want > >>> to send command to sim to read binary of a EF, such as >>> >>> A0A4023F00A0A4027F20A0A4026F7BA0B000 >>> >>> given that I have the profile data required, i.e. the keys, SPI, KiC, >>> KiD values as well as the TAR value. Then the correct way to send it >>> would be >>> >>> >>> >>> >> > .../cgi-bin/sendsms?username=XXX&password=YYY&udh=%02%70%00&text= code > >> >> >>> d-command-message-in-03.48-format>&coding=1&pid=127&mclass=2 >>> >>> wouldn't it? >>> >>> This message should come correctly into the ME and been packed into >>> SMS-Point-to-Point Envelop in the ME and sent to the SIMCard, >>> > shouldn't > >>> >>> >> it? >> >> >>> Isn't there anyone out there that can confirm this? >>> >>> BR. >>> >>> Arnar >>> >>> >>> >>> >>> >>> >>> >> >> >> >> > >
Re: SIM Data download using kannel
;) Hi Kent, thanks a lot, this is actually my thought, i.e. udh - contains the udh portion of the 03.48 packet text - contains the Command packet of the 03.48 packet both fields are obviously url-encoded. The Command packet is CPL(2b), CHL(1b), SPI(2b), KIc(1b), KId(1b),TAR(3b), CNTR(5b), PCNTR(1b), RC(4b), Secure data(xb) in my example we use CRC32 so RC becomes 4b. I just wanted to get confirmed that this format of use is correct. Have you sent this command over SMPP connection or any other of the smsc protocols? Use of alt-dcs shouldn't be needed, should it? Arnar On 06/08/2010 05:04 PM, Kent Walker wrote: Hi Arnar, You are not crazy and someone else has done this: http://10.0.2.105:$Port/cgi-bin/sendsms?validity=$ValidityPeriod&usernam e=x&password=y&to=$MSISDNs[$count]&from=990200$ESME&coding=1&pid=127&dlr -mask=3&mclass=2&udh=%02%70%00&alt-dcs=1&text=$Headers_Http%$Checksum[0] %$Checksum[1]%$Checksum[2]%$Checksum[3]%$Checksum[4]%$Checksum[5]%$Check sum[6]%$Checksum[7]$APDU_Http_Refresh This is perl, so everything starting with $ is one of my variables. $Header-Http is my string of OTA headers as in GSM 03.48 $Checksum[0-7] is my authentication checksum as in GSM 03.48 $APDU_Http_Refresh is my GSM 11.11 APDU string. Thanks, Kent -Original Message- From: users-boun...@vm1.kannel.org [mailto:users-boun...@vm1.kannel.org] On Behalf Of Arnar Gestsson Sent: Tuesday, June 08, 2010 10:29 AM To: Rene Kluwen Cc: us...@vm1.kannel.org Subject: Re: SIM Data download using kannel ;) well, I want to do OTA update on a EF that has wrong values. Virus, no not really. But someone must have done this before, don't you think so? Arnar On 06/08/2010 04:17 PM, Rene Kluwen wrote: What are you trying to do? Write a virus? Heh... I don't believe it is going to work... but if it does: please share ;) == Rene -Original Message- From: Arnar Gestsson [mailto:arnargests...@gmail.com] Sent: dinsdag 8 juni 2010 16:14 To: Rene Kluwen Cc: users@kannel.org Subject: Re: SIM Data download using kannel Hi Rene, I intend to send this over an SMPP connection, so I'm not using AT commands at all. Arnar On 06/08/2010 04:11 PM, Rene Kluwen wrote: Shouldn't you be using the AT+CMGW command to do that, instead of AT+CMGS that Kannel is using? Just a question. -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Arnar Gestsson Sent: dinsdag 8 juni 2010 16:05 To: users@kannel.org Subject: SIM Data download using kannel Hi guys, I want to do sim data download using http interface of kannel. I want to send command to sim to read binary of a EF, such as A0A4023F00A0A4027F20A0A4026F7BA0B000 given that I have the profile data required, i.e. the keys, SPI, KiC, KiD values as well as the TAR value. Then the correct way to send it would be .../cgi-bin/sendsms?username=XXX&password=YYY&udh=%02%70%00&text= d-command-message-in-03.48-format>&coding=1&pid=127&mclass=2 wouldn't it? This message should come correctly into the ME and been packed into SMS-Point-to-Point Envelop in the ME and sent to the SIMCard, shouldn't it? Isn't there anyone out there that can confirm this? BR. Arnar
RE: SIM Data download using kannel
Hi Arnar, You are not crazy and someone else has done this: http://10.0.2.105:$Port/cgi-bin/sendsms?validity=$ValidityPeriod&usernam e=x&password=y&to=$MSISDNs[$count]&from=990200$ESME&coding=1&pid=127&dlr -mask=3&mclass=2&udh=%02%70%00&alt-dcs=1&text=$Headers_Http%$Checksum[0] %$Checksum[1]%$Checksum[2]%$Checksum[3]%$Checksum[4]%$Checksum[5]%$Check sum[6]%$Checksum[7]$APDU_Http_Refresh This is perl, so everything starting with $ is one of my variables. $Header-Http is my string of OTA headers as in GSM 03.48 $Checksum[0-7] is my authentication checksum as in GSM 03.48 $APDU_Http_Refresh is my GSM 11.11 APDU string. Thanks, Kent -Original Message- From: users-boun...@vm1.kannel.org [mailto:users-boun...@vm1.kannel.org] On Behalf Of Arnar Gestsson Sent: Tuesday, June 08, 2010 10:29 AM To: Rene Kluwen Cc: us...@vm1.kannel.org Subject: Re: SIM Data download using kannel ;) well, I want to do OTA update on a EF that has wrong values. Virus, no not really. But someone must have done this before, don't you think so? Arnar On 06/08/2010 04:17 PM, Rene Kluwen wrote: > What are you trying to do? Write a virus? Heh... > > I don't believe it is going to work... but if it does: please share ;) > > == Rene > > > -Original Message- > From: Arnar Gestsson [mailto:arnargests...@gmail.com] > Sent: dinsdag 8 juni 2010 16:14 > To: Rene Kluwen > Cc: users@kannel.org > Subject: Re: SIM Data download using kannel > > Hi Rene, > > I intend to send this over an SMPP connection, so I'm not using AT > commands at all. > > > Arnar > > > > On 06/08/2010 04:11 PM, Rene Kluwen wrote: > >> Shouldn't you be using the AT+CMGW command to do that, instead of AT+CMGS >> that Kannel is using? >> Just a question. >> >> -Original Message- >> From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf >> Of Arnar Gestsson >> Sent: dinsdag 8 juni 2010 16:05 >> To: users@kannel.org >> Subject: SIM Data download using kannel >> >> Hi guys, >> >> I want to do sim data download using http interface of kannel. I want >> to send command to sim to read binary of a EF, such as >> >> A0A4023F00A0A4027F20A0A4026F7BA0B000 >> >> given that I have the profile data required, i.e. the keys, SPI, KiC, >> KiD values as well as the TAR value. Then the correct way to send it >> would be >> >> >> > .../cgi-bin/sendsms?username=XXX&password=YYY&udh=%02%70%00&text= >> d-command-message-in-03.48-format>&coding=1&pid=127&mclass=2 >> >> wouldn't it? >> >> This message should come correctly into the ME and been packed into >> SMS-Point-to-Point Envelop in the ME and sent to the SIMCard, shouldn't >> > it? > >> Isn't there anyone out there that can confirm this? >> >> BR. >> >> Arnar >> >> >> >> >> >> > > > >
Re: SIM Data download using kannel
;) well, I want to do OTA update on a EF that has wrong values. Virus, no not really. But someone must have done this before, don't you think so? Arnar On 06/08/2010 04:17 PM, Rene Kluwen wrote: What are you trying to do? Write a virus? Heh... I don't believe it is going to work... but if it does: please share ;) == Rene -Original Message- From: Arnar Gestsson [mailto:arnargests...@gmail.com] Sent: dinsdag 8 juni 2010 16:14 To: Rene Kluwen Cc: users@kannel.org Subject: Re: SIM Data download using kannel Hi Rene, I intend to send this over an SMPP connection, so I'm not using AT commands at all. Arnar On 06/08/2010 04:11 PM, Rene Kluwen wrote: Shouldn't you be using the AT+CMGW command to do that, instead of AT+CMGS that Kannel is using? Just a question. -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Arnar Gestsson Sent: dinsdag 8 juni 2010 16:05 To: users@kannel.org Subject: SIM Data download using kannel Hi guys, I want to do sim data download using http interface of kannel. I want to send command to sim to read binary of a EF, such as A0A4023F00A0A4027F20A0A4026F7BA0B000 given that I have the profile data required, i.e. the keys, SPI, KiC, KiD values as well as the TAR value. Then the correct way to send it would be .../cgi-bin/sendsms?username=XXX&password=YYY&udh=%02%70%00&text= d-command-message-in-03.48-format>&coding=1&pid=127&mclass=2 wouldn't it? This message should come correctly into the ME and been packed into SMS-Point-to-Point Envelop in the ME and sent to the SIMCard, shouldn't it? Isn't there anyone out there that can confirm this? BR. Arnar
RE: SIM Data download using kannel
What are you trying to do? Write a virus? Heh... I don't believe it is going to work... but if it does: please share ;) == Rene -Original Message- From: Arnar Gestsson [mailto:arnargests...@gmail.com] Sent: dinsdag 8 juni 2010 16:14 To: Rene Kluwen Cc: users@kannel.org Subject: Re: SIM Data download using kannel Hi Rene, I intend to send this over an SMPP connection, so I'm not using AT commands at all. Arnar On 06/08/2010 04:11 PM, Rene Kluwen wrote: > Shouldn't you be using the AT+CMGW command to do that, instead of AT+CMGS > that Kannel is using? > Just a question. > > -Original Message- > From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf > Of Arnar Gestsson > Sent: dinsdag 8 juni 2010 16:05 > To: users@kannel.org > Subject: SIM Data download using kannel > > Hi guys, > > I want to do sim data download using http interface of kannel. I want > to send command to sim to read binary of a EF, such as > > A0A4023F00A0A4027F20A0A4026F7BA0B000 > > given that I have the profile data required, i.e. the keys, SPI, KiC, > KiD values as well as the TAR value. Then the correct way to send it > would be > > .../cgi-bin/sendsms?username=XXX&password=YYY&udh=%02%70%00&text= d-command-message-in-03.48-format>&coding=1&pid=127&mclass=2 > > wouldn't it? > > This message should come correctly into the ME and been packed into > SMS-Point-to-Point Envelop in the ME and sent to the SIMCard, shouldn't it? > > Isn't there anyone out there that can confirm this? > > BR. > > Arnar > > > > >
Re: SIM Data download using kannel
Hi Rene, I intend to send this over an SMPP connection, so I'm not using AT commands at all. Arnar On 06/08/2010 04:11 PM, Rene Kluwen wrote: Shouldn't you be using the AT+CMGW command to do that, instead of AT+CMGS that Kannel is using? Just a question. -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Arnar Gestsson Sent: dinsdag 8 juni 2010 16:05 To: users@kannel.org Subject: SIM Data download using kannel Hi guys, I want to do sim data download using http interface of kannel. I want to send command to sim to read binary of a EF, such as A0A4023F00A0A4027F20A0A4026F7BA0B000 given that I have the profile data required, i.e. the keys, SPI, KiC, KiD values as well as the TAR value. Then the correct way to send it would be .../cgi-bin/sendsms?username=XXX&password=YYY&udh=%02%70%00&text=&coding=1&pid=127&mclass=2 wouldn't it? This message should come correctly into the ME and been packed into SMS-Point-to-Point Envelop in the ME and sent to the SIMCard, shouldn't it? Isn't there anyone out there that can confirm this? BR. Arnar
RE: SIM Data download using kannel
Shouldn't you be using the AT+CMGW command to do that, instead of AT+CMGS that Kannel is using? Just a question. -Original Message- From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of Arnar Gestsson Sent: dinsdag 8 juni 2010 16:05 To: users@kannel.org Subject: SIM Data download using kannel Hi guys, I want to do sim data download using http interface of kannel. I want to send command to sim to read binary of a EF, such as A0A4023F00A0A4027F20A0A4026F7BA0B000 given that I have the profile data required, i.e. the keys, SPI, KiC, KiD values as well as the TAR value. Then the correct way to send it would be .../cgi-bin/sendsms?username=XXX&password=YYY&udh=%02%70%00&text=&coding=1&pid=127&mclass=2 wouldn't it? This message should come correctly into the ME and been packed into SMS-Point-to-Point Envelop in the ME and sent to the SIMCard, shouldn't it? Isn't there anyone out there that can confirm this? BR. Arnar
SIM Data download using kannel
Hi guys, I want to do sim data download using http interface of kannel. I want to send command to sim to read binary of a EF, such as A0A4023F00A0A4027F20A0A4026F7BA0B000 given that I have the profile data required, i.e. the keys, SPI, KiC, KiD values as well as the TAR value. Then the correct way to send it would be .../cgi-bin/sendsms?username=XXX&password=YYY&udh=%02%70%00&text=&coding=1&pid=127&mclass=2 wouldn't it? This message should come correctly into the ME and been packed into SMS-Point-to-Point Envelop in the ME and sent to the SIMCard, shouldn't it? Isn't there anyone out there that can confirm this? BR. Arnar
Re: Subversion URL?
On Tue, 2010-06-08 at 15:41, Peter wrote: > what is the username and password for that svn? You don't need username and password to download from that repository. > > Rene Kluwen rene.kluwen-at-chimit.nl |Lists/Send to lists| wrote: > > > Try: svn co https://svn.kannel.org/gateway/trunk -- Kind regards, Milan -- Arvanta, IT Securityhttp://www.arvanta.net Please do not send me e-mail containing HTML code.
Re: Subversion URL?
Hi all, what is the username and password for that svn? pek Στις 07-06-2010, ημέρα Δευ, και ώρα 16:03 +0200, ο/η "Peter Valdemar Mørch (Lists)" έγραψε: > Rene Kluwen rene.kluwen-at-chimit.nl |Lists/Send to lists| wrote: > > Try: svn co https://svn.kannel.org/gateway/trunk > > Yup, that works. Thanks! > > Peter Dr. Peter Kontopoulos CTO locotel sa p...@locotel.gr Parnassou 2, Athens 10561, Greece Tel. +30 210 3258350 Fax. +30 210 3258359 www.locotel.gr
Re: Can't stop bearerbox?
Hi, Recommended state means bb takes care of all its affairs before exiting. By forcing it you do not let it do it. To see how many SMS you have left behind, check your queue from HTTP admin. If you don't see any pending SMS as you state, post detailed bb logs of shutting down, indicating the step that sticks, along with configuration. Bb doesn't not normally stick on exit more than 2-3". BR, Nikos - Original Message - From: ""Peter Valdemar Morch (Lists)"" <4ux6as...@sneakemail.com> To: Sent: Tuesday, June 08, 2010 11:15 AM Subject: Re: Can't stop bearerbox? Nikos Balkanas nbalkanas-at-gmail.com |Lists/Send to lists| wrote: Please read user guide before addressing this list. If there are a lot of pending SMS, bb will try to send them before dying. This may take a few minutes. This is not the case. This particular installation sends maybe one or two SMSs an hour, and I've now tried waiting for 6 minutes. It still didn't exit. I'm quite certain there are no SMSs waiting to be sent. In fact, the user guide says in: http://kannel.org/download/1.4.3/userguide-1.4.3/userguide.html#AEN364 To stop the gateway just run the same script with the stop parameter. /etc/init.d/kannel stop You write: > With a second kill you force it to die, regardless of its state. Not recommended. What I don't understand is: What *is* recommended? Assuming it is reasonable to expect a low-traffic installation to terminate within 5 minutes. Peter -- Peter Valdemar MΓΈrch http://www.morch.com
TLV size different with same data
Hi all, This could be an irrelevant detail, but just wanted to know if there is a reason that the "size" is different in the two cases below. I am guessing the padding is different? Incoming TLV (IN DLR deliver_sm PDU): 2010-06-08 12:21:35 [6192] [8] DEBUG:Octet string at 0x2ae02500: 2010-06-08 12:21:35 [6192] [8] DEBUG: len: 36 2010-06-08 12:21:35 [6192] [8] DEBUG: size: 37 2010-06-08 12:21:35 [6192] [8] DEBUG: immutable: 0 2010-06-08 12:21:35 [6192] [8] DEBUG: data: 37 79 51 77 4c 69 4f 5a 79 43 6b 41 41 42 38 41 7yQwLiOZyCkAAB8A 2010-06-08 12:21:35 [6192] [8] DEBUG: data: 73 49 6b 70 41 52 62 4e 6f 5a 6b 58 74 47 35 4d sIkpARbNoZkXtG5M 2010-06-08 12:21:35 [6192] [8] DEBUG: data: 75 2b 59 24 u+Y$ 2010-06-08 12:21:35 [6192] [8] DEBUG:Octet string dump ends. Outgoing TLV (in submit_sm PDU) 2010-06-08 12:28:16 [6192] [8] DEBUG:Octet string at 0x2ae02260: 2010-06-08 12:28:16 [6192] [8] DEBUG: len: 36 2010-06-08 12:28:16 [6192] [8] DEBUG: size: 41 2010-06-08 12:28:16 [6192] [8] DEBUG: immutable: 0 2010-06-08 12:28:16 [6192] [8] DEBUG: data: 37 79 51 77 4c 69 4f 5a 79 43 6b 41 41 42 38 41 7yQwLiOZyCkAAB8A 2010-06-08 12:28:16 [6192] [8] DEBUG: data: 73 49 6b 70 41 52 62 4e 6f 5a 6b 58 74 47 35 4d sIkpARbNoZkXtG5M 2010-06-08 12:28:16 [6192] [8] DEBUG: data: 75 2b 59 24 u+Y$ 2010-06-08 12:28:16 [6192] [8] DEBUG:Octet string dump ends. -- Kyriacos Sakkas Development Team Netsmart Tel: + 357 22 452565 Fax: + 357 22 452566 Email: kyria...@netsmart.com.cy http://www.netsmart.com.cy Taking Business to a New Level! ** Confidentiality Notice: The information contained in this email message may be privileged, confidential and protected from disclosure. If you are not the intended recipient, any dissemination, distribution, or copying of this email message is strictly prohibited. If you think that you have received this email message in error, please email the sender at kyria...@netsmart.com.cy **
Re: Can't stop bearerbox?
Nikos Balkanas nbalkanas-at-gmail.com |Lists/Send to lists| wrote: Please read user guide before addressing this list. If there are a lot of pending SMS, bb will try to send them before dying. This may take a few minutes. This is not the case. This particular installation sends maybe one or two SMSs an hour, and I've now tried waiting for 6 minutes. It still didn't exit. I'm quite certain there are no SMSs waiting to be sent. In fact, the user guide says in: http://kannel.org/download/1.4.3/userguide-1.4.3/userguide.html#AEN364 To stop the gateway just run the same script with the stop parameter. /etc/init.d/kannel stop You write: > With a second kill you force it to die, regardless of its state. Not recommended. What I don't understand is: What *is* recommended? Assuming it is reasonable to expect a low-traffic installation to terminate within 5 minutes. Peter -- Peter Valdemar Mørch http://www.morch.com