PDU error

2007-04-22 Thread Vahid Ghafarpour

what does this error mean?
[11261] [7] WARNING: SMPP: PDU element service_type too long (length is 8,
should be 5)

I got it too many times

--
--Vahid Ghafarpour.
http://vahid.ghafarpour.ir/
vahid at ghafarpour dot ir
ghafarpour at gmail dot com


DLR error

2007-04-22 Thread Vahid Ghafarpour

I got this message too many times

2007-04-22 16:39:52 [11261] [8] WARNING: DLR[mysql]: DLR for DST(null) not
found.
2007-04-22 16:39:52 [11261] [8] ERROR: SMPP[modem]: got DLR but could not
find message or was not interested in it id325149513 dst30007511,
type2

why this happened?
I have many DLR messages in queue

--
--Vahid Ghafarpour.
http://vahid.ghafarpour.ir/
vahid at ghafarpour dot ir
ghafarpour at gmail dot com


Re: DLR error

2007-04-22 Thread Stipe Tolj
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Vahid Ghafarpour wrote:
 I got this message too many times
 
 2007-04-22 16:39:52 [11261] [8] WARNING: DLR[mysql]: DLR for DST(null)
 not
 found.
 2007-04-22 16:39:52 [11261] [8] ERROR: SMPP[modem]: got DLR but could not
 find message or was not interested in it id325149513 dst30007511,
 type2
 
 why this happened?
 I have many DLR messages in queue

either your SMPP server mixes the msg IDs while sending submit_sm_resp PDU and
later the DLR via deliver_sm. See user's guide info on the directive
'msg-id-type', or you have send a previous MT with a nulled source addr and
DLR resolver on Kannel's side can't resolve the DLR information it gets from the
SMSC.

Can you please provide more debug log-level output, also from the sequence of
submitting the SMS and getting the DLR.

Stipe

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

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

mailto:st_{at}_tolj.org   mailto:stolj_{at}_kannel.org
- ---
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGK69Z9ez0oeKvYs0RAvdDAJsGHL8iv5p2PagDPMMoonWMpZX3GgCfWmTC
M3dI3Kib55kTEo1WmfxFcg0=
=UA4Z
-END PGP SIGNATURE-



Re: SMPP server to receive SMS requests via SMPP and send SMS

2007-04-22 Thread Stipe Tolj
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Juan Nin wrote:

 
 Kannel does not provide SMPP Server by itself
 There's the smppbox that Stipe provides (commercial) to do so, and
 there's another implementation by someone else
 
 but Kannel alone does not provide SMPP Serer capabilities

that's correct.

At this time, Kannel does the full abstraction of the SMSC client side of
gatewaying archtecture. On the server side it abstracts towards HTTP.

My Kannel SMPP server (smppbox) is an add-on component that is capable to act as
SMPP v3.4 and EMI/UCP 4.0 server, hence leaveraging own SMPP accounts to the
bearerbox SMSC connections.

Stipe

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

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

mailto:st_{at}_tolj.org   mailto:stolj_{at}_kannel.org
- ---
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGK64x9ez0oeKvYs0RAqFrAJ40BZxrwoeyrhHGdklRDZs23TsqHwCfTYRd
2Ycy9mKRwWWtWsfRLkIMqVI=
=2m6s
-END PGP SIGNATURE-



Re: Bearerbox SMSbox communication protocol

2007-04-22 Thread Stipe Tolj
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Akbar Munir wrote:
 Do you know where can i find more information about the API exposed in gwlib?
 I did not find any information in gwlib.h as well as in the documentation.

the is no magic API you need. It's simply a TCP connection and a protocol in
terms of a 2-side defined and negotiated msg PDU format that is used to exchange
msgs and admin commands.

See gw/smsbox.c code to see how smsbox receives and sends messages towards
bearerbox.

Stipe

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

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

mailto:st_{at}_tolj.org   mailto:stolj_{at}_kannel.org
- ---
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGK66n9ez0oeKvYs0RAswMAJ4jg/BE1Y1zqOr4NSTPMUdYG9QzLwCfUZhi
V84CNR2IxpJRI+VK2/6cWV4=
=TT7N
-END PGP SIGNATURE-



Re: DLR error

2007-04-22 Thread Iain Dooley




2007-04-22 16:39:52 [11261] [8] WARNING: DLR[mysql]: DLR for DST(null)
not
found.
2007-04-22 16:39:52 [11261] [8] ERROR: SMPP[modem]: got DLR but could not
find message or was not interested in it id325149513 dst30007511,
type2

why this happened?
I have many DLR messages in queue


either your SMPP server mixes the msg IDs while sending submit_sm_resp PDU and
later the DLR via deliver_sm. See user's guide info on the directive
'msg-id-type', or you have send a previous MT with a nulled source addr and
DLR resolver on Kannel's side can't resolve the DLR information it gets from the
SMSC.

Can you please provide more debug log-level output, also from the sequence of
submitting the SMS and getting the DLR.


ah yeah i remember now. i got this error and added this config variable to 
my smsc group:


msg-id-type = 0x01

as suggested by members of the list, and then tried it with the following 
values:


0x00
0x01
0x10
0x11

until one of them worked :) 0x01 worked for me.

cheers

iain



http smsc with clickatell

2007-04-22 Thread Alvaro Cornejo

Hi All

I'm trying to setup a link to clickatell.

I'tried several configs for the usr/pass/api_id/send-url in the smsc
definition with no success. In most cases I get

2007-04-23 00:13:16 [7378] [11] DEBUG: Octet string dump ends.
2007-04-23 00:13:16 [7378] [7] ERROR: HTTP[2960797]: Message was
malformed or error was returned. SMSC response `ERR: 108, Invalid or
missing api_id'.
2007-04-23 00:13:16 [7378] [7] DEBUG: SMSC[2960797]: creating DLR message
2007-04-23 00:13:16 [7378] [7] DEBUG: SMSC[2960797]: DLR =
http://127.0.0.1/smssend//plugin/gateway/kannel/dlr.php?type=%dslid=243uid=1


as per smsc_http.c it seems that

   Octstr *username;   /* if needed */
   Octstr *password;   /* as said */
   Octstr *system_id;   /* api id for clickatell */

However id I set

smsc-id = XX where XX is the api id for clickatell I still
receiving the api-id error.

this is one of the kannel.conf I using:

# SMSC HTTP CLICKATEL

group = smsc
smsc = http
smsc-id = XX
system-type = clickatell
port = 13015
smsc-username = username
smsc-password = password
send-url = http://api.clickatell.com/http/sendmsg?

what am I missing?

Regards

Alvaro