Hi to all

2008-12-16 Thread Kaliya perumal
Hi
Now i can able to connect my smsc,but i got error while sending message to
my number,

My kannel call is below

*
http://127.0.0.1:13131/cgi-bin/sendsms?username=testerpassword=foobarfrom=919362968751;
to=919986131642text=Hismsc=smppcoding=0*

My bearerbox result is

2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: gwlist_len = 5
2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message
(0x8185348 vs 0x8185348)
2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message
(0x81851e0 vs 0x8185348)
2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message
(0x8184030 vs 0x8185348)
2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message
(0x8182210 vs 0x8185348)
2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message
(0x81841a8 vs 0x8185348)
2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message
(0x8185348 vs 0x8185348)
2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: time to sleep 30.00 secs.
2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP[SMPP:xxx.xxx.xxx.xxx:0/
:xxx:]: Sending PDU:
2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP PDU 0x8186a20 dump:
2008-12-16 05:55:56 [16043] [6] DEBUG:   type_name: bind_receiver
2008-12-16 05:55:56 [16043] [6] DEBUG:   command_id: 1 = 0x0001
2008-12-16 05:55:56 [16043] [6] DEBUG:   command_status: 0 = 0x
2008-12-16 05:55:56 [16043] [6] DEBUG:   sequence_number: 721 = 0x02d1
2008-12-16 05:55:56 [16043] [6] DEBUG:   system_id: xxx
2008-12-16 05:55:56 [16043] [6] DEBUG:   password: xxx
2008-12-16 05:55:56 [16043] [6] DEBUG:   system_type: 
2008-12-16 05:55:56 [16043] [6] DEBUG:   interface_version: 51 = 0x0033
2008-12-16 05:55:56 [16043] [6] DEBUG:   addr_ton: 0 = 0x
2008-12-16 05:55:56 [16043] [6] DEBUG:   addr_npi: 0 = 0x
2008-12-16 05:55:56 [16043] [6] DEBUG:   address_range: 
2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP PDU dump ends.
2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP[SMPP:xxx.xxx.xxx.xxx:0/:xxx:]:
Got PDU:
2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP PDU 0x81847f8 dump:
2008-12-16 05:55:56 [16043] [6] DEBUG:   type_name: bind_receiver_resp
2008-12-16 05:55:56 [16043] [6] DEBUG:   command_id: 2147483649 = 0x8001
2008-12-16 05:55:56 [16043] [6] DEBUG:   command_status: 0 = 0x
2008-12-16 05:55:56 [16043] [6] DEBUG:   sequence_number: 721 = 0x02d1
2008-12-16 05:55:56 [16043] [6] DEBUG:   system_id: NowSMS
2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP PDU dump ends.
2008-12-16 05:55:56 [16043] [6] DEBUG: Optional parameter tag (0x0427)
2008-12-16 05:55:56 [16043] [6] DEBUG: Optional parameter length read as 1
2008-12-16 05:55:56 [16043] [6] DEBUG: Optional parameter tag (0x001e)
2008-12-16 05:55:56 [16043] [6] DEBUG: Optional parameter length read as 9
2008-12-16 05:55:56 [16043] [6] DEBUG:
SMPP[SMPP:xxx.xxx.xxx.xxx:0/:xxx:]: Got PDU:
2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP PDU 0x81847f8 dump:
2008-12-16 05:55:56 [16043] [6] DEBUG:   type_name: deliver_sm
2008-12-16 05:55:56 [16043] [6] DEBUG:   command_id: 5 = 0x0005
2008-12-16 05:55:56 [16043] [6] DEBUG:   command_status: 0 = 0x
2008-12-16 05:55:56 [16043] [6] DEBUG:   sequence_number: 104986 =
0x00019a1a
2008-12-16 05:55:56 [16043] [6] DEBUG:   service_type: NULL
2008-12-16 05:55:56 [16043] [6] DEBUG:   source_addr_ton: 1 = 0x0001
2008-12-16 05:55:56 [16043] [6] DEBUG:   source_addr_npi: 1 = 0x0001
2008-12-16 05:55:56 [16043] [6] DEBUG:   source_addr: 919880517000
2008-12-16 05:55:56 [16043] [6] DEBUG:   dest_addr_ton: 1 = 0x0001
2008-12-16 05:55:56 [16043] [6] DEBUG:   dest_addr_npi: 1 = 0x0001
2008-12-16 05:55:56 [16043] [6] DEBUG:   destination_addr: 919880517000
2008-12-16 05:55:56 [16043] [6] DEBUG:   esm_class: 4 = 0x0004
2008-12-16 05:55:56 [16043] [6] DEBUG:   protocol_id: 0 = 0x
2008-12-16 05:55:56 [16043] [6] DEBUG:   priority_flag: 0 = 0x
2008-12-16 05:55:56 [16043] [6] DEBUG:   schedule_delivery_time: NULL
2008-12-16 05:55:56 [16043] [6] DEBUG:   validity_period: NULL
2008-12-16 05:55:56 [16043] [6] DEBUG:   registered_delivery: 1 = 0x0001
2008-12-16 05:55:56 [16043] [6] DEBUG:   replace_if_present_flag: 0 =
0x
2008-12-16 05:55:56 [16043] [6] DEBUG:   data_coding: 0 = 0x
2008-12-16 05:55:56 [16043] [6] DEBUG:   sm_default_msg_id: 0 = 0x
2008-12-16 05:55:56 [16043] [6] DEBUG:   sm_length: 104 = 0x0068
2008-12-16 05:55:56 [16043] [6] DEBUG:   short_message:
2008-12-16 05:55:56 [16043] [6] DEBUG:Octet string at 0x8186260:
2008-12-16 05:55:56 [16043] [6] DEBUG:  len:  104
2008-12-16 05:55:56 [16043] [6] DEBUG:  size: 105
2008-12-16 05:55:56 [16043] [6] DEBUG:  immutable: 0
2008-12-16 05:55:56 [16043] [6] DEBUG:  data: 69 64 3a 34 39 34 34 32 32
35 42 20 73 75 62 3a   id:4944225B sub:
2008-12-16 05:55:56 [16043] [6] DEBUG:  data: 30 30 31 20 64 6c 76 72 64
3a 30 30 31 20 73 75   001 dlvrd:001 su
2008-12-16 05:55:56 [16043] [6] DEBUG:  data: 62 6d 69 74 20 64 61 74 65
3a 30 38 

Re: src compiling failed... dont know why =(

2008-12-16 Thread Aldo Zavala
I do have the libiconv installed, I downloaded the cvs version and still fails 
the make... what can be wrong?
this is the proof that I have the libiconv installed:
[output]
radius# pkg_info | grep libiconv
libiconv-1.11_1 A character set conversion library
[output]

Here is the ./configure output
[output]
radius# ./configure
checking cvs checkout date... 20081210

Configuring for Kannel gateway version cvs-20081210 ...

Running system checks ...
checking build system type... i386-unknown-freebsd7.0
checking host system type... i386-unknown-freebsd7.0
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gcc option to accept ISO C99... -std=gnu99
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for bison... no
checking for byacc... byacc
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for ar... ar
checking for convert... no
checking for perl... /usr/bin/perl
checking for pthread_exit in -lc_r... no
checking for pthread_exit in -lkse... yes
checking for inline... inline
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking for log in -lm... yes
checking for accept in -lsocket... no
checking for inet_ntoa in -lnsl... no
checking for inet_ntop in -lresolv... no
checking for inet_ntop in -lbind... no
checking for libiconv in -liconv... no
checking for ANSI C header files... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking iconv.h usability... no
checking iconv.h presence... no
checking for iconv.h... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking execinfo.h usability... no
checking execinfo.h presence... no
checking for execinfo.h... no
checking for stdlib.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/sockio.h usability... yes
checking sys/sockio.h presence... yes
checking for sys/sockio.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for net/if.h... yes
checking for gettimeofday... yes
checking for select... yes
checking for socket... yes
checking for strdup... yes
checking for getopt_long... yes
checking for localtime_r... yes
checking for gmtime_r... yes
checking for backtrace... no
checking for srandom... yes
checking for getopt... yes
checking for gethostbyname_r... yes
checking for which type of gethostbyname_r... 6
checking for socklen_t in sys/socket.h... yes
checking for getopt in stdio.h... no
checking for getopt in unistd.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for regcomp... yes

Checking for POSIX threads support ...
checking for working pthreads... yes
checking for pthread_spinlock support... yes
checking for pthread_rwlock support... yes
checking for sem_init in -lrt... yes
checking for semaphore support... yes

Checking for libxml2 support ...
checking for xml2-config... /usr/local/bin/xml2-config
checking libxml version... 2.6.30

Configuring for PCRE support ...
checking whether to compile with PCRE support... disabled

Configuring DocBook support ...
checking for 

Re: Authorization failed for XML post

2008-12-16 Thread Nikos Balkanas

Actually,

On a second thought, it doesn't look like you send test.xml at all. I cannot 
believe that curl miscalculates the length. Therefore a simple tcpdump, as 
first asked, or (2) which will show what kannel receives should settle this.


BR,
Nikos
- Original Message - 
From: Nikos Balkanas nbalka...@gmail.com

To: Francis Vidal francisv.l...@gmail.com; users@kannel.org
Sent: Tuesday, December 16, 2008 7:44 AM
Subject: Re: Authorization failed for XML post



Dear Francis,

I see a possible problem by Curl. In POST it sends Content-Length: 17, 
when the length of the xml file  50. This normally would lead to broken 
requests (bad requests), but since 17 characters end before the user 
credentials maybe it leads lto Forbidden access. This is further supported 
from bearerbox logs. It is not rejected by smsbox (server failed access), 
but after parsing the XML, bearerbox rejects it and generates 403.


3 things:

1) Remove all credentials from your configure file  and XML and run the 
POST again. If possible get tcpdump, to capture exactly what curl sents. 
Expect to fail but with a different cause.


2) You need better logs. Reenable credentials  please run:

script
bearerbox conffile 
smsbox conffile 

In another terminal run the curl POST w/credentials.

3) Test by hand:

telnet 127.0.0.1 8081
POST /cgi-bin/sendsms HTTP/1.1
Host: localhost:8081
Content-Length: 270verify length by 
yourself. Every new line is 2 characters (\r\n)

Content-type: text/html

?xml version=1.0 encoding=ISO-8859-1?
message
 submit
   danumberthe_number/number/da
   udAnother+test+sms/ud

   !-- request from Kannel to application --
   from
 useruser/user
 passuser/pass
   /from
 /submit
/message

Let me know how it goes,
Nikos
- Original Message - 
From: Francis Vidal francisv.l...@gmail.com

To: users@kannel.org
Sent: Tuesday, December 16, 2008 6:20 AM
Subject: Re: Authorization failed for XML post



/var/log/kannel/smsbox.log:
2008-12-16 12:14:49 [4507] [2] DEBUG: HTTP: Creating HTTPClient for 
`127.0.0.1'.
2008-12-16 12:14:49 [4507] [2] DEBUG: HTTP: Created HTTPClient area 
0x97aefd0.

2008-12-16 12:14:49 [4507] [3] INFO: smsbox: Got HTTP request
/cgi-bin/sendsms from 127.0.0.1
2008-12-16 12:14:49 [4507] [3] INFO: sendsms used by user
2008-12-16 12:14:49 [4507] [3] INFO: sendsms
sender:user:+ (127.0.0.1) to:+ msg:Hello
world
2008-12-16 12:14:49 [4507] [3] DEBUG: Stored UUID
e6669b3d-6b61-4956-a9ae-24d302a395cc
2008-12-16 12:14:49 [4507] [3] DEBUG: message length 11, sending 1 
messages

2008-12-16 12:14:49 [4507] [3] DEBUG: Status: 202 Answer: Sent.
2008-12-16 12:14:49 [4507] [3] DEBUG: Delayed reply - wait for bearerbox
2008-12-16 12:14:49 [4507] [0] DEBUG: Got ACK (0) of
e6669b3d-6b61-4956-a9ae-24d302a395cc
2008-12-16 12:14:49 [4507] [0] DEBUG: HTTP: Resetting HTTPClient for
`127.0.0.1'.
2008-12-16 12:14:49 [4507] [1] DEBUG: HTTP: Destroying HTTPClient area
0x97aefd0.
2008-12-16 12:14:49 [4507] [1] DEBUG: HTTP: Destroying HTTPClient for
`127.0.0.1'.

CURL output (verbose):

curl -v 
http://localhost:8081/cgi-bin/sendsms?user=userpass=userto=09213116180text=Hello+world;

* About to connect() to localhost port 8081 (#0)
*   Trying 127.0.0.1... connected
* Connected to localhost (127.0.0.1) port 8081 (#0)
GET /cgi-bin/sendsms?user=userpass=userto=09213116180text=Hello+world 
HTTP/1.1
User-Agent: curl/7.18.2 (i486-pc-linux-gnu) libcurl/7.18.2 
OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.8

Host: localhost:8081
Accept: */*


 HTTP/1.1 202 Accepted
 Server: Kannel/1.4.1
 Content-Length: 24
 Content-type: text/html
 Pragma: no-cache
 Cache-Control: no-cache

* Connection #0 to host localhost left intact
* Closing connection #0
0: Accepted for delivery

On Mon, Dec 15, 2008 at 6:37 PM, Nikos Balkanas nbalka...@gmail.com 
wrote:

This is more informative than the bearerbox logs. I imagine nothing
interesting on smsbox logs, right?

Could you post your configuration, and the CURL output from your 
(succesful)

GET operation? Seems like your URL is not what kannel expects.

BR,
Nikos
- Original Message - From: Francis Vidal 
francisv.l...@gmail.com

To: seikath seik...@gmail.com
Cc: users@kannel.org
Sent: Monday, December 15, 2008 11:21 AM
Subject: Re: Authorization failed for XML post



Okay, tried adding ?username=userpassword=pass to the URL:

curl -v -H Content-type: text/xm
localhost:8081/cgi-bin/sendsms?username=userpassword=user

Here's the output of CURL:

* About to connect() to localhost port 8081 (#0)
*   Trying 127.0.0.1... connected
* Connected to localhost (127.0.0.1) port 8081 (#0)


POST /cgi-bin/sendsms?username=userpassword=user HTTP/1.1
User-Agent: curl/7.18.2 (i486-pc-linux-gnu) libcurl/7.18.2 
OpenSSL/0.9.8g

zlib/1.2.3.3 libidn/1.8
Host: localhost:8081
Accept: */*
Content-type: text/xml
Content-Length: 17


 HTTP/1.1 403 Forbidden
 Server: Kannel/1.4.1
 Content-Length: 32
 Content-type: text/html
 Pragma: no-cache
 

Re: src compiling failed... dont know why =(

2008-12-16 Thread Nikos Balkanas

Both configure output:
checking for libiconv in -liconv... no

And make error:
wmlscript/wmlsc.o(.text+0x511):wmlscript/wmlsc.c:299: undefined reference to 
`ws_utf8_to_latin1'


indicate that configure cannot find libiconv. Is libiconv in your 
LD_LIBRARY_PATH?


BR,
Nikos
- Original Message - 
From: Aldo Zavala a...@cleartalk.net

To: Nikos Balkanas nbalka...@gmail.com; users@kannel.org
Sent: Tuesday, December 16, 2008 10:24 AM
Subject: Re: src compiling failed... dont know why =(


I do have the libiconv installed, I downloaded the cvs version and still 
fails the make... what can be wrong?

this is the proof that I have the libiconv installed:
[output]
radius# pkg_info | grep libiconv
libiconv-1.11_1 A character set conversion library
[output]

Here is the ./configure output
[output]
radius# ./configure
checking cvs checkout date... 20081210

Configuring for Kannel gateway version cvs-20081210 ...

Running system checks ...
checking build system type... i386-unknown-freebsd7.0
checking host system type... i386-unknown-freebsd7.0
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gcc option to accept ISO C99... -std=gnu99
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for bison... no
checking for byacc... byacc
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for ar... ar
checking for convert... no
checking for perl... /usr/bin/perl
checking for pthread_exit in -lc_r... no
checking for pthread_exit in -lkse... yes
checking for inline... inline
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking for log in -lm... yes
checking for accept in -lsocket... no
checking for inet_ntoa in -lnsl... no
checking for inet_ntop in -lresolv... no
checking for inet_ntop in -lbind... no
checking for libiconv in -liconv... no
checking for ANSI C header files... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking iconv.h usability... no
checking iconv.h presence... no
checking for iconv.h... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking execinfo.h usability... no
checking execinfo.h presence... no
checking for execinfo.h... no
checking for stdlib.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/sockio.h usability... yes
checking sys/sockio.h presence... yes
checking for sys/sockio.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for net/if.h... yes
checking for gettimeofday... yes
checking for select... yes
checking for socket... yes
checking for strdup... yes
checking for getopt_long... yes
checking for localtime_r... yes
checking for gmtime_r... yes
checking for backtrace... no
checking for srandom... yes
checking for getopt... yes
checking for gethostbyname_r... yes
checking for which type of gethostbyname_r... 6
checking for socklen_t in sys/socket.h... yes
checking for getopt in stdio.h... no
checking for getopt in unistd.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking for regcomp... yes


Re: Cell phone companes - will they shut me down?

2008-12-16 Thread Ken Bellars
Hi,

You may want to read the terms again, but i really thing the unlimited
plan is for personal use only. If you want to do commercial sms i
suggest you get an alternative.

Its only logical that they might terminate your account if your traffic is much.

On 12/16/08, David A. Burgess dburg...@jcis.net wrote:

 A company I consulted for once opened a few unlimited text plans
 Cingular for testing an M2M system.  At the end of the first month
 they got a 5,460-page bill.  The bill was only $30, but Cingular
 turned off the accounts after that.

 You mileage may vary.

 On Dec 15, 2008, at 1:27 PM, Scott wrote:


 First I want to preface I'm in the USA.

 If I were to use a GSM modem and have an unlimited text plan, would
 I be shutdown for a high volume of SMS's?  Or at what point would I
 be shut down?  Is there anything else to worry about?

  Thanks
Scott


 David A. Burgess
 Kestrel Signal Processing, Inc.







-- 
Regards,
Kenny
w: http://www.nuObjects.com
e: ke...@nuobjects.com

Enterprise Messaging Solutions | Managed Hosting | Enterprise Software
Development | eCommerce Application Development



Re: Kannel support

2008-12-16 Thread Alvaro Cornejo
Please send messages to list so you can have more answers to your issues

You need to add allow / deny entries in your config or setup a routing
group. check manuals

The max troughput of each link is controlled by your provider. Kannel
can't do anything about it. traffic load balancing can do the job



|-|
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



On Tue, Dec 16, 2008 at 1:30 AM, Avinash Pawar // Viva
avin...@vivainfomedia.com wrote:
 Thanks a lot for your reply.

 Now i want to increase speed of kannel, hence want to add 3 SMSC. I had
 configuared them as follow

 group= smsc
 smsc= smpp
 smsc-id=smsc1
 host=xxx.xxx.xxx.xxx
 port = 
 smsc-username=smsc1
 smsc-password=smsc1
 connect-allow-ip = xxx.xxx.xxx.xxx
 system-type=SMPP
 address-range=
 transceiver-mode=1
 source-addr-ton=1
 source-addr-npi=0
 dest-addr-ton=1
 dest-addr-npi=1
 msg-id-type =0x00
 allowed-smsc-id=smsc1;smsc3
 preferred-smsc-id=smsc1



 group=smsc
 smsc=smpp
 smsc-id=smsc2
 host=xxx.xxx.xxx.xxx
 port = 
 smsc-username=smsc2
 smsc-password=smsc2
 system-type=SMPP
 source-addr-ton=1
 source-addr-npi=0
 dest-addr-ton=1
 dest-addr-npi=1
 msg-id-type=0x00
 throughput=20
 allowed-smsc-id=smsc2;smsc3
 preferred-smsc-id=smsc2


 group=smsc
 smsc=smpp
 smsc-id=smsc3
 host=xxx.xxx.xxx.xxx
 port = 
 smsc-username=smsc3
 smsc-password=smsc3
 system-type=SMPP
 source-addr-ton=1
 source-addr-npi=0
 dest-addr-ton=1
 dest-addr-npi=1
 throughput=20
 allowed-smsc-id=smsc3;smsc2;smsc1
 preferred-smsc-id=smsc3

 Now, Will you please tell me that:

 How to check whether msgs are routed through all 3 SMSCs ???

 How to increase throughput?

 Please HELP !

 Thanks  Regards
 Avinash


 On Mon, Dec 15, 2008 at 8:25 PM, Alvaro Cornejo cornejo.alv...@gmail.com
 wrote:

 currently it is not supported. You must restart kannel to reload conf
 file modifications


 |-|
 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



 On Mon, Dec 15, 2008 at 8:13 AM, Avinash Pawar // Viva
 avin...@vivainfomedia.com wrote:
  Dear sir
 
  I have few doubts in kannel :-
  How to apply changes in smskannel.conf on runtime without stopping
  kannel?
 
  I want to add new smsc group  also want to keep changes in throughput
  as
  required.
 
  Can you please suggest me .
 
  Thanks  Regards
  Avinash
 





Re: How to know the delay between submitting and sending an SMS

2008-12-16 Thread Nikos Balkanas
Maybe,

Try the core access.log. Will tell you when it was sent to smsc. For all 
practical purposes submitted to kannel is when you (the client) sent it.

BR,
Nikos
  - Original Message - 
  From: Richard Spencer 
  To: users@kannel.org 
  Sent: Tuesday, December 16, 2008 12:18 PM
  Subject: How to know the delay between submitting and sending an SMS


  Dear community,

  Is there an easy way to determine the elapsed time between the moment when an 
SMS was submitted to kannel (and placed in queue) and the moment when it was 
actually sent to the SMSC?

  Best regards,
  Richard


Re: Hi to all

2008-12-16 Thread Tharanga
you need to use dlr-mask with unique id when sending the request to the SMSC 
(via ur smpp..or what ever).  I have posted a small how to on this sometimes 
back..

http://www.kannel.org/pipermail/users/2008-June/005035.html

hope that helps to fix ur issue.

good luck!

Tharanga Abeyseela
  - Original Message - 
  From: Kaliya perumal 
  To: users@kannel.org 
  Sent: Tuesday, December 16, 2008 1:52 PM
  Subject: Hi to all


  Hi
  Now i can able to connect my smsc,but i got error while sending message to my 
number,

  My kannel call is below

  
http://127.0.0.1:13131/cgi-bin/sendsms?username=testerpassword=foobarfrom=919362968751to=919986131642text=Hismsc=smppcoding=0

  My bearerbox result is

  2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: gwlist_len = 5
  2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message 
(0x8185348 vs 0x8185348)
  2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message 
(0x81851e0 vs 0x8185348)
  2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message 
(0x8184030 vs 0x8185348)
  2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message 
(0x8182210 vs 0x8185348)
  2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message 
(0x81841a8 vs 0x8185348)
  2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message 
(0x8185348 vs 0x8185348)
  2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: time to sleep 30.00 secs.
  2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP[SMPP:xxx.xxx.xxx.xxx:0/ 
:xxx:]: Sending PDU:
  2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP PDU 0x8186a20 dump:
  2008-12-16 05:55:56 [16043] [6] DEBUG:   type_name: bind_receiver
  2008-12-16 05:55:56 [16043] [6] DEBUG:   command_id: 1 = 0x0001
  2008-12-16 05:55:56 [16043] [6] DEBUG:   command_status: 0 = 0x
  2008-12-16 05:55:56 [16043] [6] DEBUG:   sequence_number: 721 = 0x02d1
  2008-12-16 05:55:56 [16043] [6] DEBUG:   system_id: xxx
  2008-12-16 05:55:56 [16043] [6] DEBUG:   password: xxx
  2008-12-16 05:55:56 [16043] [6] DEBUG:   system_type: 
  2008-12-16 05:55:56 [16043] [6] DEBUG:   interface_version: 51 = 0x0033
  2008-12-16 05:55:56 [16043] [6] DEBUG:   addr_ton: 0 = 0x
  2008-12-16 05:55:56 [16043] [6] DEBUG:   addr_npi: 0 = 0x
  2008-12-16 05:55:56 [16043] [6] DEBUG:   address_range: 
  2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP PDU dump ends.
  2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP[SMPP:xxx.xxx.xxx.xxx:0/
  :xxx:]: Got PDU:
  2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP PDU 0x81847f8 dump:
  2008-12-16 05:55:56 [16043] [6] DEBUG:   type_name: bind_receiver_resp
  2008-12-16 05:55:56 [16043] [6] DEBUG:   command_id: 2147483649 = 0x8001
  2008-12-16 05:55:56 [16043] [6] DEBUG:   command_status: 0 = 0x
  2008-12-16 05:55:56 [16043] [6] DEBUG:   sequence_number: 721 = 0x02d1
  2008-12-16 05:55:56 [16043] [6] DEBUG:   system_id: NowSMS
  2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP PDU dump ends.
  2008-12-16 05:55:56 [16043] [6] DEBUG: Optional parameter tag (0x0427)
  2008-12-16 05:55:56 [16043] [6] DEBUG: Optional parameter length read as 1
  2008-12-16 05:55:56 [16043] [6] DEBUG: Optional parameter tag (0x001e)
  2008-12-16 05:55:56 [16043] [6] DEBUG: Optional parameter length read as 9
  2008-12-16 05:55:56 [16043] [6] DEBUG: 
SMPP[SMPP:xxx.xxx.xxx.xxx:0/:xxx:]: Got PDU:
  2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP PDU 0x81847f8 dump:
  2008-12-16 05:55:56 [16043] [6] DEBUG:   type_name: deliver_sm
  2008-12-16 05:55:56 [16043] [6] DEBUG:   command_id: 5 = 0x0005
  2008-12-16 05:55:56 [16043] [6] DEBUG:   command_status: 0 = 0x
  2008-12-16 05:55:56 [16043] [6] DEBUG:   sequence_number: 104986 = 0x00019a1a
  2008-12-16 05:55:56 [16043] [6] DEBUG:   service_type: NULL
  2008-12-16 05:55:56 [16043] [6] DEBUG:   source_addr_ton: 1 = 0x0001
  2008-12-16 05:55:56 [16043] [6] DEBUG:   source_addr_npi: 1 = 0x0001
  2008-12-16 05:55:56 [16043] [6] DEBUG:   source_addr: 919880517000
  2008-12-16 05:55:56 [16043] [6] DEBUG:   dest_addr_ton: 1 = 0x0001
  2008-12-16 05:55:56 [16043] [6] DEBUG:   dest_addr_npi: 1 = 0x0001
  2008-12-16 05:55:56 [16043] [6] DEBUG:   destination_addr: 919880517000
  2008-12-16 05:55:56 [16043] [6] DEBUG:   esm_class: 4 = 0x0004
  2008-12-16 05:55:56 [16043] [6] DEBUG:   protocol_id: 0 = 0x
  2008-12-16 05:55:56 [16043] [6] DEBUG:   priority_flag: 0 = 0x
  2008-12-16 05:55:56 [16043] [6] DEBUG:   schedule_delivery_time: NULL
  2008-12-16 05:55:56 [16043] [6] DEBUG:   validity_period: NULL
  2008-12-16 05:55:56 [16043] [6] DEBUG:   registered_delivery: 1 = 0x0001
  2008-12-16 05:55:56 [16043] [6] DEBUG:   replace_if_present_flag: 0 = 
0x
  2008-12-16 05:55:56 [16043] [6] DEBUG:   data_coding: 0 = 0x
  2008-12-16 05:55:56 [16043] [6] DEBUG:   sm_default_msg_id: 0 = 0x
  2008-12-16 05:55:56 [16043] [6] DEBUG:   sm_length: 104 = 0x0068
  2008-12-16 05:55:56 [16043] [6] DEBUG:  

Re: Hi to all

2008-12-16 Thread Nikos Balkanas
Just a minor clarification for the unworry...
dlr-mask is not a unique id. Its fields are documented in the User Manual (min 
0 - no dlr, max 31 - all dlrs). If missing you shouldn't get any DLRs. 

In summary just try to add dlr-mask=31 (or whatever) to your URL to see if it 
helps. Just add in your URL: ...dlr-mask=31

I wouldn't worry about the DLRs in red, they clearly are not related to your 
message, the destination is different. They propably are lefovers in the queue.

BR,
Nikos
  - Original Message - 
  From: Tharanga 
  To: Kaliya perumal ; users@kannel.org 
  Sent: Tuesday, December 16, 2008 11:52 AM
  Subject: Re: Hi to all


  you need to use dlr-mask with unique id when sending the request to the SMSC 
(via ur smpp..or what ever).  I have posted a small how to on this sometimes 
back..

  http://www.kannel.org/pipermail/users/2008-June/005035.html

  hope that helps to fix ur issue.

  good luck!

  Tharanga Abeyseela
- Original Message - 
From: Kaliya perumal 
To: users@kannel.org 
Sent: Tuesday, December 16, 2008 1:52 PM
Subject: Hi to all


Hi
Now i can able to connect my smsc,but i got error while sending message to 
my number,

My kannel call is below


http://127.0.0.1:13131/cgi-bin/sendsms?username=testerpassword=foobarfrom=919362968751to=919986131642text=Hismsc=smppcoding=0

My bearerbox result is

2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: gwlist_len = 5
2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message 
(0x8185348 vs 0x8185348)
2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message 
(0x81851e0 vs 0x8185348)
2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message 
(0x8184030 vs 0x8185348)
2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message 
(0x8182210 vs 0x8185348)
2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message 
(0x81841a8 vs 0x8185348)
2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message 
(0x8185348 vs 0x8185348)
2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: time to sleep 30.00 secs.
2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP[SMPP:xxx.xxx.xxx.xxx:0/ 
:xxx:]: Sending PDU:
2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP PDU 0x8186a20 dump:
2008-12-16 05:55:56 [16043] [6] DEBUG:   type_name: bind_receiver
2008-12-16 05:55:56 [16043] [6] DEBUG:   command_id: 1 = 0x0001
2008-12-16 05:55:56 [16043] [6] DEBUG:   command_status: 0 = 0x
2008-12-16 05:55:56 [16043] [6] DEBUG:   sequence_number: 721 = 0x02d1
2008-12-16 05:55:56 [16043] [6] DEBUG:   system_id: xxx
2008-12-16 05:55:56 [16043] [6] DEBUG:   password: xxx
2008-12-16 05:55:56 [16043] [6] DEBUG:   system_type: 
2008-12-16 05:55:56 [16043] [6] DEBUG:   interface_version: 51 = 0x0033
2008-12-16 05:55:56 [16043] [6] DEBUG:   addr_ton: 0 = 0x
2008-12-16 05:55:56 [16043] [6] DEBUG:   addr_npi: 0 = 0x
2008-12-16 05:55:56 [16043] [6] DEBUG:   address_range: 
2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP PDU dump ends.
2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP[SMPP:xxx.xxx.xxx.xxx:0/ 
:xxx:]: Got PDU:
2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP PDU 0x81847f8 dump:
2008-12-16 05:55:56 [16043] [6] DEBUG:   type_name: bind_receiver_resp
2008-12-16 05:55:56 [16043] [6] DEBUG:   command_id: 2147483649 = 0x8001
2008-12-16 05:55:56 [16043] [6] DEBUG:   command_status: 0 = 0x
2008-12-16 05:55:56 [16043] [6] DEBUG:   sequence_number: 721 = 0x02d1
2008-12-16 05:55:56 [16043] [6] DEBUG:   system_id: NowSMS
2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP PDU dump ends.
2008-12-16 05:55:56 [16043] [6] DEBUG: Optional parameter tag (0x0427)
2008-12-16 05:55:56 [16043] [6] DEBUG: Optional parameter length read as 1
2008-12-16 05:55:56 [16043] [6] DEBUG: Optional parameter tag (0x001e)
2008-12-16 05:55:56 [16043] [6] DEBUG: Optional parameter length read as 9
2008-12-16 05:55:56 [16043] [6] DEBUG: 
SMPP[SMPP:xxx.xxx.xxx.xxx:0/:xxx:]: Got PDU:
2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP PDU 0x81847f8 dump:
2008-12-16 05:55:56 [16043] [6] DEBUG:   type_name: deliver_sm
2008-12-16 05:55:56 [16043] [6] DEBUG:   command_id: 5 = 0x0005
2008-12-16 05:55:56 [16043] [6] DEBUG:   command_status: 0 = 0x
2008-12-16 05:55:56 [16043] [6] DEBUG:   sequence_number: 104986 = 
0x00019a1a
2008-12-16 05:55:56 [16043] [6] DEBUG:   service_type: NULL
2008-12-16 05:55:56 [16043] [6] DEBUG:   source_addr_ton: 1 = 0x0001
2008-12-16 05:55:56 [16043] [6] DEBUG:   source_addr_npi: 1 = 0x0001
2008-12-16 05:55:56 [16043] [6] DEBUG:   source_addr: 919880517000
2008-12-16 05:55:56 [16043] [6] DEBUG:   dest_addr_ton: 1 = 0x0001
2008-12-16 05:55:56 [16043] [6] DEBUG:   dest_addr_npi: 1 = 0x0001
2008-12-16 05:55:56 [16043] [6] DEBUG:   destination_addr: 

Re: Hi Thank you for your information

2008-12-16 Thread Alvaro Cornejo
Please reply to list so everyone gets the info

you are not specifying a dlr-url in your call to kannel. check kannel
docs for info on how to doit and its opctions



|-|
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



On Tue, Dec 16, 2008 at 2:01 AM, Kaliya perumal
kaliyaperum...@gmail.com wrote:
 Hi
 Now i can able to connect my smsc,but i got error while sending message to
 my number,

 My kannel call is below

 http://127.0.0.1:13131/cgi-bin/sendsms?username=testerpassword=foobarfrom=919362968751to=919986131642text=Hismsc=smppcoding=0

 My bearerbox result is

 2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: gwlist_len = 5
 2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message
 (0x8185348 vs 0x8185348)
 2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message
 (0x81851e0 vs 0x8185348)
 2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message
 (0x8184030 vs 0x8185348)
 2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message
 (0x8182210 vs 0x8185348)
 2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message
 (0x81841a8 vs 0x8185348)
 2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: handling message
 (0x8185348 vs 0x8185348)
 2008-12-16 05:55:37 [16043] [7] DEBUG: sms_router: time to sleep 30.00 secs.
 2008-12-16 05:55:56 [16043] [6] DEBUG:
 SMPP[SMPP:xxx.xxx.xxx.xxx:0/:xxx:]: Sending PDU:
 2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP PDU 0x8186a20 dump:
 2008-12-16 05:55:56 [16043] [6] DEBUG:   type_name: bind_receiver
 2008-12-16 05:55:56 [16043] [6] DEBUG:   command_id: 1 = 0x0001
 2008-12-16 05:55:56 [16043] [6] DEBUG:   command_status: 0 = 0x
 2008-12-16 05:55:56 [16043] [6] DEBUG:   sequence_number: 721 = 0x02d1
 2008-12-16 05:55:56 [16043] [6] DEBUG:   system_id: xxx
 2008-12-16 05:55:56 [16043] [6] DEBUG:   password: xxx
 2008-12-16 05:55:56 [16043] [6] DEBUG:   system_type: 
 2008-12-16 05:55:56 [16043] [6] DEBUG:   interface_version: 51 = 0x0033
 2008-12-16 05:55:56 [16043] [6] DEBUG:   addr_ton: 0 = 0x
 2008-12-16 05:55:56 [16043] [6] DEBUG:   addr_npi: 0 = 0x
 2008-12-16 05:55:56 [16043] [6] DEBUG:   address_range: 
 2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP PDU dump ends.
 2008-12-16 05:55:56 [16043] [6] DEBUG:
 SMPP[SMPP:xxx.xxx.xxx.xxx:0/:xxx:]: Got PDU:
 2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP PDU 0x81847f8 dump:
 2008-12-16 05:55:56 [16043] [6] DEBUG:   type_name: bind_receiver_resp
 2008-12-16 05:55:56 [16043] [6] DEBUG:   command_id: 2147483649 = 0x8001
 2008-12-16 05:55:56 [16043] [6] DEBUG:   command_status: 0 = 0x
 2008-12-16 05:55:56 [16043] [6] DEBUG:   sequence_number: 721 = 0x02d1
 2008-12-16 05:55:56 [16043] [6] DEBUG:   system_id: NowSMS
 2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP PDU dump ends.
 2008-12-16 05:55:56 [16043] [6] DEBUG: Optional parameter tag (0x0427)
 2008-12-16 05:55:56 [16043] [6] DEBUG: Optional parameter length read as 1
 2008-12-16 05:55:56 [16043] [6] DEBUG: Optional parameter tag (0x001e)
 2008-12-16 05:55:56 [16043] [6] DEBUG: Optional parameter length read as 9
 2008-12-16 05:55:56 [16043] [6] DEBUG:
 SMPP[SMPP:xxx.xxx.xxx.xxx:0/:xxx:]: Got PDU:
 2008-12-16 05:55:56 [16043] [6] DEBUG: SMPP PDU 0x81847f8 dump:
 2008-12-16 05:55:56 [16043] [6] DEBUG:   type_name: deliver_sm
 2008-12-16 05:55:56 [16043] [6] DEBUG:   command_id: 5 = 0x0005
 2008-12-16 05:55:56 [16043] [6] DEBUG:   command_status: 0 = 0x
 2008-12-16 05:55:56 [16043] [6] DEBUG:   sequence_number: 104986 =
 0x00019a1a
 2008-12-16 05:55:56 [16043] [6] DEBUG:   service_type: NULL
 2008-12-16 05:55:56 [16043] [6] DEBUG:   source_addr_ton: 1 = 0x0001
 2008-12-16 05:55:56 [16043] [6] DEBUG:   source_addr_npi: 1 = 0x0001
 2008-12-16 05:55:56 [16043] [6] DEBUG:   source_addr: 919880517000
 2008-12-16 05:55:56 [16043] [6] DEBUG:   dest_addr_ton: 1 = 0x0001
 2008-12-16 05:55:56 [16043] [6] DEBUG:   dest_addr_npi: 1 = 0x0001
 2008-12-16 05:55:56 [16043] [6] DEBUG:   destination_addr: 919880517000
 2008-12-16 05:55:56 [16043] [6] DEBUG:   esm_class: 4 = 0x0004
 2008-12-16 05:55:56 [16043] [6] DEBUG:   protocol_id: 0 = 0x
 2008-12-16 05:55:56 [16043] [6] DEBUG:   priority_flag: 0 = 0x
 2008-12-16 05:55:56 [16043] [6] DEBUG:   schedule_delivery_time: NULL
 2008-12-16 05:55:56 [16043] [6] DEBUG:   validity_period: NULL
 2008-12-16 05:55:56 [16043] [6] DEBUG:   registered_delivery: 1 = 0x0001
 2008-12-16 05:55:56 [16043] [6] DEBUG:   replace_if_present_flag: 0 =
 0x
 2008-12-16 05:55:56 [16043] [6] DEBUG:   data_coding: 0 = 0x
 2008-12-16 05:55:56 [16043] [6] DEBUG:   sm_default_msg_id: 0 

unsubscribe

2008-12-16 Thread Roy Walker
 



Re: src compiling failed... dont know why =(

2008-12-16 Thread Aldo Zavala
[output]
radius# gmake bindir=/usr/local/kannel install
/usr/bin/install -c -d /usr/local/kannel
for prog in wmlscript/wmlsc wmlscript/wmlsdasm utils/seewbmp utils/mtbatch 
gw-config; do \
/usr/bin/install -c $prog \
/usr/local/kannel/`basename $prog`; \
done
test -r /usr/local/kannel/gw-config || \
ln -sf gw-config /usr/local/kannel/gw-config
/usr/bin/install -c -d /usr/local/sbin
for prog in gw/bearerbox gw/smsbox gw/wapbox utils/run_kannel_box; do \
/usr/bin/install -c $prog \
/usr/local/sbin/`basename $prog`; \
done
/usr/bin/install -c -d /usr/local/share/man/man1
/usr/bin/install -c utils/seewbmp.1 utils/mtbatch.1 wmlscript/wmlsc.1 
wmlscript/wmlsdasm.1 /usr/local/share/man/man1
/usr/bin/install -c -d /usr/local/share/man/man8
/usr/bin/install -c gw/kannel.8 utils/run_kannel_box.8 /usr/local/share/man/man8
/usr/bin/install -c -d /usr/local/include/kannel/gwlib
/usr/bin/install -c -m 644 ./gwlib/*.h /usr/local/include/kannel/gwlib
/usr/bin/install -c -m 644 ./gwlib/*.def /usr/local/include/kannel/gwlib
/usr/bin/install -c -d /usr/local/include/kannel/gw
/usr/bin/install -c -m 644 ./gw/*.h /usr/local/include/kannel/gw
/usr/bin/install -c -m 644 ./gw/*.def /usr/local/include/kannel/gw
/usr/bin/install -c -d /usr/local/include/kannel/gw/smsc
/usr/bin/install -c -m 644 ./gw/smsc/*.h /usr/local/include/kannel/gw/smsc
/usr/bin/install -c -m 644 ./gw/smsc/*.def /usr/local/include/kannel/gw/smsc
/usr/bin/install -c -d /usr/local/include/kannel/wap
/usr/bin/install -c -m 644 ./wap/*.h /usr/local/include/kannel/wap
/usr/bin/install -c -m 644 ./wap/*.def /usr/local/include/kannel/wap
/usr/bin/install -c -m 644 gw-config.h /usr/local/include/kannel
/usr/bin/install -c -d /usr/local/lib/kannel
/usr/bin/install -c -m 644 libgwlib.a /usr/local/lib/kannel
/usr/bin/install -c -m 644 libgw.a /usr/local/lib/kannel
/usr/bin/install -c -m 644 libwap.a /usr/local/lib/kannel
[/output]


I binded the gmake to this dir: /usr/local/kannel that is what I got on that 
dir after the gmake install

[output]
radius# ls -lG /usr/local/kannel
total 2114
-rwxr-xr-x  1 root  wheel 704 Dec 16 08:27 gw-config
-rwxr-xr-x  1 root  wheel  582226 Dec 16 08:27 mtbatch
-rwxr-xr-x  1 root  wheel   15138 Dec 16 08:27 seewbmp
-rwxr-xr-x  1 root  wheel  737759 Dec 16 08:27 wmlsc
-rwxr-xr-x  1 root  wheel  740701 Dec 16 08:27 wmlsdasm
[/output]

I also noticed that there are no /usr/local/etc/rc.d/kannel file in this 
kannel installation, how should I start the daemons and even how should I set 
them to autostart when system boots? How can I know if the 
installation/compiling was successful?

Many Thanks, 




- Original Message -
From: preeteesh kakkar
[mailto:preeteesh.kak...@gmail.com]
To: Aldo Zavala
[mailto:a...@cleartalk.net]
Cc: Nikos Balkanas [mailto:nbalka...@gmail.com],
users@kannel.org
Sent: Tue, 16 Dec 2008 02:00:47 -0700
Subject: Re: src
compiling failed... dont know why =(


 Try using gmake instead of make and tell me if it works or not?
 



How to know the delay between submitting and sending an SMS

2008-12-16 Thread Richard Spencer
Dear community,

Is there an easy way to determine the elapsed time between the moment when
an SMS was submitted to kannel (and placed in queue) and the moment when it
was actually sent to the SMSC?

Best regards,
Richard


correct keyword usage

2008-12-16 Thread Rob Whyte
Hey all,
Quick question on keywords. I have 2 keywords in my config file, one is
dev and one is default .. I use this to attempt to direct dev xxx to
my development server, and anything else to production. If I send JUST the
word dev it works correctly, but if I send something like dev rob it
always goes to my default keyword. What am I missing here?

relevant config info:

group = sms-service
keyword = dev
max-messages = 0
get-url=
http://DEV.xxx.com/Services/SMPP_Service/SMPP_Service.asmx/ProcessMO?smscid=%istatus=%dmessage=%Ato=%Pfrom
=%ptransid=%Tmeta_data=%D
text = nop

group = sms-service
keyword = default
max-messages = 0
get-url=
http://PROD.xxx.com/Services/SMPP_Service/SMPP_Service.asmx/ProcessMO?smscid=%istatus=%dmessage=%Ato=%Pfrom=%p
transid=%Tmeta_data=%D
text = nop

Thanks,
Rob


Re: Kannel support

2008-12-16 Thread Nikos Balkanas

Core access log will print smscid for any sms and dlr. Check it out.
- Original Message - 
From: Alvaro Cornejo cornejo.alv...@gmail.com

To: Avinash Pawar // Viva avin...@vivainfomedia.com; users@kannel.org
Sent: Tuesday, December 16, 2008 5:11 PM
Subject: Re: Kannel support


Please send messages to list so you can have more answers to your issues

You need to add allow / deny entries in your config or setup a routing
group. check manuals

The max troughput of each link is controlled by your provider. Kannel
can't do anything about it. traffic load balancing can do the job



|-|
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



On Tue, Dec 16, 2008 at 1:30 AM, Avinash Pawar // Viva
avin...@vivainfomedia.com wrote:

Thanks a lot for your reply.

Now i want to increase speed of kannel, hence want to add 3 SMSC. I had
configuared them as follow

group= smsc
smsc= smpp
smsc-id=smsc1
host=xxx.xxx.xxx.xxx
port = 
smsc-username=smsc1
smsc-password=smsc1
connect-allow-ip = xxx.xxx.xxx.xxx
system-type=SMPP
address-range=
transceiver-mode=1
source-addr-ton=1
source-addr-npi=0
dest-addr-ton=1
dest-addr-npi=1
msg-id-type =0x00
allowed-smsc-id=smsc1;smsc3
preferred-smsc-id=smsc1



group=smsc
smsc=smpp
smsc-id=smsc2
host=xxx.xxx.xxx.xxx
port = 
smsc-username=smsc2
smsc-password=smsc2
system-type=SMPP
source-addr-ton=1
source-addr-npi=0
dest-addr-ton=1
dest-addr-npi=1
msg-id-type=0x00
throughput=20
allowed-smsc-id=smsc2;smsc3
preferred-smsc-id=smsc2


group=smsc
smsc=smpp
smsc-id=smsc3
host=xxx.xxx.xxx.xxx
port = 
smsc-username=smsc3
smsc-password=smsc3
system-type=SMPP
source-addr-ton=1
source-addr-npi=0
dest-addr-ton=1
dest-addr-npi=1
throughput=20
allowed-smsc-id=smsc3;smsc2;smsc1
preferred-smsc-id=smsc3

Now, Will you please tell me that:

How to check whether msgs are routed through all 3 SMSCs ???

How to increase throughput?

Please HELP !

Thanks  Regards
Avinash


On Mon, Dec 15, 2008 at 8:25 PM, Alvaro Cornejo cornejo.alv...@gmail.com
wrote:


currently it is not supported. You must restart kannel to reload conf
file modifications


|-|
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



On Mon, Dec 15, 2008 at 8:13 AM, Avinash Pawar // Viva
avin...@vivainfomedia.com wrote:
 Dear sir

 I have few doubts in kannel :-
 How to apply changes in smskannel.conf on runtime without stopping
 kannel?

 I want to add new smsc group  also want to keep changes in throughput
 as
 required.

 Can you please suggest me .

 Thanks  Regards
 Avinash









Re: correct keyword usage

2008-12-16 Thread Nikos Balkanas
Hi,

I don't know what you send to be able to tell you more about it, but maybe you 
want to use keyword-regex instead of keyword.

BR,
Nikos
  - Original Message - 
  From: Rob Whyte 
  To: users@kannel.org 
  Sent: Tuesday, December 16, 2008 9:55 PM
  Subject: correct keyword usage


  Hey all,


  Quick question on keywords. I have 2 keywords in my config file, one is dev 
and one is default .. I use this to attempt to direct dev xxx to my 
development server, and anything else to production. If I send JUST the word 
dev it works correctly, but if I send something like dev rob it always goes 
to my default keyword. What am I missing here?


  relevant config info:


  group = sms-service
  keyword = dev
  max-messages = 0
  
get-url=http://DEV.xxx.com/Services/SMPP_Service/SMPP_Service.asmx/ProcessMO?smscid=%istatus=%dmessage=%Ato=%Pfrom
  =%ptransid=%Tmeta_data=%D
  text = nop


  group = sms-service
  keyword = default
  max-messages = 0

  
get-url=http://PROD.xxx.com/Services/SMPP_Service/SMPP_Service.asmx/ProcessMO?smscid=%istatus=%dmessage=%Ato=%Pfrom=%p
  transid=%Tmeta_data=%D
  text = nop


  Thanks,
  Rob

Re: src compiling failed... dont know why =(

2008-12-16 Thread Aldo Zavala
Hello, does anybody have a working release of Kannel running on FreeBSD 7 ?



Re: src compiling failed... dont know why =(

2008-12-16 Thread Nikos Balkanas
If I understand you correctly you want the init scripts for kannel. Try 
configure --enable-start-stop-daemon


BR,
Nikos
- Original Message - 
From: Aldo Zavala a...@cleartalk.net

To: preeteesh kakkar preeteesh.kak...@gmail.com
Cc: Nikos Balkanas nbalka...@gmail.com; users@kannel.org
Sent: Tuesday, December 16, 2008 6:24 PM
Subject: Re: src compiling failed... dont know why =(


[output]
radius# gmake bindir=/usr/local/kannel install
/usr/bin/install -c -d /usr/local/kannel
for prog in wmlscript/wmlsc wmlscript/wmlsdasm utils/seewbmp utils/mtbatch 
gw-config; do \

   /usr/bin/install -c $prog \
   /usr/local/kannel/`basename $prog`; \
   done
test -r /usr/local/kannel/gw-config || \
   ln -sf gw-config /usr/local/kannel/gw-config
/usr/bin/install -c -d /usr/local/sbin
for prog in gw/bearerbox gw/smsbox gw/wapbox utils/run_kannel_box; do \
   /usr/bin/install -c $prog \
   /usr/local/sbin/`basename $prog`; \
   done
/usr/bin/install -c -d /usr/local/share/man/man1
/usr/bin/install -c utils/seewbmp.1 utils/mtbatch.1 wmlscript/wmlsc.1 
wmlscript/wmlsdasm.1 /usr/local/share/man/man1

/usr/bin/install -c -d /usr/local/share/man/man8
/usr/bin/install -c gw/kannel.8 utils/run_kannel_box.8 
/usr/local/share/man/man8

/usr/bin/install -c -d /usr/local/include/kannel/gwlib
/usr/bin/install -c -m 644 ./gwlib/*.h /usr/local/include/kannel/gwlib
/usr/bin/install -c -m 644 ./gwlib/*.def /usr/local/include/kannel/gwlib
/usr/bin/install -c -d /usr/local/include/kannel/gw
/usr/bin/install -c -m 644 ./gw/*.h /usr/local/include/kannel/gw
/usr/bin/install -c -m 644 ./gw/*.def /usr/local/include/kannel/gw
/usr/bin/install -c -d /usr/local/include/kannel/gw/smsc
/usr/bin/install -c -m 644 ./gw/smsc/*.h /usr/local/include/kannel/gw/smsc
/usr/bin/install -c -m 644 ./gw/smsc/*.def /usr/local/include/kannel/gw/smsc
/usr/bin/install -c -d /usr/local/include/kannel/wap
/usr/bin/install -c -m 644 ./wap/*.h /usr/local/include/kannel/wap
/usr/bin/install -c -m 644 ./wap/*.def /usr/local/include/kannel/wap
/usr/bin/install -c -m 644 gw-config.h /usr/local/include/kannel
/usr/bin/install -c -d /usr/local/lib/kannel
/usr/bin/install -c -m 644 libgwlib.a /usr/local/lib/kannel
/usr/bin/install -c -m 644 libgw.a /usr/local/lib/kannel
/usr/bin/install -c -m 644 libwap.a /usr/local/lib/kannel
[/output]


I binded the gmake to this dir: /usr/local/kannel that is what I got on 
that dir after the gmake install


[output]
radius# ls -lG /usr/local/kannel
total 2114
-rwxr-xr-x  1 root  wheel 704 Dec 16 08:27 gw-config
-rwxr-xr-x  1 root  wheel  582226 Dec 16 08:27 mtbatch
-rwxr-xr-x  1 root  wheel   15138 Dec 16 08:27 seewbmp
-rwxr-xr-x  1 root  wheel  737759 Dec 16 08:27 wmlsc
-rwxr-xr-x  1 root  wheel  740701 Dec 16 08:27 wmlsdasm
[/output]

I also noticed that there are no /usr/local/etc/rc.d/kannel file in this 
kannel installation, how should I start the daemons and even how should I 
set them to autostart when system boots? How can I know if the 
installation/compiling was successful?


Many Thanks,




- Original Message -
From: preeteesh kakkar
[mailto:preeteesh.kak...@gmail.com]
To: Aldo Zavala
[mailto:a...@cleartalk.net]
Cc: Nikos Balkanas [mailto:nbalka...@gmail.com],
users@kannel.org
Sent: Tue, 16 Dec 2008 02:00:47 -0700
Subject: Re: src
compiling failed... dont know why =(



Try using gmake instead of make and tell me if it works or not?






Re: src compiling failed... dont know why =(

2008-12-16 Thread Aldo

hello, how can I just undo or delete all what gmake install has installed?
I think I will back to the port version... :S I found harder compiling 
it from csv release


Nikos Balkanas wrote:
If I understand you correctly you want the init scripts for kannel. 
Try configure --enable-start-stop-daemon


BR,
Nikos
- Original Message - From: Aldo Zavala a...@cleartalk.net
To: preeteesh kakkar preeteesh.kak...@gmail.com
Cc: Nikos Balkanas nbalka...@gmail.com; users@kannel.org
Sent: Tuesday, December 16, 2008 6:24 PM
Subject: Re: src compiling failed... dont know why =(


[output]
radius# gmake bindir=/usr/local/kannel install
/usr/bin/install -c -d /usr/local/kannel
for prog in wmlscript/wmlsc wmlscript/wmlsdasm utils/seewbmp 
utils/mtbatch gw-config; do \

   /usr/bin/install -c $prog \
   /usr/local/kannel/`basename $prog`; \
   done
test -r /usr/local/kannel/gw-config || \
   ln -sf gw-config /usr/local/kannel/gw-config
/usr/bin/install -c -d /usr/local/sbin
for prog in gw/bearerbox gw/smsbox gw/wapbox utils/run_kannel_box; do \
   /usr/bin/install -c $prog \
   /usr/local/sbin/`basename $prog`; \
   done
/usr/bin/install -c -d /usr/local/share/man/man1
/usr/bin/install -c utils/seewbmp.1 utils/mtbatch.1 wmlscript/wmlsc.1 
wmlscript/wmlsdasm.1 /usr/local/share/man/man1

/usr/bin/install -c -d /usr/local/share/man/man8
/usr/bin/install -c gw/kannel.8 utils/run_kannel_box.8 
/usr/local/share/man/man8

/usr/bin/install -c -d /usr/local/include/kannel/gwlib
/usr/bin/install -c -m 644 ./gwlib/*.h /usr/local/include/kannel/gwlib
/usr/bin/install -c -m 644 ./gwlib/*.def /usr/local/include/kannel/gwlib
/usr/bin/install -c -d /usr/local/include/kannel/gw
/usr/bin/install -c -m 644 ./gw/*.h /usr/local/include/kannel/gw
/usr/bin/install -c -m 644 ./gw/*.def /usr/local/include/kannel/gw
/usr/bin/install -c -d /usr/local/include/kannel/gw/smsc
/usr/bin/install -c -m 644 ./gw/smsc/*.h 
/usr/local/include/kannel/gw/smsc
/usr/bin/install -c -m 644 ./gw/smsc/*.def 
/usr/local/include/kannel/gw/smsc

/usr/bin/install -c -d /usr/local/include/kannel/wap
/usr/bin/install -c -m 644 ./wap/*.h /usr/local/include/kannel/wap
/usr/bin/install -c -m 644 ./wap/*.def /usr/local/include/kannel/wap
/usr/bin/install -c -m 644 gw-config.h /usr/local/include/kannel
/usr/bin/install -c -d /usr/local/lib/kannel
/usr/bin/install -c -m 644 libgwlib.a /usr/local/lib/kannel
/usr/bin/install -c -m 644 libgw.a /usr/local/lib/kannel
/usr/bin/install -c -m 644 libwap.a /usr/local/lib/kannel
[/output]


I binded the gmake to this dir: /usr/local/kannel that is what I got 
on that dir after the gmake install


[output]
radius# ls -lG /usr/local/kannel
total 2114
-rwxr-xr-x  1 root  wheel 704 Dec 16 08:27 gw-config
-rwxr-xr-x  1 root  wheel  582226 Dec 16 08:27 mtbatch
-rwxr-xr-x  1 root  wheel   15138 Dec 16 08:27 seewbmp
-rwxr-xr-x  1 root  wheel  737759 Dec 16 08:27 wmlsc
-rwxr-xr-x  1 root  wheel  740701 Dec 16 08:27 wmlsdasm
[/output]

I also noticed that there are no /usr/local/etc/rc.d/kannel file in 
this kannel installation, how should I start the daemons and even how 
should I set them to autostart when system boots? How can I know if 
the installation/compiling was successful?


Many Thanks,




- Original Message -
From: preeteesh kakkar
[mailto:preeteesh.kak...@gmail.com]
To: Aldo Zavala
[mailto:a...@cleartalk.net]
Cc: Nikos Balkanas [mailto:nbalka...@gmail.com],
users@kannel.org
Sent: Tue, 16 Dec 2008 02:00:47 -0700
Subject: Re: src
compiling failed... dont know why =(



Try using gmake instead of make and tell me if it works or not?











Hi

2008-12-16 Thread Kaliya perumal
Hi

whenever i send message i got *3:queued for later delivery* ,Message was not
sent to the destination,where do make correction ,

below is my kannel call

http://127.0.1.1:13131/cgi-bin/sendsms?username=testerpassword=foobarfrom=919362968751to=919986131642text=samidasmsc-id=alcoding=0dlr-mask=31


group = core
admin-port = 13000
admin-password = foobar
smsbox-port = 13003
dlr-storage = internal
admin-deny-ip = 
admin-allow-ip = 127.0.0.1, 11.11.11.11
smsbox-port = 13003
box-deny-ip = 
box-allow-ip = 127.0.0.1,11.11.11.11
log-file = /home/ubuntu/var/log/kannel_bearerbox.txt
log-level = 0

group = smsc
smsc = smpp
smsc-id = al
log-level = 0
interface-version = 33
host = xxx.xxx.xxx.xxx
receive-port = 
smsc-username = xxx
smsc-password = xxx
system-type = 
address-range = 
transceiver-mode = true
msg-id-type=0x00
source-addr-autodetect = no
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1

group = smsbox
smsbox-id = smsbox1
bearerbox-host = 127.0.0.1
sendsms-port = 13131
sendsms-chars = 0123456789+#
access-log = /home/ubuntu/tmp/access.log
log-file =/home/ubuntu/var/log/kannel_bearerbox1.txt
log-level = 0

group = smsbox-route
smsbox-id = smsbox1
shortcuts=

group = sendsms-user
username = tester
password = foobar
#user-deny-ip = 
#user-allow-ip = 127.0.0.1, 11.11.11.11

My bearerbox result is

2008-12-17 06:23:01 [18392] [6] DEBUG: SMPP PDU dump ends.
2008-12-17 06:23:01 [18392] [6] DEBUG: SMPP[al]: Got PDU:
2008-12-17 06:23:01 [18392] [6] DEBUG: SMPP PDU 0x818ae78 dump:
2008-12-17 06:23:01 [18392] [6] DEBUG:   type_name: enquire_link_resp
2008-12-17 06:23:01 [18392] [6] DEBUG:   command_id: 2147483669 = 0x8015
2008-12-17 06:23:01 [18392] [6] DEBUG:   command_status: 0 = 0x
2008-12-17 06:23:01 [18392] [6] DEBUG:   sequence_number: 46 = 0x002e
2008-12-17 06:23:01 [18392] [6] DEBUG: SMPP PDU dump ends.
2008-12-17 06:23:17 [18392] [7] DEBUG: sms_router: gwlist_len = 1
2008-12-17 06:23:17 [18392] [7] DEBUG: sms_router: handling message
(0x81858b8 vs 0x81858b8)
2008-12-17 06:23:17 [18392] [7] DEBUG: sms_router: handling message
(0x81858b8 vs 0x81858b8)
2008-12-17 06:23:17 [18392] [7] DEBUG: sms_router: time to sleep 30.00 secs.
2008-12-17 06:23:31 [18392] [6] DEBUG: SMPP[al]: Sending enquire link:
2008-12-17 06:23:31 [18392] [6] DEBUG: SMPP PDU 0x818ae78 dump:
2008-12-17 06:23:31 [18392] [6] DEBUG:   type_name: enquire_link
2008-12-17 06:23:31 [18392] [6] DEBUG:   command_id: 21 = 0x0015
2008-12-17 06:23:31 [18392] [6] DEBUG:   command_status: 0 = 0x
2008-12-17 06:23:31 [18392] [6] DEBUG:   sequence_number: 47 = 0x002f
2008-12-17 06:23:31 [18392] [6] DEBUG: SMPP PDU dump ends.
2008-12-17 06:23:32 [18392] [6] DEBUG: SMPP[al]: Got PDU:
2008-12-17 06:23:32 [18392] [6] DEBUG: SMPP PDU 0x818ae78 dump:
2008-12-17 06:23:32 [18392] [6] DEBUG:   type_name: enquire_link_resp
2008-12-17 06:23:32 [18392] [6] DEBUG:   command_id: 2147483669 = 0x8015
2008-12-17 06:23:32 [18392] [6] DEBUG:   command_status: 0 = 0x
2008-12-17 06:23:32 [18392] [6] DEBUG:   sequence_number: 47 = 0x002f
2008-12-17 06:23:32 [18392] [6] DEBUG: SMPP PDU dump ends.
2008-12-17 06:23:47 [18392] [7] DEBUG: sms_router: gwlist_len = 1
2008-12-17 06:23:47 [18392] [7] DEBUG: sms_router: handling message
(0x81858b8 vs 0x81858b8)
2008-12-17 06:23:47 [18392] [7] DEBUG: sms_router: handling message
(0x81858b8 vs 0x81858b8)
2008-12-17 06:23:47 [18392] [7] DEBUG: sms_router: time to sleep 30.00 secs.

These above lines are repeating many times

My smsbox result is

2008-12-17 06:00:47 [18401] [0] INFO: Starting to log to file
/home/ubuntu/var/log/kannel_bearerbox1.txt level 0
2008-12-17 06:00:47 [18401] [0] INFO: Added logfile
`/home/ubuntu/var/log/kannel_bearerbox1.txt' with level `0'.
2008-12-17 06:00:47 [18401] [0] INFO: Logging accesses to
'/home/ubuntu/tmp/access.log'.
2008-12-17 06:00:47 [18401] [0] INFO: Started access logfile
`/home/ubuntu/tmp/access.log'.
2008-12-17 06:00:47 [18401] [0] INFO: HTTP: Opening server at port 13131.
2008-12-17 06:00:47 [18401] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)
2008-12-17 06:00:47 [18401] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps
to pid 18401.
2008-12-17 06:00:47 [18401] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread)
maps to pid 18401.
2008-12-17 06:00:47 [18401] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)
2008-12-17 06:00:47 [18401] [0] INFO: Set up send sms service at port 13131
2008-12-17 06:00:47 [18401] [0] DEBUG: Started thread 3
(gw/smsbox.c:sendsms_thread)
2008-12-17 06:00:47 [18401] [0] DEBUG:
--
2008-12-17 06:00:47 [18401] [0] DEBUG: Kannel smsbox version 1.4.1 starting
2008-12-17 06:00:47 [18401] [3] DEBUG: Thread 3 (gw/smsbox.c:sendsms_thread)
maps to pid 18401.
2008-12-17 06:00:47 [18401] [0] DEBUG: Started thread 4
(gw/smsbox.c:obey_request_thread)
2008-12-17 06:00:47 [18401] [4] DEBUG: Thread 4
(gw/smsbox.c:obey_request_thread) maps to pid 18401.