Kannel operating but with SMSBox error

2005-09-20 Thread Ben Minton
Hi All,

I think I have had some success but there are still errors, particularly
with the SMSBOX.

[EMAIL PROTECTED]:/gateway-1.4.0/gw# ./bearerbox -v 1 kannel.conf
2005-09-20 21:41:51 [1461] [0] INFO: Added logfile `/var/log/kannel.log'
with level `1'.
2005-09-20 21:41:51 [1461] [0] INFO: Started access logfile
`/var/log/kannel.access'.
2005-09-20 21:41:51 [1461] [0] INFO: SSL not supported, no SSL
initialization done.
2005-09-20 21:41:51 [1461] [0] INFO: HTTP: Opening server at port 13000.
2005-09-20 21:41:51 [1461] [0] INFO:

2005-09-20 21:41:51 [1461] [0] INFO: Kannel bearerbox II version 1.4.0
starting
2005-09-20 21:41:51 [1461] [0] INFO: Loading store file
`/var/log/kannel.store'
2005-09-20 21:41:51 [1461] [0] INFO: Store-file size 0, starting to unpack
2005-09-20 21:41:51 [1461] [0] INFO: Retrieved 0 messages,
non-acknowledged messages: 0
2005-09-20 21:41:51 [1461] [0] INFO: MAIN: Start-up done, entering mainloop

... so i gather this means that Kannel (bearerbox) is actually working?
however the smsbox does not run.


[EMAIL PROTECTED] ./smsbox -v 1 /kannel.conf

Debug_lvl = 1, log_file = none, log_lvl = 0
Starting to log to file /var/log/smsbox.log level 1
Added logfile `/var/log/smsbox.log' with level `1'.
Service global sender set as '13013'
HTTP: Opening server at port 13001
Set up send sms service at port 13001
connect failed
System error 111: Connection refused
error connecting to server `localhost' at port `13003'
Couldn't connect to the bearerbox.
./smsbox(gw_panic+0x175) [0x807b762]
./smsbox(connect_to_bearerbox+0x37) [0x805ec8b]
./smsbox(main+0x2c4) [0x805a203]
/lib/libc.so.6(__libc_start_main+0xb9) [0x401f9469]
./smsbox [0x804fe81]

Is this a config error, where the smsbox is not connecting to the
correct port on the bearerbox?

regards, Ben.
-- 
B.D. Minton
+61 234 144 234
Brisbane, QLD, AU
Internet/WAP Geek
open source, open standards, open web
-



Re: Kannel operating but with SMSBox error

2005-09-20 Thread Wilfried Goesgens
On Tue, Sep 20, 2005 at 09:47:39PM +1000, Ben Minton wrote:
 Hi All,
 
 I think I have had some success but there are still errors, particularly
 with the SMSBOX.
 

 HTTP: Opening server at port 13001
 Set up send sms service at port 13001
 connect failed
 System error 111: Connection refused
 error connecting to server `localhost' at port `13003'
 Couldn't connect to the bearerbox.
 ./smsbox(gw_panic+0x175) [0x807b762]
 ./smsbox(connect_to_bearerbox+0x37) [0x805ec8b]
 ./smsbox(main+0x2c4) [0x805a203]
 /lib/libc.so.6(__libc_start_main+0xb9) [0x401f9469]
 ./smsbox [0x804fe81]
 
 Is this a config error, where the smsbox is not connecting to the
 correct port on the bearerbox?
is there a bearerbox on that port in 'netstat -lnp' ?

Wilfried Goesgens



Re: Nokia ringtone

2005-09-20 Thread Juan Nin

it's a Nokia 6230

Rodrigo Cremaschi wrote:

Some Nokia phones behave this way (v.g. 3390). What model are you
using for testing?

On 9/19/05, Juan Nin [EMAIL PROTECTED] wrote:


Hi,

I post this message again, since I've receved no reply...  :(

I'm converting RTTTL ringtones to OTA by using Perl's
GSM::SMS::OTA::RTTTL, and using %, for sending to Nokia phones.

Then I send them with UDH %06%05%04%15%81%00%00 like here:

http://xxx.xxx.xxx.xxx:1212/cgi-bin/sendsms?username=foopassword=barfrom=to=1234567890udh=%06%05%04%15%81%00%00text=%02%4A%3A%40%04%00%04%A8%80%00

But when the phone receives the ringtone, it does not ring, it only
vibrates... what can the problem be??

Am I doing something wrong?

Thanks in advance,

Juan








Send Logo Ringtone

2005-09-20 Thread Gulshan Babajee
Title: Message




Hi, I am actually developping ansystem to send sms using kannel as an sms 
gateway.
I succeeded in 
sending and receiving text msg.
Now am trying to go deeper in kannel and 
wantsend logos and rigntones using kannel to different mobile 
phones.
Can anyone please tell me what should I put in UDH 


thanks in 
advance


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.3/106 - Release Date: 19-09-2005
 


Re: Send Logo Ringtone

2005-09-20 Thread Juan Nin

Gulshan Babajee wrote:
 Hi, I am actually developping an system to send sms using kannel as an
 sms gateway.
 I succeeded in sending and receiving text msg.
 Now am trying to go deeper in kannel and want send logos and rigntones
 using kannel to different mobile phones.
 Can anyone please tell me what should I put in UDH

UDH is not the only thing you must take care of when sending monophonic 
ringtones and logos to mobile phones, and depending on the brand and 
model, some use UDH and some do not


For a start you can check out this threads:

http://www.nowsms.com/framer.htm?http://www.nowsms.com/discus/messages/1/218.html
http://www.nowsms.com/framer.htm?http://www.nowsms.com/discus/messages/1/2018.html

they were very useful to me once  :)

regards,

Juan



smsbox dies after sending 1 message

2005-09-20 Thread Gelvis Sequera
Hi.

I'm triying to send to consecutive messages from kannel and afeter I send the first, the smsbox dies (but the bearebox keeps up).

My conf file is

group = smscsmsc = atmodemtype = wavecomdevice = /dev/ttyS1pin = 1286sim-buffering = truespeed = 115200my-number = +58412***
group = smsboxbearerbox-host = localhostsendsms-port = 13013log-file = /var/log/kannel/smsbox.loglog-level = 0access-log = /var/log/kannel/access.logimmediate-sendsms-reply = true

group = modemsid = wavecomname = Wavecomdetect-string = WAVECOM MODEM#broken = truemessage-storage = SMenable-mms = trueinit-string = AT S7=45 S0=0 L1 V1 X4 c1 E1 Q0
need-sleep = true

And my log is

2005-09-20 11:05:18 [11434] [3] INFO: sendsms sender:test:+58412* (192.168.1.86) to:multi-cast msg:Se les notifica que los pasantes estan probando el proy SML.. jajaja
2005-09-20 11:05:18 [11434] [3] DEBUG: message length 68, sending 1 messages2005-09-20 11:05:18 [11434] [3] DEBUG: Status: 202 Answer: Sent.2005-09-20 11:05:18 [11434] [3] DEBUG: HTTP: Resetting HTTPClient for `192.168.1.86'.
2005-09-20 11:05:18 [11434] [3] PANIC: gwlib/octstr.c:2355: seems_valid_real: Assertion `ostr-data != NULL' failed. (Called from gwlib/octstr.c:317:octstr_destroy.)2005-09-20 11:05:18 [11434] [3] PANIC: /usr/local/sbin/smsbox(gw_panic+0x19a) [0x808015b]
2005-09-20 11:05:18 [11434] [3] PANIC: /usr/local/sbin/smsbox [0x8086fa2]2005-09-20 11:05:18 [11434] [3] PANIC: /usr/local/sbin/smsbox(octstr_destroy+0x2f) [0x8081641]2005-09-20 11:05:18 [11434] [3] PANIC: /usr/local/sbin/smsbox [0x805af7d]
2005-09-20 11:05:18 [11434] [3] PANIC: /usr/local/sbin/smsbox [0x8075dae]2005-09-20 11:05:18 [11434] [3] PANIC: /lib/libpthread.so.0 [0xb7f0b2fe]2005-09-20 11:05:18 [11434] [3] PANIC: /lib/libc.so.6(__clone+0x5a) [0xb7cb4ada]


Any Ideas???

Gelvis Sequera
Caracas, Venezuela


Re: smsbox dies after sending 1 message

2005-09-20 Thread Gelvis Sequera
In the progress of testing I've found that mi problem is that the XML Post is the problem

This is my XML post

message
 submit
 da
 number+584167276448/number
 /da
 udSe les notifica que los pasantes estan probando el proy SML..jajaja/ud 
 from
 usertest/user
passcoquimbo/pass
 /from
 /submit
/message
Can anyone tell me what's the problem with that post?
On 9/20/05, Gelvis Sequera [EMAIL PROTECTED] wrote:

Hi.

I'm triying to send to consecutive messages from kannel and afeter I send the first, the smsbox dies (but the bearebox keeps up).

My conf file is

group = smscsmsc = atmodemtype = wavecomdevice = /dev/ttyS1pin = 1286sim-buffering = truespeed = 115200my-number = +58412***
group = smsboxbearerbox-host = localhostsendsms-port = 13013log-file = /var/log/kannel/smsbox.loglog-level = 0access-log = /var/log/kannel/access.logimmediate-sendsms-reply = true 

group = modemsid = wavecomname = Wavecomdetect-string = WAVECOM MODEM#broken = truemessage-storage = SMenable-mms = trueinit-string = AT S7=45 S0=0 L1 V1 X4 c1 E1 Q0 
need-sleep = true

And my log is

2005-09-20 11:05:18 [11434] [3] INFO: sendsms sender:test:+58412* (192.168.1.86) to:multi-cast msg:Se les notifica que los pasantes estan probando el proy SML.. jajaja 
2005-09-20 11:05:18 [11434] [3] DEBUG: message length 68, sending 1 messages2005-09-20 11:05:18 [11434] [3] DEBUG: Status: 202 Answer: Sent.2005-09-20 11:05:18 [11434] [3] DEBUG: HTTP: Resetting HTTPClient for `192.168.1.86'. 
2005-09-20 11:05:18 [11434] [3] PANIC: gwlib/octstr.c:2355: seems_valid_real: Assertion `ostr-data != NULL' failed. (Called from gwlib/octstr.c:317:octstr_destroy.)2005-09-20 11:05:18 [11434] [3] PANIC: /usr/local/sbin/smsbox(gw_panic+0x19a) [0x808015b] 
2005-09-20 11:05:18 [11434] [3] PANIC: /usr/local/sbin/smsbox [0x8086fa2]2005-09-20 11:05:18 [11434] [3] PANIC: /usr/local/sbin/smsbox(octstr_destroy+0x2f) [0x8081641]2005-09-20 11:05:18 [11434] [3] PANIC: /usr/local/sbin/smsbox [0x805af7d] 
2005-09-20 11:05:18 [11434] [3] PANIC: /usr/local/sbin/smsbox [0x8075dae]2005-09-20 11:05:18 [11434] [3] PANIC: /lib/libpthread.so.0 [0xb7f0b2fe]2005-09-20 11:05:18 [11434] [3] PANIC: /lib/libc.so.6(__clone+0x5a) [0xb7cb4ada] 


Any Ideas???

Gelvis Sequera
Caracas, Venezuela


Fwd: Mail delivery failed: returning message to sender

2005-09-20 Thread steve kirby
I am trying to unsubscribe per kannel.org instructions:

send email to [EMAIL PROTECTED] with unsubscribe in subject header or body text (I tried both). but it comes back as seen in attached (undeliverable). Do I have the address right?

TIA,
SteveNote: forwarded message attached.
		Yahoo! for Good 
Click here to donate to the Hurricane Katrina relief effort. 
---BeginMessage---
This message was created automatically by mail delivery software (Exim).

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:

  [EMAIL PROTECTED]
unknown local-part listname-request in domain kannel.org

-- This is a copy of the message, including all the headers. --

Return-path: [EMAIL PROTECTED]
Received: from web61215.mail.yahoo.com ([209.73.179.64])
by geodude.trigenix.com with smtp (Exim 3.22 #1)
id 1EHjsa-0008L0-00
for [EMAIL PROTECTED]; Tue, 20 Sep 2005 16:17:56 +0100
Received: (qmail 27855 invoked by uid 60001); 20 Sep 2005 15:17:25 -
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
  s=s1024; d=yahoo.com;
  
h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding;
  
b=ocjsOsPymL8r3JapO8AhFf28PEkXuwl17aprndjEho5iBz9lLwSsqiEEP8wFDPzM1ubr0QdbzqoRLxOcCpI28FH9LqglAVkdG+0SvyPVtwjgufJjZ3c7trK8pzUx5LFLpX1d7ioy6BFo0Na2guIAXNduwKikDfVAjai4G6X9FkA=
  ;
Message-ID: [EMAIL PROTECTED]
Received: from [155.148.8.92] by web61215.mail.yahoo.com via HTTP; Tue, 20 Sep 
2005 08:17:25 PDT
Date: Tue, 20 Sep 2005 08:17:25 -0700 (PDT)
From: steve kirby [EMAIL PROTECTED]
Subject: unsubscribe
To: [EMAIL PROTECTED]
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary=0-942143545-1127229445=:21186
Content-Transfer-Encoding: 8bit

--0-942143545-1127229445=:21186
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

unsubscribe

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--0-942143545-1127229445=:21186
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

DIVunsubscribe/DIVp__brDo
 You Yahoo!?brTired of spam?  Yahoo! Mail has the best spam protection around 
brhttp://mail.yahoo.com 
--0-942143545-1127229445=:21186--
---End Message---


Re: Multiple SMSC

2005-09-20 Thread Reuben Sant



Thanks. It worked.Since the user guide 
specifies that multiple SMSC have to be separated by a ; i thought that i had to 
write them in one line separated by a ; 

Thanks again.
Best 
Regards,

Reuben Sant __Address: 
"Soleado", Bidnija Road, Bidnija, Limits of St.Paul's Bay. SPB 13. MaltaMob: 
(+356) 79 313645 [try this first pls]Tel: (+356) 21 424222Email: [EMAIL PROTECTED]MSN: [EMAIL PROTECTED]Web: http://www.reubensant.net



  - Original Message - 
  From: 
  Linkas 
  To: Rene Kluwen 
  Cc: [EMAIL PROTECTED] ; users@kannel.org 
  
  Sent: Tuesday, September 20, 2005 7:05 
  PM
  Subject: Re: Multiple SMSC
  And do not forget to specify the smsc-id in the URL when 
  calling sendsms!It seems obvoius, but routing doesn't work for me if 
  missing the smsc-id in the GET to sendsmsJRene Kluwen wrote: 
  



Specify in the first group:

allowed-smsc-id = centre1

and in the second group:

allowed-smsc-id = centre2

Rene Kluwen
Chimit

  -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On 
  Behalf Of Reuben SantSent: dinsdag 20 september 2005 
  18:26To: users@kannel.orgSubject: 
  Multiple SMSC
  Hello,
  
  I have 2 sms centres. I need to choose the 
  smsc when I send the SMS using the cgi-bin/sendsms HTTP command because in 
  particular destinations, the first smsc is cheaper than the second and 
  vice versa.
  
  I have created two smsc groups as stated in 
  the user guide:
  
  group = smscsmsc = 
  smppsmsc-id = centre1host = 100.100.100.100port = 
  4400smsc-username = user1smsc-password = pass1system-type = 
  VMAsource-addr-ton = 1source-addr-npi = 1
  
  group = smscsmsc = 
  smppsmsc-id = centre2host = 200.200.200.200port = 
  4400smsc-username = user2smsc-password = pass2 
  system-type = VMAsource-addr-ton 
  = 1source-addr-npi = 1allowed-smsc-id = 
  centre1;centre2
  
  Then when i call the HTTP 
  command:
  
  http://www.myhost.com:13013/cgi-bin/sendsms?username=myuserpassword=mypassto=mynumberfrom=senderidtext=testroutesmsc=centre2
  
  The smses are always being sent via centre1, 
  no matter what i specify as smsc.Is that the correct way to specify 
  an smsc? (smsc=centre2) ?
  Best Regards,
  
  Reuben Sant 
  __Address: "Soleado", Bidnija Road, 
  Bidnija, Limits of St.Paul's Bay. SPB 13. MaltaMob: (+356) 79 313645 
  [try this first pls]Tel: (+356) 21 424222Email: [EMAIL PROTECTED]MSN: [EMAIL PROTECTED]Web: http://www.reubensant.net
  
  


Sending post request in java

2005-09-20 Thread Gelvis Sequera
Hi.

I'm triying to send to consecutive messages from kannel using the Java HttpUrlConnection, butafter I send the first, the smsbox dies (but the bearebox keeps up).

My conf file is

group = smscsmsc = atmodemtype = wavecomdevice = /dev/ttyS1pin = 1286sim-buffering = truespeed = 115200my-number = +58412***
group = smsboxbearerbox-host = localhostsendsms-port = 13013log-file = /var/log/kannel/smsbox.loglog-level = 0access-log = /var/log/kannel/access.logimmediate-sendsms-reply = true 

group = modemsid = wavecomname = Wavecomdetect-string = WAVECOM MODEM#broken = truemessage-storage = SMenable-mms = trueinit-string = AT S7=45 S0=0 L1 V1 X4 c1 E1 Q0 
need-sleep = true

And my log is

2005-09-20 11:05:18 [11434] [3] INFO: sendsms sender:test:+58412* (192.168.1.86) to:multi-cast msg:Se les notifica que los pasantes estan probando el proy SML.. jajaja 
2005-09-20 11:05:18 [11434] [3] DEBUG: message length 68, sending 1 messages2005-09-20 11:05:18 [11434] [3] DEBUG: Status: 202 Answer: Sent.2005-09-20 11:05:18 [11434] [3] DEBUG: HTTP: Resetting HTTPClient for `192.168.1.86'. 
2005-09-20 11:05:18 [11434] [3] PANIC: gwlib/octstr.c:2355: seems_valid_real: Assertion `ostr-data != NULL' failed. (Called from gwlib/octstr.c:317:octstr_destroy.)2005-09-20 11:05:18 [11434] [3] PANIC: /usr/local/sbin/smsbox(gw_panic+0x19a) [0x808015b] 
2005-09-20 11:05:18 [11434] [3] PANIC: /usr/local/sbin/smsbox [0x8086fa2]2005-09-20 11:05:18 [11434] [3] PANIC: /usr/local/sbin/smsbox(octstr_destroy+0x2f) [0x8081641]2005-09-20 11:05:18 [11434] [3] PANIC: /usr/local/sbin/smsbox [0x805af7d]
 2005-09-20 11:05:18 [11434] [3] PANIC: /usr/local/sbin/smsbox [0x8075dae]2005-09-20 11:05:18 [11434] [3] PANIC: /lib/libpthread.so.0 [0xb7f0b2fe]2005-09-20 11:05:18 [11434] [3] PANIC: /lib/libc.so.6(__clone+0x5a) [0xb7cb4ada] 

My post request is something like this:
message
submit
danumber+5841**/number/da
udMESSAGE /ud
from
user*/user
pass*/pass
/from
/submit
/message

Any Ideas???




Audiovox PC5740

2005-09-20 Thread Speare, Carl



Has anyone 
managed to use this GSM card at all? Verizon in the US provided it for us to 
test;Linux recognises ourPCMCIA adapter fine, sees the modem 
(provides a link under /dev), and Kannel can even talk to the modem - here is 
what I get:

2005-09-20 
18:23:19 [4093] [0] INFO: Debug_lvl = -1, log_file = none, log_lvl = 
02005-09-20 18:23:19 [4093] [0] WARNING: DLR: using default 'internal' for 
storage type.2005-09-20 18:23:19 [4093] [0] INFO: DLR using storage type: 
internal2005-09-20 18:23:19 [4093] [0] DEBUG: Kannel bearerbox version 
`1.4.0'.Build `Aug 31 2005 09:56:45', compiler `3.2.3 20030502 (Red Hat 
Linux 3.2.3-52)'.System Linux, release 2.6.12-1.1447_FC4smp, version #1 SMP 
Fri Aug 26 20:57:13 EDT 2005, machine i686.Hostname jc1lct4n3, IP 
10.20.243.83.Libxml version 2.5.10.Using native 
malloc.

2005-09-20 
18:23:19 [4093] [0] INFO: SSL not supported, no SSL initialization 
done.2005-09-20 18:23:19 [4093] [0] INFO: HTTP: Opening server at port 
13000.2005-09-20 18:23:19 [4093] [0] DEBUG: Started thread 1 
(gwlib/fdset.c:poller)2005-09-20 18:23:19 [4093] [0] DEBUG: Started thread 2 
(gwlib/http.c:server_thread)2005-09-20 18:23:19 [4093] [0] DEBUG: Started 
thread 3 (gw/bb_http.c:httpadmin_run)2005-09-20 18:23:19 [4094] [0] INFO: 
Debug_lvl = -1, log_file = none, log_lvl = 02005-09-20 18:23:19 
[4093] [0] DEBUG: starting smsbox connection module2005-09-20 18:23:19 
[4093] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default 
(100).2005-09-20 18:23:19 [4093] [0] DEBUG: Started thread 4 
(gw/bb_boxc.c:sms_to_smsboxes)2005-09-20 18:23:19 [4093] [0] DEBUG: Started 
thread 5 (gw/bb_boxc.c:smsboxc_run)2005-09-20 18:23:19 [4094] [0] DEBUG: 
Kannel smsbox version `1.4.0'.Build `Aug 31 2005 09:56:45', compiler `3.2.3 
20030502 (Red Hat Linux 3.2.3-52)'.System Linux, release 
2.6.12-1.1447_FC4smp, version #1 SMP Fri Aug 26 20:57:13 EDT 2005, machine 
i686.Hostname jc1lct4n3, IP 10.20.243.83.Libxml version 2.5.10.Using 
native malloc.

2005-09-20 18:23:19 [4093] [0] INFO: DLR rerouting for smsc 
id VZW disabled.2005-09-20 18:23:19 [4094] [0] INFO: Service global 
sender set as '13013'2005-09-20 18:23:19 [4093] [0] INFO: AT2[VZW]: 
configuration doesn't show modemtype. will autodetect2005-09-20 18:23:19 
[4094] [0] INFO: HTTP: Opening server at port 13013.2005-09-20 18:23:19 
[4093] [0] DEBUG: Started thread 6 
(gw/smsc/smsc_at.c:at2_device_thread)2005-09-20 18:23:19 [4093] [0] DEBUG: 
Started thread 7 (gw/bb_smscconn.c:sms_router)2005-09-20 18:23:19 [4093] [0] 
INFO: 2005-09-20 18:23:19 [4094] [0] 
DEBUG: Started thread 1 (gwlib/fdset.c:poller)2005-09-20 18:23:19 [4093] [0] 
INFO: Kannel bearerbox II version 1.4.0 starting2005-09-20 18:23:19 [4093] 
[1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 4093.2005-09-20 
18:23:19 [4093] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 
4093.2005-09-20 18:23:19 [4093] [3] DEBUG: Thread 3 
(gw/bb_http.c:httpadmin_run) maps to pid 4093.2005-09-20 18:23:19 [4094] [0] 
DEBUG: Started thread 2 (gwlib/http.c:server_thread)2005-09-20 18:23:19 
[4094] [0] INFO: Set up send sms service at port 130132005-09-20 18:23:19 
[4094] [0] DEBUG: Started thread 3 (gw/smsbox.c:sendsms_thread)2005-09-20 
18:23:19 [4094] [0] DEBUG: 
--2005-09-20 18:23:19 [4094] [0] 
DEBUG: Kannel smsbox version 1.4.0 starting2005-09-20 18:23:19 [4093] [4] 
DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 4093.2005-09-20 
18:23:19 [4093] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run) maps to pid 
4093.2005-09-20 18:23:19 [4093] [0] INFO: MAIN: Start-up done, entering 
mainloop2005-09-20 18:23:19 [4093] [0] DEBUG: AT2[VZW]: start 
called2005-09-20 18:23:19 [4093] [6] DEBUG: Thread 6 
(gw/smsc/smsc_at.c:at2_device_thread) maps to pid 4093.2005-09-20 18:23:19 
[4093] [6] DEBUG: AT2[VZW]: detecting modem type2005-09-20 18:23:19 [4093] 
[6] INFO: AT2[VZW]: opening device2005-09-20 18:23:19 [4093] [7] DEBUG: 
Thread 7 (gw/bb_smscconn.c:sms_router) maps to pid 4093.2005-09-20 18:23:19 
[4093] [7] DEBUG: sms_router: time to sleep2005-09-20 18:23:19 [4093] [7] 
DEBUG: sms_router: list_len = 02005-09-20 18:23:19 [4094] [3] DEBUG: Thread 
3 (gw/smsbox.c:sendsms_thread) maps to pid 4094.2005-09-20 18:23:19 [4094] 
[2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 4094.2005-09-20 
18:23:19 [4094] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 
4094.2005-09-20 18:23:19 [4094] [0] DEBUG: Started thread 4 
(gw/smsbox.c:obey_request_thread)2005-09-20 18:23:19 [4094] [0] DEBUG: 
Started thread 5 (gw/smsbox.c:url_result_thread)2005-09-20 18:23:19 [4094] 
[0] DEBUG: Started thread 6 (gw/smsbox.c:http_queue_thread)2005-09-20 
18:23:19 [4093] [6] DEBUG: AT2[VZW]: device opened2005-09-20 18:23:19 [4094] 
[0] INFO: Connected to bearerbox at localhost port 13001.2005-09-20 18:23:19 
[4093] [5] DEBUG: Started thread 8 (gw/bb_boxc.c:function)2005-09-20 
18:23:19 [4093] [8] DEBUG: Thread 

RE: Sending post request in java

2005-09-20 Thread Rene Kluwen



Try to 
disable keep alive connections (if those are being used).

Rene 
Kluwen
Chimit

  -Original Message-From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]On Behalf Of Gelvis 
  SequeraSent: dinsdag 20 september 2005 21:56To: 
  users@kannel.orgSubject: Sending post request in 
  java
  Hi.
  
  I'm triying to send to consecutive messages from kannel using the Java 
  HttpUrlConnection, butafter I send the first, the smsbox dies (but the 
  bearebox keeps up).
  
  My conf file is
  
  group = smscsmsc = atmodemtype = wavecomdevice = 
  /dev/ttyS1pin = 1286sim-buffering = truespeed = 
  115200my-number = +58412***
  group = smsboxbearerbox-host = localhostsendsms-port = 
  13013log-file = "/var/log/kannel/smsbox.log"log-level = 
  0access-log = "/var/log/kannel/access.log"immediate-sendsms-reply = 
  true 
  group = modemsid = wavecomname = Wavecomdetect-string = 
  "WAVECOM MODEM"#broken = truemessage-storage = SMenable-mms = 
  trueinit-string = "AT S7=45 S0=0 L1 V1 X4 c1 E1 Q0" need-sleep = 
  true
  
  And my log is
  
  2005-09-20 11:05:18 [11434] [3] INFO: sendsms 
  sender:test:+58412* (192.168.1.86) 
  to:multi-cast msg:Se les notifica que los pasantes estan probando 
  el proy SML.. jajaja 2005-09-20 11:05:18 [11434] [3] DEBUG: message 
  length 68, sending 1 messages2005-09-20 11:05:18 [11434] [3] DEBUG: 
  Status: 202 Answer: Sent.2005-09-20 11:05:18 [11434] [3] DEBUG: 
  HTTP: Resetting HTTPClient for `192.168.1.86'. 2005-09-20 11:05:18 [11434] 
  [3] PANIC: gwlib/octstr.c:2355: seems_valid_real: Assertion `ostr-data != 
  NULL' failed. (Called from gwlib/octstr.c:317:octstr_destroy.)2005-09-20 
  11:05:18 [11434] [3] PANIC: /usr/local/sbin/smsbox(gw_panic+0x19a) [0x808015b] 
  2005-09-20 11:05:18 [11434] [3] PANIC: /usr/local/sbin/smsbox 
  [0x8086fa2]2005-09-20 11:05:18 [11434] [3] PANIC: 
  /usr/local/sbin/smsbox(octstr_destroy+0x2f) [0x8081641]2005-09-20 11:05:18 
  [11434] [3] PANIC: /usr/local/sbin/smsbox [0x805af7d] 
  2005-09-20 11:05:18 [11434] [3] PANIC: /usr/local/sbin/smsbox 
  [0x8075dae]2005-09-20 11:05:18 [11434] [3] PANIC: /lib/libpthread.so.0 
  [0xb7f0b2fe]2005-09-20 11:05:18 [11434] [3] PANIC: 
  /lib/libc.so.6(__clone+0x5a) [0xb7cb4ada] 
  My post request is something like this:
  message
  submit
  danumber+5841**/number/da
  udMESSAGE /ud
  from
  user*/user
  pass*/pass
  /from
  /submit
  /message
  
  Any Ideas???
  
  


RE: Audiovox PC5740

2005-09-20 Thread Rene Kluwen



You 
need a:

group 
= modems

in 
your kannel.conf. See the userguide for details.

Rene 
Kluwen
Chimit

  -Original Message-From: [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]On Behalf Of Speare, 
  CarlSent: woensdag 21 september 2005 0:30To: 
  'users@kannel.org'Subject: Audiovox PC5740
  Has 
  anyone managed to use this GSM card at all? Verizon in the US provided it for 
  us to test;Linux recognises ourPCMCIA adapter fine, sees the modem 
  (provides a link under /dev), and Kannel can even talk to the modem - here is 
  what I get:
  
  2005-09-20 
  18:23:19 [4093] [0] INFO: Debug_lvl = -1, log_file = none, log_lvl = 
  02005-09-20 18:23:19 [4093] [0] WARNING: DLR: using default 'internal' for 
  storage type.2005-09-20 18:23:19 [4093] [0] INFO: DLR using storage type: 
  internal2005-09-20 18:23:19 [4093] [0] DEBUG: Kannel bearerbox version 
  `1.4.0'.Build `Aug 31 2005 09:56:45', compiler `3.2.3 20030502 (Red Hat 
  Linux 3.2.3-52)'.System Linux, release 2.6.12-1.1447_FC4smp, version #1 
  SMP Fri Aug 26 20:57:13 EDT 2005, machine i686.Hostname jc1lct4n3, IP 
  10.20.243.83.Libxml version 2.5.10.Using native 
  malloc.
  
  2005-09-20 
  18:23:19 [4093] [0] INFO: SSL not supported, no SSL initialization 
  done.2005-09-20 18:23:19 [4093] [0] INFO: HTTP: Opening server at port 
  13000.2005-09-20 18:23:19 [4093] [0] DEBUG: Started thread 1 
  (gwlib/fdset.c:poller)2005-09-20 18:23:19 [4093] [0] DEBUG: Started thread 
  2 (gwlib/http.c:server_thread)2005-09-20 18:23:19 [4093] [0] DEBUG: 
  Started thread 3 (gw/bb_http.c:httpadmin_run)2005-09-20 18:23:19 [4094] 
  [0] INFO: Debug_lvl = -1, log_file = none, log_lvl = 02005-09-20 
  18:23:19 [4093] [0] DEBUG: starting smsbox connection module2005-09-20 
  18:23:19 [4093] [0] INFO: BOXC: 'smsbox-max-pending' not set, using default 
  (100).2005-09-20 18:23:19 [4093] [0] DEBUG: Started thread 4 
  (gw/bb_boxc.c:sms_to_smsboxes)2005-09-20 18:23:19 [4093] [0] DEBUG: 
  Started thread 5 (gw/bb_boxc.c:smsboxc_run)2005-09-20 18:23:19 [4094] [0] 
  DEBUG: Kannel smsbox version `1.4.0'.Build `Aug 31 2005 09:56:45', 
  compiler `3.2.3 20030502 (Red Hat Linux 3.2.3-52)'.System Linux, release 
  2.6.12-1.1447_FC4smp, version #1 SMP Fri Aug 26 20:57:13 EDT 2005, machine 
  i686.Hostname jc1lct4n3, IP 10.20.243.83.Libxml version 
  2.5.10.Using native malloc.
  
  2005-09-20 18:23:19 [4093] [0] INFO: DLR rerouting for smsc 
  id VZW disabled.2005-09-20 18:23:19 [4094] [0] INFO: Service 
  global sender set as '13013'2005-09-20 18:23:19 [4093] [0] INFO: AT2[VZW]: 
  configuration doesn't show modemtype. will autodetect2005-09-20 18:23:19 
  [4094] [0] INFO: HTTP: Opening server at port 13013.2005-09-20 18:23:19 
  [4093] [0] DEBUG: Started thread 6 
  (gw/smsc/smsc_at.c:at2_device_thread)2005-09-20 18:23:19 [4093] [0] DEBUG: 
  Started thread 7 (gw/bb_smscconn.c:sms_router)2005-09-20 18:23:19 [4093] 
  [0] INFO: 2005-09-20 18:23:19 
  [4094] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)2005-09-20 
  18:23:19 [4093] [0] INFO: Kannel bearerbox II version 1.4.0 
  starting2005-09-20 18:23:19 [4093] [1] DEBUG: Thread 1 
  (gwlib/fdset.c:poller) maps to pid 4093.2005-09-20 18:23:19 [4093] [2] 
  DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 4093.2005-09-20 
  18:23:19 [4093] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run) maps to pid 
  4093.2005-09-20 18:23:19 [4094] [0] DEBUG: Started thread 2 
  (gwlib/http.c:server_thread)2005-09-20 18:23:19 [4094] [0] INFO: Set up 
  send sms service at port 130132005-09-20 18:23:19 [4094] [0] DEBUG: 
  Started thread 3 (gw/smsbox.c:sendsms_thread)2005-09-20 18:23:19 [4094] 
  [0] DEBUG: --2005-09-20 
  18:23:19 [4094] [0] DEBUG: Kannel smsbox version 1.4.0 starting2005-09-20 
  18:23:19 [4093] [4] DEBUG: Thread 4 (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 
  4093.2005-09-20 18:23:19 [4093] [5] DEBUG: Thread 5 
  (gw/bb_boxc.c:smsboxc_run) maps to pid 4093.2005-09-20 18:23:19 [4093] [0] 
  INFO: MAIN: Start-up done, entering mainloop2005-09-20 18:23:19 [4093] [0] 
  DEBUG: AT2[VZW]: start called2005-09-20 18:23:19 [4093] [6] DEBUG: Thread 
  6 (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 4093.2005-09-20 
  18:23:19 [4093] [6] DEBUG: AT2[VZW]: detecting modem type2005-09-20 
  18:23:19 [4093] [6] INFO: AT2[VZW]: opening device2005-09-20 18:23:19 
  [4093] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) maps to pid 
  4093.2005-09-20 18:23:19 [4093] [7] DEBUG: sms_router: time to 
  sleep2005-09-20 18:23:19 [4093] [7] DEBUG: sms_router: list_len = 
  02005-09-20 18:23:19 [4094] [3] DEBUG: Thread 3 
  (gw/smsbox.c:sendsms_thread) maps to pid 4094.2005-09-20 18:23:19 [4094] 
  [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 
  4094.2005-09-20 18:23:19 [4094] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) 
  maps to pid 4094.2005-09-20 18:23:19 [4094] [0] DEBUG: Started thread 4