Re: only bind as receiver?

2012-03-22 Thread Mads N. Vestergaard - CoolSMS A/S
Hi Bjoern,

Yes it is possible.

Set transceiver-mode to false, and specify receive-port

Den 22/03/2012 kl. 19.47 skrev Bjoern Hauffe:

 Hi,
 is it possible that Kannel only bind to SMSC (via SMPP) as a receiver?
 My Problem is that i have only a RX Account.
 Thanks in advance
 Björn



Re: High level of failed messages in Kannel

2011-10-14 Thread Mads N. Vestergaard - CoolSMS A/S
Hi Tebbayo,

I think this is an old bug.

What version of kannel are you using ?

Den 14/10/2011 kl. 18.05 skrev Tebbayo:

 
 I have this Kannel Installation for sending SMS from a web interface (using
 PHP) to SMSC providers via SMPP eg Clickatel, Infobip MACH etc
 It works but I notice that messages fail at random and the number of failed
 messages increases quite quickly.  Resulting in messages not being
 delivered.
 This has been a major Big Big pain for me for a while now. So I enabled
 access logs to see what was going on and this is what I got
 
 2011-09-18 06:36:31 [5091] [11] ERROR: SMPP[Infobip]: got DLR but could not
 find message or was not interested in it id2473931362 dst2348055179232,
 type1
 2011-09-18 06:36:31 [5091] [11] WARNING: DLR[mysql]: DLR from SMSCInfobip
 for DST2348077371729 not found.
 2011-09-18 06:36:31 [5091] [11] ERROR: SMPP[Infobip]: got DLR but could not
 find message or was not interested in it id2474940455 dst2348077371729,
 type2
 2011-09-18 06:36:31 [5091] [11] WARNING: DLR[mysql]: DLR from SMSCInfobip
 for DST2348073197754 not found. 
 2011-09-18 06:36:31 [5091] [11] ERROR: SMPP[Infobip]: got DLR but could not
 find message or was not interested in it id2474395476 dst2348073197754,
 type1
 2011-09-18 06:36:31 [5091] [11] WARNING: DLR[mysql]: DLR from SMSCInfobip
 for DST2348122242914 not found. (Is this because the dlr-url was not
 specified for a message? ,not all messages have DLR URL specified)
 I also get this
 2011-10-12 17:11:30 [12866] [16] WARNING: Cannot find SMSCConn for
 Message to 23480347343, rejected.
 2011-10-12 17:11:30 [12866] [16] WARNING: Message rejected by bearerbox, no
 router!
 And this 
 2011-09-18 08:08:52 [5091] [26] ERROR: MYSQL: You have an error in your SQL
 syntax; check the manual that corresponds to your MySQL server version for
 the right syntax to use near 'DAY!', '+2348066037710', 'sensei',
 'http://myurl.com/deliveryreport.php?ty' at line 1 (I believe this to be a
 script error on that URL but why is Kannel reporting it?  Also, I noticed
 that Delivery reports are not being processed quickly enough so they end up
 queuing up to massive amounts and slowing down services could  that be due
 to this script error? )
 
 This is just part of it. I get A LOT of this. (I have like 200MB of log!) 
 attached is a  screenshot of the http status
 http://old.nabble.com/file/p32652998/Capture.png 
 
 I amount of numbers failure is unusual and I have a feeling it has to do
 with the configuration file. Below this post is a copy of the config file
 .There are 2 SMSCs each one to handle traffic for  particular network prefix
 I did not setup this particular installation of Kannel but now I want to
 setup kannel afresh on a different server and I need to avoid all the
 problems experienced with this setup.
 I would be extremely and enormously grateful if you could look into this for
 me and see what is being done wrong with this installation so I can avoid it
 in the next.
 
 http://old.nabble.com/file/p32652998/smskannel.conf.txt smskannel.conf.txt 
 
 
 -- 
 View this message in context: 
 http://old.nabble.com/High-level-of-failed-messages-in-Kannel-tp32652998p32652998.html
 Sent from the Kannel - User mailing list archive at Nabble.com.
 
 




Re: High level of failed messages in Kannel

2011-10-14 Thread Mads N. Vestergaard - CoolSMS A/S
Thought so….

Try to upgrade ti 1.5.0 it uses prepared statements for MySQL, so if you have 
any special characters in your MySQL INSERT they will be escaped.

Den 14/10/2011 kl. 18.12 skrev Kolawole Dipo:

 I am using version 1.4.3
 
 --- On Fri, 14/10/11, Mads N. Vestergaard - CoolSMS A/S m...@coolsms.com 
 wrote:
 
 From: Mads N. Vestergaard - CoolSMS A/S m...@coolsms.com
 Subject: Re: High level of failed messages in Kannel
 To: Tebbayo dipok...@yahoo.co.uk
 Cc: users@kannel.org
 Date: Friday, 14 October, 2011, 18:09
 
 Hi Tebbayo,
 
 I think this is an old bug.
 
 What version of kannel are you using ?
 
 Den 14/10/2011 kl. 18.05 skrev Tebbayo:
 
  
  I have this Kannel Installation for sending SMS from a web interface (using
  PHP) to SMSC providers via SMPP eg Clickatel, Infobip MACH etc
  It works but I notice that messages fail at random and the number of failed
  messages increases quite quickly.  Resulting in messages not being
  delivered.
  This has been a major Big Big pain for me for a while now. So I enabled
  access logs to see what was going on and this is what I got
  
  2011-09-18 06:36:31 [5091] [11] ERROR: SMPP[Infobip]: got DLR but could not
  find message or was not interested in it id2473931362 dst2348055179232,
  type1
  2011-09-18 06:36:31 [5091] [11] WARNING: DLR[mysql]: DLR from SMSCInfobip
  for DST2348077371729 not found.
  2011-09-18 06:36:31 [5091] [11] ERROR: SMPP[Infobip]: got DLR but could not
  find message or was not interested in it id2474940455 dst2348077371729,
  type2
  2011-09-18 06:36:31 [5091] [11] WARNING: DLR[mysql]: DLR from SMSCInfobip
  for DST2348073197754 not found. 
  2011-09-18 06:36:31 [5091] [11] ERROR: SMPP[Infobip]: got DLR but could not
  find message or was not interested in it id2474395476 dst2348073197754,
  type1
  2011-09-18 06:36:31 [5091] [11] WARNING: DLR[mysql]: DLR from SMSCInfobip
  for DST2348122242914 not found. (Is this because the dlr-url was not
  specified for a message? ,not all messages have DLR URL specified)
  I also get this
  2011-10-12 17:11:30 [12866] [16] WARNING: Cannot find SMSCConn for
  Message to 23480347343, rejected.
  2011-10-12 17:11:30 [12866] [16] WARNING: Message rejected by bearerbox, no
  router!
  And this 
  2011-09-18 08:08:52 [5091] [26] ERROR: MYSQL: You have an error in your SQL
  syntax; check the manual that corresponds to your MySQL server version for
  the right syntax to use near 'DAY!', '+2348066037710', 'sensei',
  'http://myurl.com/deliveryreport.php?ty' at line 1 (I believe this to be a
  script error on that URL but why is Kannel reporting it?  Also, I noticed
  that Delivery reports are not being processed quickly enough so they end up
  queuing up to massive amounts and slowing down services could  that be due
  to this script error? )
  
  This is just part of it. I get A LOT of this. (I have like 200MB of log!) 
  attached is a  screenshot of the http status
  http://old.nabble.com/file/p32652998/Capture.png 
  
  I amount of numbers failure is unusual and I have a feeling it has to do
  with the configuration file. Below this post is a copy of the config file
  .There are 2 SMSCs each one to handle traffic for  particular network prefix
  I did not setup this particular installation of Kannel but now I want to
  setup kannel afresh on a different server and I need to avoid all the
  problems experienced with this setup.
  I would be extremely and enormously grateful if you could look into this for
  me and see what is being done wrong with this installation so I can avoid it
  in the next.
  
  http://old.nabble.com/file/p32652998/smskannel.conf.txt smskannel.conf.txt 
  
  
  -- 
  View this message in context: 
  http://old.nabble.com/High-level-of-failed-messages-in-Kannel-tp32652998p32652998.html
  Sent from the Kannel - User mailing list archive at Nabble.com.
  
  
 



Re: SQLbox, dlr-url and smsbox-route

2011-05-18 Thread Mads N. Vestergaard
Hi Andreas,

Have you tried to use other msg-id-type ?


From the looks a different msgid comes with the DLR than with the submit_sm, so 
this needs to be converted somehow, so it looks for the right msgid in the db.

Kind reards.

Mads.

Den 17/05/2011 kl. 13.37 skrev Andreas Bergman:

 Hi!
 
 I tried doing that, when cheking the bearerlog it looks like this:
 
 It seems to add the DLR
  DLR[internal]: Adding DLR smsc=beepsend, ts=9223372036854775807, 
 src=abergman, dst=46708768300, mask=1, boxc=smsbox
 
 and then some rows down it says:
 
 
 DLR[internal]: Looking for DLR smsc=beepsend, ts=73131305632029382, 
 dst=46708768300, type=1
 2011-05-17 13:33:50 [5398] [6] WARNING: DLR[internal]: DLR from 
 SMSCbeepsend for DST46708768300 not found.
 2011-05-17 13:33:50 [5398] [6] ERROR: SMPP[beepsend]: got DLR but could not 
 find message or was not interested in it id73131305632029382 
 dst46708768300, type1
 
 Any ideas on why?
 
 I changed the start order so that the smsbox is started before the sqlbox, 
 but it didn't make any difference. Should the smsbox be connected to the 
 bearerbox via the sqlbox?
 
 Br
 Andreas
 
 
 
 Från: Πετσούκα Τάνια 
 Till: Andreas Bergman 
 Skickat: tisdag, 17 maj 2011 12:19:40
 Ämne: Re: SQLbox, dlr-url and smsbox-route
 
 
 Furthermore,  don't use the included sqlbox version in  1.5.
 Download latest sqlbox from svn trunk.
  
 (This has nothing to do with your previous problem, but you may come up 
 against other issues with that version)
  
 - Original Message -
 From: Andreas Bergman
 To: users@kannel.org
 Sent: Tuesday, May 17, 2011 12:26 PM
 Subject: SQLbox, dlr-url and smsbox-route
 
 Hi, 
 
 I know that this issue/problem has been discussed before, but i can't get a 
 grip on if it is a feature or a bug.
 
 What i want to achieve:
 * Add msg to send_sms
 * The msg is sent
 * The SMPP module receives the status report
 * The report is sent to the smsbox and the dlr-url invoked.
 
 What is happening:* Add msg to send_sms
 * The msg is sent
 * The SMPP module receives the status report
 * The report is sent to the sqlbox and stored in sent_sms.
 
 My config looks like this:
 
 ===Core, smsbox, smsc (kannel.conf)===
 group = core
 admin-port = 13000
 admin-password = 
 #status-password = 
 #admin-deny-ip = 
 #admin-allow-ip = 
 smsbox-port = 13001
 #wapbox-port = 13002
 box-deny-ip = *.*.*.*
 box-allow-ip = 127.0.0.1
 wdp-interface-name = *
 log-file = /var/log/kannel/bearerbox.log
 log-level = 0
 
 group = smsc
 smsc-id=beepsend
 smsc = smpp
 host = 
 port = 7337
 receive-port = 7337
 transceiver-mode=true
 smsc-username = 
 smsc-password = 
 system-type = VMA
 msg-id-type = 0x01
 address-range = 
 source-addr-npi=1
 source-addr-ton=5group = smsbox
 dest-addr-ton=1
 dest-addr-npi=1
 enquire-link-interval=60s
 
 group = smsbox
 smsbox-id = smsbox
 bearerbox-host = 127.0.0.1
 bearerbox-port = 13001
 log-file = /var/log/kannel/smsbox.log
 sendsms-port = 13013
 
 group = sendsms-user
 username = abergman
 password = 
 
 group = smsbox-route
 smsbox-id = smsbox
 smsc-id =beepsend
 
 SQLBOX===
 group = sqlbox
 id=sqlbox
 smsbox-id = sqlbox
 bearerbox-host = localhost
 bearerbox-port = 13001
 smsbox-port = 13005
 sql-log-table = sent_sms
 sql-insert-table = send_sms
 log-file = /var/log/kannel/sqlbox.log
 log-level = 0
 
 group = mysql-connection
 id = sqlbox
 host = localhost
 username = root
 password = 
 database = kannel
 max-connections = 1
 
 
 The flow looks like this 
 smsbox --- bearerbox --- smsc
 sqlbox 
 
 I'm using kannel 1.5 (devel) and the sqlbox shipped with it, no extra patches.
 
 Is this supposed to work? 
 
 br
 Andreas
 



Re: Silent SMS

2011-05-13 Thread Mads N. Vestergaard
Hi Hamza,

You can send a SMS with  a special PID to generate a silent SMS.

We are adding pid=64 to the HTTP request, to do this.

But please be aware that not all gateways supports this.

Regards,

Mads

Den 13/05/2011 kl. 09.51 skrev ha...@aeon.pk:

 Dear friends,
 
 How to send a silent SMS via kannel? My purpose is to check the status of the 
 mobile (ON/OFF) without bothering the customer by any pop-up/SMS messages.
 
 Regards,
 
 Hamza




Re: Silent SMS

2011-05-13 Thread Mads N. Vestergaard
Hi Hamza,

Either you need to look at dlr-mask as stated in the UG, if you do not get any 
DLRs other than delivered.

If your dlr-mask is correct, you should talk to your gateway provider what DLRs 
they provide.

There is some information about the PID here: 
http://www.dreamfabric.com/sms/pid.html

Den 13/05/2011 kl. 09.59 skrev ha...@aeon.pk:

 Thanks Mads. I already tried this, but the problem that I am facing is that 
 the app needs to read the DLR sent by SMSC. SMSC sends 'DLR=Delivered' if the 
 handset is on. But SMSC does not send any DLR at all if the handset is off or 
 out of coverage. Thats the only issue I am having. Any solution for this?
 
 Also, can I get the table for the all possible values of PID and what can we 
 do playing around with them? Thanks!
 
 
 On Fri, May 13, 2011 at 12:56 PM, Mads N. Vestergaard m...@coolsms.com 
 wrote:
 Hi Hamza,
 
 You can send a SMS with  a special PID to generate a silent SMS.
 
 We are adding pid=64 to the HTTP request, to do this.
 
 But please be aware that not all gateways supports this.
 
 Regards,
 
 Mads
 
 Den 13/05/2011 kl. 09.51 skrev ha...@aeon.pk:
 
  Dear friends,
 
  How to send a silent SMS via kannel? My purpose is to check the status of 
  the mobile (ON/OFF) without bothering the customer by any pop-up/SMS 
  messages.
 
  Regards,
 
  Hamza
 
 



Re: Number of parts sent in access log

2011-01-06 Thread Mads N. Vestergaard – CoolSMS A/S
Hi Jacob,

When sending the messages over HTTP GET, the kannel server will reply Sent. 
or in case it is a multipart message Sent. Message splits: 2

I hope this can help you further, even tough it is not the bearerbox log.

Mads



Den 06/01/2011 kl. 13.51 skrev Jacob Eiler:

 Hi.
 
 When sending concatenated messages, I need to know the number of parts
 sent. It there any way to obtain this information and possibly log it in
 the bearerbox access log?
 
 /Jacob
 
 -- 
 Apide ApS
 Jacob Eiler
 t: 2374 0486
 e: jacob.ei...@apide.com
 w: apide.com
 
 
 




Re: My kannel has suddenly started behaving some unusual due to memoryleak

2010-10-05 Thread Mads N. Vestergaard – CoolSMS A/S
Hi Anshu,

Does it run on a virtual server ?

Den 05/10/2010 kl. 05.23 skrev Anshu Sah:

 Hello sir,
 
 Earlier when my bearerbox has crashed I reinstalled it  it worked good but 
 now again with gateway-svn it crashed .
 
 My Server Is 1 GB RAM with Centos with kannel Latest SVN Trunk. This problem 
 doesn't comes with gateway-1.4.3
 
 I woud like to point out, earlier this application was working good when DLR 
 where not coming, while i tested today with real SMSC  With First DLR it got 
 started behaving like this.
 
 I have also got one of post which has similiar crashing error.
 http://old.nabble.com/Bearerbox-crash-when-using-dlr-tt19430091.html#a19430091
 
 BEARERBOX LOGS 
 
 2010-10-05 08:21:45 [27858] [5] INFO: Client connected from 122.173.111.166 
 2010-10-05 08:24:35 [27858] [12] INFO: Connection closed by the box 
 122.173.111.166
 2010-10-05 08:24:57 [27858] [5] INFO: Client connected from 127.0.0.1 
 2010-10-05 08:28:49 [27858] [8] PANIC: Memory allocation failed
 2010-10-05 08:28:49 [27858] [8] PANIC: System error 12: Cannot allocate memory
 2010-10-05 08:28:49 [27858] [8] PANIC: ./bearerbox(gw_panic+0xc2) [0x80d9d62]
 2010-10-05 08:28:49 [27858] [8] PANIC: ./bearerbox(gw_native_malloc+0x7d) 
 [0x80ce11d]
 2010-10-05 08:28:49 [27858] [8] PANIC: ./bearerbox [0x80cc374]
 2010-10-05 08:28:49 [27858] [8] PANIC: ./bearerbox [0x806368d]
 2010-10-05 08:28:49 [27858] [8] PANIC: ./bearerbox(dlr_find+0x10d) [0x80614bd]
 2010-10-05 08:28:49 [27858] [8] PANIC: ./bearerbox [0x80a25d6]
 2010-10-05 08:28:49 [27858] [8] PANIC: ./bearerbox [0x80a3983]
 2010-10-05 08:28:49 [27858] [8] PANIC: ./bearerbox [0x80a4ce1]
 2010-10-05 08:28:49 [27858] [8] PANIC: ./bearerbox [0x80d02e1]
 2010-10-05 08:28:49 [27858] [8] PANIC: /lib/libpthread.so.0 [0xb7d9a832]
 2010-10-05 08:28:49 [27858] [8] PANIC: /lib/libc.so.6(clone+0x5e) [0xb7a56e0e]
 
 
 SMSBOX LOG
 
 2010-10-05 08:20:00 [32344] [0] INFO: Connected to bearerbox at 127.0.0.1 
 port 11010.
 2010-10-05 08:20:18 [32344] [3] INFO: smsbox: Got HTTP request 
 /cgi-bin/sendsms from 122.173.111.166
 2010-10-05 08:20:18 [32344] [3] INFO: sendsms used by kannel
 2010-10-05 08:20:18 [32344] [3] INFO: sendsms sender:kannel:121 
 (122.173.111.166) to:919781114229 msg:Hi Testing Kannel
 2010-10-05 08:20:18 [32344] [4] INFO: Starting delivery report kannel from 
 121
 2010-10-05 08:20:40 [32344] [3] INFO: smsbox: Got HTTP request 
 /cgi-bin/sendsms from 122.173.111.166
 2010-10-05 08:20:40 [32344] [3] INFO: sendsms used by kannel
 2010-10-05 08:20:40 [32344] [3] INFO: sendsms sender:kannel:121 
 (122.173.111.166) to:919781114229 msg:Hi Testing Kannel
 2010-10-05 08:20:40 [32344] [4] INFO: Starting delivery report kannel from 
 121
 2010-10-05 08:28:49 [32344] [0] ERROR: Connection closed by the bearerbox.
 2010-10-05 08:28:49 [32344] [0] INFO: Received (and handled?) 2 requests in 
 511 seconds (0.00 per second)
 2010-10-05 08:28:49 [32344] [0] INFO: Kannel smsbox terminating.
 
 
 SQLBOX LOG
 
 2010-10-05 08:24:57 [18079] [0] INFO: MYSQL: Connected to server at localhost.
 2010-10-05 08:24:57 [18079] [0] INFO: MYSQL: server version 5.0.77, client 
 version 5.0.77.
 2010-10-05 08:24:57 [18079] [1] INFO: Connected to bearerbox at localhost 
 port 11010.
 2010-10-05 08:28:49 [18079] [2] ERROR: Connection closed by the bearerbox.
 
 
 
 Regards
 Anshu Sah
 
 
 
 2010/9/21 Nikos Balkanas nbalka...@gmail.com
 Hi,
 
 This is not a memory leak. Seems like a problem with your libc. What is your 
 server's RAM? If you run Linux, can you post the output of free when having 
 problem? Otherwise something similar from your OS. What is your OS?
 
 BR,
 Nikos
 - Original Message - From: Anshu Sah
 To: users
 Sent: Tuesday, September 21, 2010 7:33 AM
 Subject: My kannel has suddenly started behaving some unusual due to 
 memoryleak
 
 
 
 Hi,
 
 My kannel has suddenly started behaving some unusual due to memory leak.
 Logs are below.
 
 
 2010-09-20 22:27:04 [28316] [0] DEBUG: Started thread 6 
 (gw/smsc/smsc_smpp.c:io_thread)
 2010-09-20 22:27:04 [28316] [0] DEBUG: Started thread 7 
 (gw/bb_smscconn.c:sms_router)
 2010-09-20 22:27:04 [28316] [0] INFO: 
 2010-09-20 22:27:04 [28316] [0] INFO: Kannel bearerbox II version svn-r4838 
 starting
 2010-09-20 22:27:04 [28316] [0] INFO: MAIN: Start-up done, entering mainloop
 2010-09-20 22:27:04 [28316] [6] DEBUG: Thread 6 
 (gw/smsc/smsc_smpp.c:io_thread) maps to pid 28316.
 2010-09-20 22:27:04 [28316] [6] INFO: Logging thread `6' to logfile 
 `/projects/kannel/logs/BSNLMultiple.log' with level `0'.
 2010-09-20 22:27:04 [28316] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router) 
 maps to pid 28316.
 2010-09-20 22:27:07 [28316] [6] PANIC: Memory allocation failed
 2010-09-20 22:27:07 [28316] [6] PANIC: System error 12: Cannot allocate memory
 2010-09-20 22:27:07 [28316] [6] PANIC: ./bearerbox(gw_panic+0xc2) [0x80d9a92]
 2010-09-20 22:27:07 [28316] [6] PANIC: ./bearerbox(gw_native_malloc+0x7d) 
 

Re: Arabic Language Code

2010-09-21 Thread Mads N. Vestergaard – CoolSMS A/S
Hi Anas,

I believe logs, and what you actually tried to do (perhaps the URI you called)

Would be appreciated.

Den 21/09/2010 kl. 14.51 skrev Anas Alnaffar:

 Dears,
  
 When I’m trying to send and receive Arabic characters to kannel SVN, not 
 working, I received rubbish.
  
  
 Any help
  
 Thanks
 Anas  



Re: Invalid DRL Couldnot parse DLR string sscanf way, fallback to old way. Please report!

2010-09-17 Thread Mads N. Vestergaard – CoolSMS A/S
Hi Jarratt,

For me it looks like your provider isn't following the official protocol.

If we look at the message you are sending, they give it the msgid 31D44D55:

 2010-09-17 10:26:34 [16954] [12] DEBUG:   message_id: 31D44D55

Later on you receive the DLR, but the ID is only given in the message_payload:

 2010-09-17 10:26:37 [16954] [13] DEBUG:   message_payload: 31D44D55 201

And after the msgid, thay have, what for me looks like a return code: 201

This is out of standard, you provider might be able to solve this for you, if 
not you might need to create a patch for kannel, to support your provider.

If you mention what provider, somebody else on the list, might have further 
info for you, if they have been in the same situation.

Den 17/09/2010 kl. 10.31 skrev Jarratt Ingram:

 Hi Guys,
 
 We have just connected to a Namibian Provider, We are sending message's 
 correctly however we are getting the following error Couldnot parse DLR 
 string sscanf way,fallback to old way. Please report!, any ideas on how to 
 process the DLR correctly
 
 Below is the full debug
 2010-09-17 10:26:34 [16954] [12] DEBUG: SMPP[30]: throughput (1.00,5.00)
 2010-09-17 10:26:34 [16954] [12] DEBUG: SMPP[30]: Got PDU:
 2010-09-17 10:26:34 [16954] [12] DEBUG: SMPP PDU 0x7fd8a8002650 dump:
 2010-09-17 10:26:34 [16954] [12] DEBUG:   type_name: submit_sm_resp
 2010-09-17 10:26:34 [16954] [12] DEBUG:   command_id: 2147483652 = 0x8004
 2010-09-17 10:26:34 [16954] [12] DEBUG:   command_status: 0 = 0x
 2010-09-17 10:26:34 [16954] [12] DEBUG:   sequence_number: 87 = 0x0057
 2010-09-17 10:26:34 [16954] [12] DEBUG:   message_id: 31D44D55
 2010-09-17 10:26:34 [16954] [12] DEBUG: SMPP PDU dump ends.
 2010-09-17 10:26:34 [16954] [12] DEBUG: DLR[mysql]: Adding DLR smsc=30, 
 ts=835997013, src=081011, dst=264811229233, mask=1, boxc=
 2010-09-17 10:26:34 [16954] [12] DEBUG: adding DLR entry into database
 2010-09-17 10:26:34 [16954] [12] DEBUG: sql: INSERT INTO `dlr` (`smsc`, `ts`, 
 `source`, `destination`, `service`, `url`, `mask`, `boxc`, `status`) VALUES 
 (?, ?, ?, ?, ?, ?, ?, ?, 0)
 2010-09-17 10:26:34 [16954] [12] DEBUG: SMPP[30]: throughput (1.00,5.00)
 2010-09-17 10:26:37 [16954] [13] DEBUG: Optional parameter tag (0x0424)
 2010-09-17 10:26:37 [16954] [13] DEBUG: Optional parameter length read as 12
 2010-09-17 10:26:37 [16954] [13] DEBUG: SMPP[30]: Got PDU:
 2010-09-17 10:26:37 [16954] [13] DEBUG: SMPP PDU 0x7fd89c001520 dump:
 2010-09-17 10:26:37 [16954] [13] DEBUG:   type_name: data_sm
 2010-09-17 10:26:37 [16954] [13] DEBUG:   command_id: 259 = 0x0103
 2010-09-17 10:26:37 [16954] [13] DEBUG:   command_status: 0 = 0x
 2010-09-17 10:26:37 [16954] [13] DEBUG:   sequence_number: 19 = 0x0013
 2010-09-17 10:26:37 [16954] [13] DEBUG:   service_type: NULL
 2010-09-17 10:26:37 [16954] [13] DEBUG:   source_addr_ton: 1 = 0x0001
 2010-09-17 10:26:37 [16954] [13] DEBUG:   source_addr_npi: 1 = 0x0001
 2010-09-17 10:26:37 [16954] [13] DEBUG:   source_addr: 264811229233
 2010-09-17 10:26:37 [16954] [13] DEBUG:   dest_addr_ton: 2 = 0x0002
 2010-09-17 10:26:37 [16954] [13] DEBUG:   dest_addr_npi: 1 = 0x0001
 2010-09-17 10:26:37 [16954] [13] DEBUG:   destination_addr: 081011
 2010-09-17 10:26:37 [16954] [13] DEBUG:   esm_class: 4 = 0x0004
 2010-09-17 10:26:37 [16954] [13] DEBUG:   registered_delivery: 0 = 0x
 2010-09-17 10:26:37 [16954] [13] DEBUG:   data_coding: 0 = 0x
 2010-09-17 10:26:37 [16954] [13] DEBUG:   message_payload: 31D44D55 201
 2010-09-17 10:26:37 [16954] [13] DEBUG: SMPP PDU dump ends.
 2010-09-17 10:26:37 [16954] [13] DEBUG: SMPP[30] handle_pdu, got DLR
 2010-09-17 10:26:37 [16954] [13] DEBUG: SMPP[30]: Couldnot parse DLR string 
 sscanf way,fallback to old way. Please report!
 2010-09-17 10:26:37 [16954] [13] ERROR: SMPP[30]: got DLR but could not find 
 message or was not interested in it id dst264811229233, type2
 2010-09-17 10:26:37 [16954] [13] DEBUG: SMPP[30]: Sending PDU:
 2010-09-17 10:26:37 [16954] [13] DEBUG: SMPP PDU 0x7fd89c0057a0 dump:
 2010-09-17 10:26:37 [16954] [13] DEBUG:   type_name: data_sm_resp
 2010-09-17 10:26:37 [16954] [13] DEBUG:   command_id: 2147483907 = 0x8103
 2010-09-17 10:26:37 [16954] [13] DEBUG:   command_status: 0 = 0x
 2010-09-17 10:26:37 [16954] [13] DEBUG:   sequence_number: 19 = 0x0013
 2010-09-17 10:26:37 [16954] [13] DEBUG:   message_id: NULL
 2010-09-17 10:26:37 [16954] [13] DEBUG: SMPP PDU dump ends.
 
 Regards
 Jarratt
 




Re: Using Kannel to send Flash SMS

2010-09-10 Thread Mads N. Vestergaard – CoolSMS A/S

Hi Alex,

In most cases the phone doesn't give you the option to save it, but  
some phones allows a user to save the message.

Den 10/09/2010 kl. 16.53 skrev Alex:


Hi Kannel team,
I am sending flash sms' using the mclass parameter. However i want  
to send the sms such that when the user receives it it has a prompt  
for them to reply. In short I want them to reply the sms and not  
save it. currently the prompt is to save it or discard. Is this  
possible






--
Best regards,
Alex





Re: Using Kannel to send Flash SMS

2010-09-10 Thread Mads N. Vestergaard – CoolSMS A/S

Hi Alex,

Please keep replies n list (Just use the Reply To all).

Regarding your question; not to my knowledge.
Den 10/09/2010 kl. 17.11 skrev Alex:


Thanks Mads

Can I send an OTA with the message  to prompt a reply?  I do not  
want to save the msg, I want to prompt a reply such that the user  
presses a button on his phone and immediately types the reply the  
way USSD works.


On 10 September 2010 18:05, Mads N. Vestergaard – CoolSMS A/S m...@coolsms.com 
 wrote:

Hi Alex,

In most cases the phone doesn't give you the option to save it, but  
some phones allows a user to save the message.

Den 10/09/2010 kl. 16.53 skrev Alex:


Hi Kannel team,
I am sending flash sms' using the mclass parameter. However i want  
to send the sms such that when the user receives it it has a prompt  
for them to reply. In short I want them to reply the sms and not  
save it. currently the prompt is to save it or discard. Is this  
possible






--
Best regards,
Alex






--
Best regards,
Alex





Re: Gateway providers

2010-05-25 Thread Mads N. Vestergaard – CoolSMS A/S

Hej Barry,

You could use the commercial list: 
http://www.kannel.org/mailman/listinfo/commercial

Br. Mads

Den 25/05/2010 kl. 00.38 skrev Barry Murphy:


Hi,

Not sure if this is appropriate to post to this list but seeing as  
many

people here would more than likely have SMSC connections or do similar
services to that of what I provide I thought I'd give it a go.

Does anyone on this list offer cheap txt'ing to country New Zealand  
(+64),
if so, can you please reply to me offlist. I currently have an  
upstream
provider providing me txt's at 1.3euro cents but require a secondary  
link

incase anything were to happen.

Please keep replies offlist.

Thanks
Barry Murphy






Re: hide number

2009-11-03 Thread Mads N. Vestergaard – CoolSMS A/S

Hi Adolfo,

This is depending on the SMSC you are connected to.

Some (most) SMSCs allows you to set the senderid yourself. But some  
SMSCs have restrictions that limits the senderid, to perhaps a  
shortcode ?


If you are using a modem, this isn't possible.

..
Med venlig hilsen / Best Regards
Mads N. Vestergaard
Teknisk chef / CTO CoolSMS A/S

www.coolsms.com

Den 03/11/2009 kl. 08.54 skrev adolfo feria:



Is it posible to send a sms without show my number in sms details  
and show a name in this place?

--
saludos
Adolfo Feria






registered_delivery: bit 5

2009-04-08 Thread Mads N. Vestergaard

Hi There,

We have a supplier which is demanding us to set the Intermediate  
Notification bit (bit no. 5), in order to get intermediate notification.


Have anyone ever tried this before, and how did you get it to work.

As far as I can see, registered_delivery is set in: gw/smsc/ 
smsc_smpp.c (pdu-u.submit_sm.registered_delivery), but how do we get  
it to set the 5th bit ?


If anyone can help here, I will appreciate it.

..
Med venlig hilsen / Best Regards
Mads N. Vestergaard



Re: flash sms

2009-02-23 Thread Mads N. Vestergaard

Hi Narenda,

You already sent one message regarding this ?

If you had spent some time looking in the manual, you would have found  
this:


Hvae a look at the parameter mclass

Parameter mclass -  Optional. Sets the Message Class in DCS field.  
Accepts values between 0 and 3, for Message Class 0 to 3, A value of 0  
sends the message directly to display, 1 sends to mobile, 2 to SIM and  
3 to SIM toolkit.


..
Med venlig hilsen / Best Regards
Mads N. Vestergaard
Teknisk ansvarlig / CTO CoolSMS

www.coolsms.com
Phone:  +45 7026 1272
Fax:+45 7630 1046
Mobile: +45 4270 1272
This email and any files transmitted with it are confidential and  
intended solely for the use of the individual or entity to whom they  
are addressed. If you have received this email in error please notify  
the system manager. This message contains confidential information and  
is intended only for the individual named. If you are not the named  
addressee you should not disseminate, distribute or copy this e-mail.  
Please notify the sender immediately by e-mail if you have received  
this e-mail by mistake and delete this e-mail from your system. If you  
are not the intended recipient you are notified that disclosing,  
copying, distributing or taking any action in reliance on the contents  
of this information is strictly prohibited.



Den 23/02/2009 kl. 13.00 skrev narendra reddy:


Hi,
 How we  can send a flash messages to SMPPSim from ESME.

   i tried like this to submit a message to the simulator .is it   
correct way to approach  a flash sms.

http://localhost:13005/cgi-bin/sendsms?username=pyropassword=pyrofrom=to=91971236987text=Test
charset=UTF-16BEmclass=0coding=1pid=0dlr-mask=31



--
Best Regards,






Re: Using kannel as smpp server

2009-02-16 Thread Mads N. Vestergaard

Hi Kriko,

Not as it is.

There is a commercial plugin called smppbox, as far as I recall.

You might want to talk to Stipe Tolj, about this.

..
Med venlig hilsen / Best Regards
Mads N. Vestergaard
Teknisk ansvarlig / CTO CoolSMS

www.coolsms.com
Phone:  +45 7026 1272
Fax:+45 7630 1046
Mobile: +45 4270 1272
This email and any files transmitted with it are confidential and  
intended solely for the use of the individual or entity to whom they  
are addressed. If you have received this email in error please notify  
the system manager. This message contains confidential information and  
is intended only for the individual named. If you are not the named  
addressee you should not disseminate, distribute or copy this e-mail.  
Please notify the sender immediately by e-mail if you have received  
this e-mail by mistake and delete this e-mail from your system. If you  
are not the intended recipient you are notified that disclosing,  
copying, distributing or taking any action in reliance on the contents  
of this information is strictly prohibited.



Den 16/02/2009 kl. 15.24 skrev kriko:


Hello!

I've setup kannel with one smsc (at).
Would it be possible to set it also as an smpp server?

--
kriko








Re: regarding mysql database

2009-02-13 Thread Mads N. Vestergaard

Hi Narenda,

Please use the list for these questions.

Please also provide the logs, are you even sure if kannel is connected  
to the MySQL database ?



..
Med venlig hilsen / Best Regards
Mads N. Vestergaard
Teknisk ansvarlig / CTO CoolSMS

www.coolsms.com
Phone:  +45 7026 1272
Fax:+45 7630 1046
Mobile: +45 4270 1272
This email and any files transmitted with it are confidential and  
intended solely for the use of the individual or entity to whom they  
are addressed. If you have received this email in error please notify  
the system manager. This message contains confidential information and  
is intended only for the individual named. If you are not the named  
addressee you should not disseminate, distribute or copy this e-mail.  
Please notify the sender immediately by e-mail if you have received  
this e-mail by mistake and delete this e-mail from your system. If you  
are not the intended recipient you are notified that disclosing,  
copying, distributing or taking any action in reliance on the contents  
of this information is strictly prohibited.



Den 13/02/2009 kl. 10.28 skrev narendra reddy:




Hi sir,
   I am getting your mail id in the list. i have  some  
doubts Regarding mysql database tables.


I am using mysql database for delivery reports for my  
application. but the messages are not inserted in to the  
tables .please help me  regarding in this issue.
   i am strucking with this issuse from so many  
days.today my last date to complete this issue.my config file  is  
pasted below.



group = core
admin-port = 13000
admin-password = bar
log-file = log/bearer.log
log-level = 0
access-log = log/beareraccess.log
smsbox-port = 13003
store-file = log/kannelqueue.log^M
dlr-storage=mysql
^M
# SMSC SMPP^M
group = smsc^M
smsc =  smpp^M
smsc-id =SMPPSim
host = localhost
port = 2775^M
transceiver-mode=1
log-file = log/kannel.log^M
alt-dcs = true^M
smsc-username =smppclient
smsc-password = password
system-type = VMS^M
address-range =
source-addr-ton = 1^M
source-addr-npi = 1^M
dest-addr-ton = 1^M
dest-addr-npi = 1^M
msg-id-type = 0x01^M
throughput = 50^M
max-pending-submits = 10^M
enquire-link-interval= 60^M
^M
# SMSBOX SETUP^M
group = smsbox^M
bearerbox-host = localhost ^M
sendsms-port = 13001^M
log-file = log/smsbox.log^M
log-level = 0^M
access-log = log/smsboxaccess.log^M
^M
# SEND-SMS USERS^M
group = sendsms-user^M
username =pyro
password = pyro
max-messages = 5^M
concatenation = true

#SMS-Service
group = sms-service
keyword = default
text = Reply from ESME^M


group = mysql-connection
id = mydlr
host =172.22.25.173
username = esme
password = esme
database =esme
max-connections = 1

group =dlr-db
id =mydlr
table = dlr
field-smsc = smsc
field-timestamp = ts
field-destination =destination
field-source = source
field-service =service
field-url = url
field-mask =delivered
field-status = status
field-boxc-id = mysmsc

  please help me where i am doing mistake.for delivery  
reports in source code we have to do any changes in the  in the  
whole code source code.This one exactly i dont no .


   but i added the config file as above  
and after i run the bearerbox and smsbox  in the shell.its not give  
any error .but the deliver reports are not inserted in tables.   
right now i am using SMPP protocol and i am testing with  
SMPPSimulator.

Give me the  reply for this one  ASAP.

 Thanking you in Advance.



Best Regards,
Narendra .




,






Messages not being forwarded

2009-02-12 Thread Mads N. Vestergaard

Hi There,

We have just compiled 1.4.3 from source.

We are trying to received messages from a Siemens MC35, and it seems  
to work fine:


2009-02-12 19:24:41 [2695] [6] DEBUG: AT2[4550503111]: --  
07916437109901F0240A9154240721279020219142734004D4F29C0E
2009-02-12 19:24:41 [2695] [6] DEBUG: AT2[4550503111]: received  
message from SMSC: +
2009-02-12 19:24:41 [2695] [6] DEBUG: AT2[4550503111]: Numeric sender  
(international) +
2009-02-12 19:24:41 [2695] [6] DEBUG: AT2[4550503111]: User data  
length read as (4)
2009-02-12 19:24:41 [2695] [6] DEBUG: AT2[4550503111]: Udh decoding  
done len=4 udhi=0 udhlen=0 udh=''


But it is never being forwarded to the url.

my sms-service config:

group = sms-service
keyword = default
get-url = http://hostname.dk/service?sender=%ptext=%r;
accept-x-kannel-headers = true
max-messages = 3
concatenation = true

In the log I can see:
2009-02-12 19:31:25 [4557] [15] DEBUG: Dumping 14 messages to store


What could be causing these issues ?



..
Med venlig hilsen / Best Regards
Mads N. Vestergaard
Teknisk ansvarlig / CTO CoolSMS

www.coolsms.com
Phone:  +45 7026 1272
Fax:+45 7630 1046
Mobile: +45 4270 1272
This email and any files transmitted with it are confidential and  
intended solely for the use of the individual or entity to whom they  
are addressed. If you have received this email in error please notify  
the system manager. This message contains confidential information and  
is intended only for the individual named. If you are not the named  
addressee you should not disseminate, distribute or copy this e-mail.  
Please notify the sender immediately by e-mail if you have received  
this e-mail by mistake and delete this e-mail from your system. If you  
are not the intended recipient you are notified that disclosing,  
copying, distributing or taking any action in reliance on the contents  
of this information is strictly prohibited.





Re: Messages not being forwarded

2009-02-12 Thread Mads N. Vestergaard

Hi Nikos,

catch-all is set to true:

group = sms-service
catch-all = true
keyword = default
get-url = http://hostname.dk/?sender=%ptext=%r;
accept-x-kannel-headers = true
max-messages = 3
concatenation = true

Log:

== /var/log/kannel/4550503111.log ==
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- 
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- +CMGS: 1
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- OK
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: send command  
status: 0

2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- +CMT: ,22
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: --  
06915404939099040A9154050513119020210242354004D4F29C0E
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: received  
message from SMSC: +xx
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: Numeric sender  
(international) +XX
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: User data  
length read as (4)
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: Udh decoding  
done len=4 udhi=0 udhlen=0 udh=''

2009-02-12 20:24:54 [10740] [6] WARNING: smsbox_list empty!
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- AT+CNMA^M
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- OK
2009-02-12 20:24:58 [10740] [6] DEBUG: AT2[4550503111]: -- AT^M
2009-02-12 20:24:58 [10740] [6] DEBUG: AT2[4550503111]: -- OK
2009-02-12 20:25:02 [10740] [6] DEBUG: AT2[4550503111]: -- AT^M
2009-02-12 20:25:02 [10740] [6] DEBUG: AT2[4550503111]: -- OK

== /var/log/kannel/bearerbox.log ==
2009-02-12 20:25:03 [10740] [15] DEBUG: Dumping 19 messages to store

I did send the message Test to the modem

Still nothing happens.

Nothing is beeing wrote to the smsbox.log


..
Med venlig hilsen / Best Regards
Mads N. Vestergaard
Teknisk ansvarlig / CTO CoolSMS

www.coolsms.com
Phone:  +45 7026 1272
Fax:+45 7630 1046
Mobile: +45 4270 1272
This email and any files transmitted with it are confidential and  
intended solely for the use of the individual or entity to whom they  
are addressed. If you have received this email in error please notify  
the system manager. This message contains confidential information and  
is intended only for the individual named. If you are not the named  
addressee you should not disseminate, distribute or copy this e-mail.  
Please notify the sender immediately by e-mail if you have received  
this e-mail by mistake and delete this e-mail from your system. If you  
are not the intended recipient you are notified that disclosing,  
copying, distributing or taking any action in reliance on the contents  
of this information is strictly prohibited.



Den 12/02/2009 kl. 19.57 skrev Nikos Balkanas:


Hi,

Try catch-all = true in your sms-service. If this doesn't work  
please post the message you are trying to send and detailed smsbox  
logs.


BR,
Nikos
- Original Message -
From: Mads N. Vestergaard
To: Kannel Users
Sent: Thursday, February 12, 2009 8:33 PM
Subject: Messages not being forwarded

Hi There,

We have just compiled 1.4.3 from source.

We are trying to received messages from a Siemens MC35, and it seems  
towork fine:


2009-02-12 19:24:41 [2695] [6] DEBUG: AT2[4550503111]: --  
07916437109901F0240A9154240721279020219142734004D4F29C0E
2009-02-12 19:24:41 [2695] [6] DEBUG: AT2[4550503111]: received  
message from SMSC: +
2009-02-12 19:24:41 [2695] [6] DEBUG: AT2[4550503111]: Numeric  
sender (international) +
2009-02-12 19:24:41 [2695] [6] DEBUG: AT2[4550503111]: User data  
length read as (4)
2009-02-12 19:24:41 [2695] [6] DEBUG: AT2[4550503111]: Udh decoding  
done len=4 udhi=0 udhlen=0 udh=''


But it is never being forwarded to the url.

my sms-service config:

group = sms-service
keyword = default
get-url = http://hostname.dk/service?sender=%ptext=%r;
accept-x-kannel-headers = true
max-messages = 3
concatenation = true

In the log I can see:
2009-02-12 19:31:25 [4557] [15] DEBUG: Dumping 14 messages to store


What could be causing these issues ?



..
Med venlig hilsen / Best Regards
Mads N. Vestergaard
Teknisk ansvarlig / CTO CoolSMS

www.coolsms.com
Phone:  +45 7026 1272
Fax:+45 7630 1046
Mobile: +45 4270 1272
This email and any files transmitted with it are confidential and  
intended solely for the use of the individual or entity to whom they  
are addressed. If you have received this email in error please  
notify the system manager. This message contains confidential  
information and is intended only for the individual named. If you  
are not the named addressee you should not disseminate, distribute  
or copy this e-mail. Please notify the sender immediately by e-mail  
if you have received this e-mail by mistake and delete this e-mail  
from your system. If you are not the intended recipient you are  
notified that disclosing, copying, distributing or taking any action  
in reliance

Re: Messages not being forwarded

2009-02-12 Thread Mads N. Vestergaard

Hi Nikos,

For the record, the full config, including smsbox definition:

group = core
admin-port = 13000
admin-password = xx
status-password = xx
admin-deny-ip = *.*.*.*
admin-allow-ip = 127.0.0.1;xx.xx.xx.xx
smsbox-port = 13001
wapbox-port = 13002
wdp-interface-name = *
log-file = /var/log/kannel/bearerbox.log
log-level = 0
box-deny-ip = *.*.*.*
box-allow-ip = 127.0.0.1;xx.xx.xx.xx
dlr-storage = mysql
store-file = /var/lib/kannel/store
sms-resend-freq = 60
sms-resend-retry = 10

group = wapbox
bearerbox-host = localhost
log-file = /var/log/kannel/wapbox.log

group = smsbox
smsbox-id = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13003
log-file = /var/log/kannel/smsbox.log
access-log = /var/log/kannel/access.log
immediate-sendsms-reply = true
reply-emptymessage = 

group = mysql-connection
id = dlrdb
host = dbserver
username = dbuser
password = dbpass
database = db
max-connections = 1

group = dlr-db
id = dlrdb
table = kannel_dlr_modem
field-smsc = smsc
field-timestamp = ts
field-source = `from`
field-destination = `to`
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc


# SMSCs
group = smsc
smsc = at
smsc-id = 4550503111
allowed-smsc-id = 4550503111
device = telnet
modemtype = mc35
host = 192.168.1.241
port = 7014
my-number = 4550503111
preferred-smsc-id = MC35
keepalive = 2
alt-dcs = 1
log-file = /var/log/kannel/4550503111.log
log-level = 0

# MODEM Configuration
group = modems
id = mc35
name = mc35
detect-string = SIEMENS
detect-string2 = MC35
init-string = AT+CNMI=3,2,0,1,1
enable-hwhs = AT\\Q3
need-sleep = true
speed = 57600

# Default SMS Service
group = sms-service
catch-all = true
keyword = default
get-url = http://hostname.dk/?sender=%ptext=%r;
accept-x-kannel-headers = true
max-messages = 3
concatenation = true
accepted-smsc   = 4550503111


# user
group = sendsms-user
username = user
password = password
concatenation = true
max-messages = 10


..
Med venlig hilsen / Best Regards
Mads N. Vestergaard
Teknisk ansvarlig / CTO CoolSMS

www.coolsms.com
Phone:  +45 7026 1272
Fax:+45 7630 1046
Mobile: +45 4270 1272
This email and any files transmitted with it are confidential and  
intended solely for the use of the individual or entity to whom they  
are addressed. If you have received this email in error please notify  
the system manager. This message contains confidential information and  
is intended only for the individual named. If you are not the named  
addressee you should not disseminate, distribute or copy this e-mail.  
Please notify the sender immediately by e-mail if you have received  
this e-mail by mistake and delete this e-mail from your system. If you  
are not the intended recipient you are notified that disclosing,  
copying, distributing or taking any action in reliance on the contents  
of this information is strictly prohibited.



Den 12/02/2009 kl. 21.43 skrev Nikos Balkanas:


Hi,

Logs tell your story. It seems that you have not defined an smsbox  
in your configuration. Therefore, no routing to your sms-service and  
no smsbox-logs.


BR,
Nikos
- Original Message -
From: Mads N. Vestergaard
To: Kannel Users
Sent: Thursday, February 12, 2009 9:26 PM
Subject: Re: Messages not being forwarded

Hi Nikos,

catch-all is set to true:

group = sms-service
catch-all = true
keyword = default
get-url = http://hostname.dk/?sender=%ptext=%r;
accept-x-kannel-headers = true
max-messages = 3
concatenation = true

Log:

== /var/log/kannel/4550503111.log ==
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- 
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- +CMGS: 1
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- OK
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: send command  
status: 0

2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- +CMT: ,22
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: --  
06915404939099040A9154050513119020210242354004D4F29C0E
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: received  
message from SMSC: +xx
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: Numeric  
sender (international) +XX
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: User data  
length read as (4)
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: Udh decoding  
done len=4 udhi=0 udhlen=0 udh=''

2009-02-12 20:24:54 [10740] [6] WARNING: smsbox_list empty!
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- AT+CNMA^M
2009-02-12 20:24:54 [10740] [6] DEBUG: AT2[4550503111]: -- OK
2009-02-12 20:24:58 [10740] [6] DEBUG: AT2[4550503111]: -- AT^M
2009-02-12 20:24:58 [10740] [6] DEBUG: AT2[4550503111]: -- OK
2009-02-12 20:25:02 [10740] [6] DEBUG: AT2[4550503111]: -- AT^M
2009-02-12 20:25:02 [10740] [6] DEBUG: AT2[4550503111]: -- OK

== /var/log/kannel/bearerbox.log ==
2009-02-12 20:25:03 [10740] [15] DEBUG: Dumping 19 messages to store

I did send the message Test to the modem

Still

Set Intermediate Notification bit

2008-09-03 Thread Mads N. Vestergaard

Hi There,

One of our providers(SMPP), requires us to set the intermediate  
notification bit, in order to receive buffered notifications, sucs as  
absent subscriper, etc.


As far as I go through the documentation it doesn't give the  
possibility to do so.


Do we really need to patch kannel in order to do this ?


..
Med venlig hilsen / Best Regards

Mads N. Vestergaard
Teknisk ansvarlig / CTO CoolSMS

www.coolsms.com
Phone:  +45 7026 1272
Fax:+45 7630 1046
Mobile: +45 4270 1272
This email and any files transmitted with it are confidential and  
intended solely for the use of the individual or entity to whom they  
are addressed. If you have received this email in error please notify  
the system manager. This message contains confidential information and  
is intended only for the individual named. If you are not the named  
addressee you should not disseminate, distribute or copy this e-mail.  
Please notify the sender immediately by e-mail if you have received  
this e-mail by mistake and delete this e-mail from your system. If you  
are not the intended recipient you are notified that disclosing,  
copying, distributing or taking any action in reliance on the contents  
of this information is strictly prohibited.





Re: Wap push

2008-08-27 Thread Mads N. Vestergaard

Hi Christian,

You need to send the User Data Header and the message as binary.

There is some further information and an exampel here, 
http://dev.sellingsource.com/2006/12/07/sending-wap-push-messages-with-kannel-php/

For more information about how to build a wap push message, you  
should look at the GSM specifications.


..
Med venlig hilsen / Best Regards

Mads N. Vestergaard
Teknisk ansvarlig / CTO CoolSMS

www.coolsms.com
Phone:  +45 7026 1272
Fax:+45 7630 1046
Mobile: +45 4270 1272
This email and any files transmitted with it are confidential and  
intended solely for the use of the individual or entity to whom they  
are addressed. If you have received this email in error please notify  
the system manager. This message contains confidential information and  
is intended only for the individual named. If you are not the named  
addressee you should not disseminate, distribute or copy this e-mail.  
Please notify the sender immediately by e-mail if you have received  
this e-mail by mistake and delete this e-mail from your system. If you  
are not the intended recipient you are notified that disclosing,  
copying, distributing or taking any action in reliance on the contents  
of this information is strictly prohibited.



Den 27/08/2008 kl. 17.29 skrev Christian Jensen:


Hi,

I have a client that wants to do a simple URL + Title wap push  
(bookmark i think it is called)


Anyone know the simplest way to hit the HTTP interface of kannel?

Is this documented somewhere?

Thanks!
Christian




sms-service not triggered.

2008-08-15 Thread Mads N. Vestergaard

Hi There,

We have a Nokia 30 connected to kannel.

Our config for the modem is the following:

# Hosted GSM - 45
group = smsc
smsc = at
modemtype = Nokia
device = rawtcp
host = xx.xx.xx.xx
port = 
smsc-id = 45
allowed-smsc-id = 45
log-file = /var/log/kannel/45.log
keepalive = 10
sim-buffering = true

group = modems
id = Nokia
name = Nokia

Furthermore we have the following configured for sms-service

# SMS Service
group = sms-service
keyword =
keyword-regex = .*
catch-all = yes
max-messages = 0
get-url = http://host/sms.php?phone=%ptext=%a;

group = sms-service
keyword = default
text = No service specified

But the sms service is never triggered.

The messaging is received fine by the modem, and into kannel aswell.

I can see they are in the message store file.

How come the sms-service isn't triggered.

..
Med venlig hilsen / Best Regards

Mads N. Vestergaard
Teknisk ansvarlig / CTO CoolSMS

www.coolsms.com
Phone:  +45 7026 1272
Fax:+45 7630 1046
Mobile: +45 4270 1272
This email and any files transmitted with it are confidential and  
intended solely for the use of the individual or entity to whom they  
are addressed. If you have received this email in error please notify  
the system manager. This message contains confidential information and  
is intended only for the individual named. If you are not the named  
addressee you should not disseminate, distribute or copy this e-mail.  
Please notify the sender immediately by e-mail if you have received  
this e-mail by mistake and delete this e-mail from your system. If you  
are not the intended recipient you are notified that disclosing,  
copying, distributing or taking any action in reliance on the contents  
of this information is strictly prohibited.





Re: SMPP v.3.4 OriginatingCustomerIP

2008-04-26 Thread Mads N. Vestergaard

It's not possible to get the ip of the phone from a SMS.

Are you sure you aren't talking about the MSISDN (The mobile phone  
number)


..
Med venlig hilsen / Best Regards

Mads N. Vestergaard
Teknisk ansvarlig / CTO CoolSMS

www.coolsms.com
Phone:  +45 7026 1272
Fax:+45 7630 1046
Mobile: +45 4270 1272
This email and any files transmitted with it are confidential and  
intended solely for the use of the individual or entity to whom they  
are addressed. If you have received this email in error please notify  
the system manager. This message contains confidential information and  
is intended only for the individual named. If you are not the named  
addressee you should not disseminate, distribute or copy this e-mail.  
Please notify the sender immediately by e-mail if you have received  
this e-mail by mistake and delete this e-mail from your system. If you  
are not the intended recipient you are notified that disclosing,  
copying, distributing or taking any action in reliance on the contents  
of this information is strictly prohibited.



Den 26/04/2008 kl. 08.54 skrev Antti112:



It's supposed to be the phone's ip address, from which i can look up  
the A

number of the customer (basicly the id).



seik-2 wrote:


Define OriginatingCustomerIP



-Original Message-
From: users@kannel.org [EMAIL PROTECTED]
Sent: 26 Април 2008 г.
To: seik
Subject:SMPP v.3.4 OriginatingCustomerIP

Hello! How can I get OriginatingCustomerIP from a text-message?  
I tried

%u,
%B, %o but not any of them is working. I get blank message from  
these.

Any
help would be great!
Thanks ahead!
http://www.kannel.org/download/1.4.1/userguide-1.4.1/userguide.html#AEN3463











--
View this message in context: 
http://www.nabble.com/SMPP-v.3.4-OriginatingCustomerIP-tp16905861p16910046.html
Sent from the Kannel - User mailing list archive at Nabble.com.







Re: SMPP v.3.4 OriginatingCustomerIP

2008-04-26 Thread Mads N. Vestergaard
Are you sure it isn't wapbiling they are talking about, where you can  
bill users on a wap site?


..
Med venlig hilsen / Best Regards

Mads N. Vestergaard
Teknisk ansvarlig / CTO CoolSMS

www.coolsms.com
Phone:  +45 7026 1272
Fax:+45 7630 1046
Mobile: +45 4270 1272
This email and any files transmitted with it are confidential and  
intended solely for the use of the individual or entity to whom they  
are addressed. If you have received this email in error please notify  
the system manager. This message contains confidential information and  
is intended only for the individual named. If you are not the named  
addressee you should not disseminate, distribute or copy this e-mail.  
Please notify the sender immediately by e-mail if you have received  
this e-mail by mistake and delete this e-mail from your system. If you  
are not the intended recipient you are notified that disclosing,  
copying, distributing or taking any action in reliance on the contents  
of this information is strictly prohibited.



Den 26/04/2008 kl. 09.59 skrev Antti112:



I get the mobile phone number just perfectly, but my SMS operator  
has this
system, that i have to get the Phone-s IP and then send it to their  
server

for billing. Dunno why they made so bad system


Mads N. Vestergaard - CoolSMS wrote:


It's not possible to get the ip of the phone from a SMS.

Are you sure you aren't talking about the MSISDN (The mobile phone
number)

..
Med venlig hilsen / Best Regards

Mads N. Vestergaard
Teknisk ansvarlig / CTO CoolSMS

www.coolsms.com
Phone:  +45 7026 1272
Fax:+45 7630 1046
Mobile: +45 4270 1272
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager. This message contains confidential information  
and

is intended only for the individual named. If you are not the named
addressee you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately by e-mail if you have received
this e-mail by mistake and delete this e-mail from your system. If  
you

are not the intended recipient you are notified that disclosing,
copying, distributing or taking any action in reliance on the  
contents

of this information is strictly prohibited.


Den 26/04/2008 kl. 08.54 skrev Antti112:



It's supposed to be the phone's ip address, from which i can look up
the A
number of the customer (basicly the id).



seik-2 wrote:


Define OriginatingCustomerIP



-Original Message-
From: users@kannel.org [EMAIL PROTECTED]
Sent: 26 Април 2008 г.
To: seik
Subject:SMPP v.3.4 OriginatingCustomerIP


Hello! How can I get OriginatingCustomerIP from a text-message?
I tried
%u,
%B, %o but not any of them is working. I get blank message from
these.
Any
help would be great!
Thanks ahead!
http://www.kannel.org/download/1.4.1/userguide-1.4.1/userguide.html#AEN3463











--
View this message in context:
http://www.nabble.com/SMPP-v.3.4-OriginatingCustomerIP-tp16905861p16910046.html
Sent from the Kannel - User mailing list archive at Nabble.com.









--
View this message in context: 
http://www.nabble.com/SMPP-v.3.4-OriginatingCustomerIP-tp16905861p16910414.html
Sent from the Kannel - User mailing list archive at Nabble.com.







Re: limit the call of dlr-url

2008-04-05 Thread Mads N. Vestergaard

Hi Mickael,

With all respect, I definately you should have a look at your lighttpd  
or apache config.


2500 DLRs in 5 minutes is only 8.33 DLR pr. second.

That shouldn't create much load on your system.

..
Med venlig hilsen / Best Regards

Mads N. Vestergaard
Teknisk ansvarlig / CTO CoolSMS

www.coolsms.com
Phone:  +45 7026 1272
Fax:+45 7630 1046
Mobile: +45 4270 1272
This email and any files transmitted with it are confidential and  
intended solely for the use of the individual or entity to whom they  
are addressed. If you have received this email in error please notify  
the system manager. This message contains confidential information and  
is intended only for the individual named. If you are not the named  
addressee you should not disseminate, distribute or copy this e-mail.  
Please notify the sender immediately by e-mail if you have received  
this e-mail by mistake and delete this e-mail from your system. If you  
are not the intended recipient you are notified that disclosing,  
copying, distributing or taking any action in reliance on the contents  
of this information is strictly prohibited.



Den 04/04/2008 kl. 22.01 skrev Mickael - System Administrator (WebD  
Services):





Jovan Kostovski a écrit :


On Fri, Apr 4, 2008 at 6:54 PM, Mickael - System Administrator (WebD
Services) [EMAIL PROTECTED] wrote:


Hello,
 How to limit the call of dlr-url to 2 or 3 pages / sec requests?


Did you set the dlr-mask parameter?
With this parameter you can define on which state of the SMS, Kannel
will call the dlr-url.
Usually is sufficient to set the dlr-mask to 3 which means (dlr-url
will be called when the
message is delivered or not to the recipient.



dlr-mask=3 (success+failure)
1 (success or failure) * 2500 SMS = 2500 process Apache/Lighttp into  
5 minutes ... !!!



 from the kannel docs:
dlr-masknumber (bit mask)Optional. Request for delivery reports
with the state of the sent message. The value is a bit mask composed
of: 1: Delivered to phone, 2: Non-Delivered to Phone, 4: Queued on
SMSC, 8: Delivered to SMSC, 16: Non-Delivered to SMSC. Must set
dlr-url on sendsms-user group or use the dlr-url CGI variable.

HTH, Jovan





Re: DLR with MCC / MNC return values

2008-03-10 Thread Mads N. Vestergaard

Hi George,

As far as I know this doesn't work this way according to the  
standards, allthough I have seen some suppliers having this in their  
DLRs.


But for most suppliers they do not supply this information, since they  
want to comply with the standards.


Some providers have the posibility to do HLR lookup, where you can  
request MCC and MNC for a certain mobile number.


..
Med venlig hilsen / Best Regards

Mads N. Vestergaard
Teknisk ansvarlig / CTO CoolSMS

www.coolsms.com
Phone:  +45 7026 1272
Fax:+45 7630 1046
Mobile: +45 4270 1272
This email and any files transmitted with it are confidential and  
intended solely for the use of the individual or entity to whom they  
are addressed. If you have received this email in error please notify  
the system manager. This message contains confidential information and  
is intended only for the individual named. If you are not the named  
addressee you should not disseminate, distribute or copy this e-mail.  
Please notify the sender immediately by e-mail if you have received  
this e-mail by mistake and delete this e-mail from your system. If you  
are not the intended recipient you are notified that disclosing,  
copying, distributing or taking any action in reliance on the contents  
of this information is strictly prohibited.



Den 10/03/2008 kl. 01.19 skrev [EMAIL PROTECTED]:


Hello,

Is there a way when sending via SMPP, to get within DLR, MCC/MNC  
values for billing purposes?


Is there a way to force such a return value and if provider needs to  
enable it, what is it exactly they need to enable so we can  
communicate this parameter to them?


Regards
George





Re: Send WAP Push

2008-02-26 Thread Mads N. Vestergaard

Maybe, this could be of your interest: http://dev.mobi/node/616

..
Med venlig hilsen / Best Regards

Mads N. Vestergaard
Teknisk ansvarlig / CTO CoolSMS

www.coolsms.com
Phone:  +45 7026 1272
Fax:+45 7630 1046
Mobile: +45 4270 1272
This email and any files transmitted with it are confidential and  
intended solely for the use of the individual or entity to whom they  
are addressed. If you have received this email in error please notify  
the system manager. This message contains confidential information and  
is intended only for the individual named. If you are not the named  
addressee you should not disseminate, distribute or copy this e-mail.  
Please notify the sender immediately by e-mail if you have received  
this e-mail by mistake and delete this e-mail from your system. If you  
are not the intended recipient you are notified that disclosing,  
copying, distributing or taking any action in reliance on the contents  
of this information is strictly prohibited.



Den 26/02/2008 kl. 17.46 skrev Alvaro Cornejo:

not a tutorial, but take a look to the list. there are several  
threads about that


On 2/26/08, Remon Magdy [EMAIL PROTECTED] wrote:
Hello All,

Do anyone have a tutorial on sending SI and SL WAP pushes via Kannel?

Regards,
Remon




--
| 
-|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde  
cualquier celular y
Nextel en México y en mas de 180 paises. Use aplicaciones 2 vias via  
SMS y GPRS online

  Visitenos en www.smsglobal.com.mx y www.pravcom.com




Re: Kannel monitoring script

2008-02-05 Thread Mads N. Vestergaard

Hi Hafez,

I would parse the state that is mentioned in the kannel status xml  
file, and track the error that way.


..
Med venlig hilsen / Best Regards

Mads N. Vestergaard
Teknisk ansvarlig / CTO CoolSMS

www.coolsms.com
Phone:  +45 7026 1272
Fax:+45 7630 1046
Mobile: +45 4270 1272
This email and any files transmitted with it are confidential and  
intended solely for the use of the individual or entity to whom they  
are addressed. If you have received this email in error please notify  
the system manager. This message contains confidential information and  
is intended only for the individual named. If you are not the named  
addressee you should not disseminate, distribute or copy this e-mail.  
Please notify the sender immediately by e-mail if you have received  
this e-mail by mistake and delete this e-mail from your system. If you  
are not the intended recipient you are notified that disclosing,  
copying, distributing or taking any action in reliance on the contents  
of this information is strictly prohibited.



Den 05/02/2008 kl. 11.31 skrev hafez ahmad:

Thanks Mads for sharing, but if I have error in the LOG file like  
the following :

I/O error or other error. Re-connecting.
what is the best way to monitor like errors, is it by implementing  
script that parse the log files or is the another way?


thanks made again.
Hafez.

On Dec 29, 2007 2:14 PM, Mads N. Vestergaard - CoolSMS  
[EMAIL PROTECTED] wrote:

Hi Everybody,

This is the script we are using to monitor our kannel servers: 
http://gw1.coolsmsc.dk/kannel/kannelmonitor.phps

It's very simple, and can be developed even further.

Feel free to use, and please notice me if you implemented a usefull  
feature ;)

--

..
Med venlig hilsen / Best Regards

Mads N. Vestergaard
Teknisk ansvarlig / CTO CoolSMS

www.coolsms.com
Phone:  +45 7026 1272
Fax:+45 7630 1046
Mobile: +45 4270 1272
This email and any files transmitted with it are confidential and  
intended solely for the use of the individual or entity to whom they  
are addressed. If you have received this email in error please  
notify the system manager. This message contains confidential  
information and is intended only for the individual named. If you  
are not the named addressee you should not disseminate, distribute  
or copy this e-mail. Please notify the sender immediately by e-mail  
if you have received this e-mail by mistake and delete this e-mail  
from your system. If you are not the intended recipient you are  
notified that disclosing, copying, distributing or taking any action  
in reliance on the contents of this information is strictly  
prohibited.





--
Hafez A.Ahmad
Amman-Jordan
mobile:962-785259011
  962-795708728
http://blog.hafezadnan.com




Re: Invoking PHP Script through Kannel

2008-01-15 Thread Mads N. Vestergaard - CoolSMS




You could try to check the log for
your webserver and see why the data seems to be cut, if it is kannel or
the webserver.





  

  
..


  Med venlig
hilsen / Best Regards


  


  Mads N. Vestergaard


  Teknisk
ansvarlig / CTO CoolSMS


  


  www.coolsms.com


  Phone:
  +45 7026 1272


  Fax:
  +45 7630 1046


  Mobile:
  +45 4270 1272

  



This email and
any files transmitted with it are confidential and intended solely for
the use of the individual or entity to whom they are addressed. If you
have received this email in error please notify the system manager.
This message contains confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. If you are not the intended
recipient you are notified that disclosing, copying, distributing or
taking any action in reliance on the contents of this information is
strictly prohibited. 



preeteesh kakkar skrev:

  Anyone got any idea??
  
  Please help me with this..!
  
  
  On Jan 15, 2008 2:05 PM, preeteesh kakkar
[EMAIL PROTECTED]
wrote:
  Its
Text Type...!



On Jan 15, 2008 1:18 PM, Mads N.
Vestergaard - CoolSMS [EMAIL PROTECTED]
wrote:

  What type is the field in the database ?
  
  
  
  

  
..
  
  
Med
venlig hilsen / Best Regards
  
  

  
  
Mads N. Vestergaard
  
  
Teknisk
ansvarlig / CTO CoolSMS
  
  

  
  
www.coolsms.com
  
  
Phone:
+45 7026
1272
  
  
Fax:
+45 7630
1046
  
  
Mobile:
+45 4270
1272
  

  
  
  
  This email
and any files transmitted with it are confidential and intended solely
for the use of the individual or entity to whom they are addressed. If
you have received this email in error please notify the system manager.
This message contains confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. If you are not the intended
recipient you are notified that disclosing, copying, distributing or
taking any action in reliance on the contents of this information is
strictly prohibited. 
  
  
  
preeteesh kakkar skrev:
  
  
Hi,

 I am invoking a PHP script when kannel recieves any
sms. The received sms is then stored in db from that PHP script. In
case the sms is too large it is cut and whole sms is not stored in db.
I am using GET request as paramter in kannel. I think becuase of limit
of url lenght the whole sms is not stored. Can someone help me how can
i get the full sms stored in db. 

Thanks...!
  
  
  





  
  
  





Re: Invoking PHP Script through Kannel

2008-01-14 Thread Mads N. Vestergaard - CoolSMS




What type is the field in the
database ?





  

  
..


  Med venlig
hilsen / Best Regards


  


  Mads N. Vestergaard


  Teknisk
ansvarlig / CTO CoolSMS


  


  www.coolsms.com


  Phone:
  +45 7026 1272


  Fax:
  +45 7630 1046


  Mobile:
  +45 4270 1272

  



This email and
any files transmitted with it are confidential and intended solely for
the use of the individual or entity to whom they are addressed. If you
have received this email in error please notify the system manager.
This message contains confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. If you are not the intended
recipient you are notified that disclosing, copying, distributing or
taking any action in reliance on the contents of this information is
strictly prohibited. 



preeteesh kakkar skrev:

  Hi,
  
   I am invoking a PHP script when kannel recieves any sms. The
received sms is then stored in db from that PHP script. In case the sms
is too large it is cut and whole sms is not stored in db. I am using
GET request as paramter in kannel. I think becuase of limit of url
lenght the whole sms is not stored. Can someone help me how can i get
the full sms stored in db.
  
  
  Thanks...!





Re: [PATCH] DLR with field_dst not supported in Mysql/Pgsql

2008-01-11 Thread Mads N. Vestergaard - CoolSMS




Hi There,

A bug report for this issue have allready been made:
http://bugs.kannel.org/view.php?id=430

But if you have SMPP connections aswell, please be aware of this bug:
http://bugs.kannel.org/view.php?id=431






  

  
..


  Med venlig
hilsen / Best Regards


  


  Mads N. Vestergaard


  Teknisk
ansvarlig / CTO CoolSMS


  


  www.coolsms.com


  Phone:
  +45 7026 1272


  Fax:
  +45 7630 1046


  Mobile:
  +45 4270 1272

  



This email and
any files transmitted with it are confidential and intended solely for
the use of the individual or entity to whom they are addressed. If you
have received this email in error please notify the system manager.
This message contains confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. If you are not the intended
recipient you are notified that disclosing, copying, distributing or
taking any action in reliance on the contents of this information is
strictly prohibited. 



Vincent CHAVANIS skrev:

  
  
  

  Dear,
  
  This patch will probablyfixyour
issue if your are talking (MT)with A and B in a same second (and only
in this case)
  This is mainly for UCP/EMI, because
UCPcan have the same TS for different messages so this patch will look
for the 
  destination number
  
  Vincent.
  
  
-
Original Message - 
From:
  
To:
users@kannel.org 
Sent:
Friday, January 11, 2008 12:45 PM
Subject:
[PATCH] DLR with field_dst not supported in Mysql/Pgsql



Could someone please help
me in applying the patch described in this thread.

My problem is as follows. I
send some messages over ucp/emi and when getting the dlr I realized
that the dlr where getting confused. The msg body of the dlr was
talking for phone A but the %p parameter was for phone B.

Will this patch be able to
solve my problem?

Thank you very much in
advance

Best regards



No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.0/1218 - Release Date:
10/1/2008 1:32 

  





Re: Kannel monitor in PHP

2007-12-29 Thread Mads N. Vestergaard - CoolSMS




Hi Everybody,

The Graphical status overview, now available as a download.

Here is a sample: 

http://gw1.coolsmsc.dk/kannel/kanneladmin.php

Sourcecode is to find here:
http://gw1.coolsmsc.dk/kannel/kanneladmin.phps

I'll modify our alert script aswell, and put it up, as soon as it isn't
to system specific for our needs.






  

  
..


  Med venlig
hilsen / Best Regards


  


  Mads N. Vestergaard


  Teknisk
ansvarlig / CTO CoolSMS


  


  www.coolsms.com


  Phone:
  +45 7026 1272


  Fax:
  +45 7630 1046


  Mobile:
  +45 4270 1272

  



This email and
any files transmitted with it are confidential and intended solely for
the use of the individual or entity to whom they are addressed. If you
have received this email in error please notify the system manager.
This message contains confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. If you are not the intended
recipient you are notified that disclosing, copying, distributing or
taking any action in reliance on the contents of this information is
strictly prohibited. 



info.ubichip skrev:

  
  
  hi all,
  
  I'm using Monit to do alert when
Kannel is down, but I 'ma interessed in your scripts, so please put
them on an URL where the kannel list could download it. thanks in
advance.
  
  ps : do anyone has script to
handle account and cutomers, as well to make billing ?
  
  
  
  
  From: Mads N.
Vestergaard - CoolSMS [mailto:[EMAIL PROTECTED]] 
  Sent: vendredi 28 dcembre 2007 08:49
  To: users@kannel.org
  Subject: Re: Kannel monitor in PHP
  
  
  Hi There,
  
We actually have a script aswell.
  
The script checks state of all connections, and if it isn't online, it
will autoatically, tell kannel to try to re-connect, to minimize
downtime, in case the provider, is just restarting a server or simular.
  
We also have a script parsing the status.xml file, to give a graphical
view of the situation, showing all connections, their state, the queue,
submitted messages, etc.
  
Please let me know if anyone is interested in this aswell.
  
  
  
  
  

  
..
  
  
Med venlig
hilsen / Best Regards
  
  

  
  
Mads N. Vestergaard
  
  
Teknisk
ansvarlig / CTO CoolSMS
  
  

  
  
www.coolsms.com
  
  
Phone:
+45 7026 1272
  
  
Fax:
+45 7630 1046
  
  
Mobile:
+45 4270 1272
  

  
  
  
  This email and
any files transmitted with it are confidential and intended solely for
the use of the individual or entity to whom they are addressed. If you
have received this email in error please notify the system manager.
This message contains confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. If you are not the intended
recipient you are notified that disclosing, copying, distributing or
taking any action in reliance on the contents of this information is
strictly prohibited. 
  
  
  
Mike Nwaogu skrev:
  
Hi Rowland,
I have a similar script, but would like to know if
there's something I could add.

Do let me have it if will.

--- Rolandow [EMAIL PROTECTED] wrote:

  

  Hi all,

To monitor our kannel connections with the SMSC's, I
wrote a little PHP 
script. When a connection is down, it can send an
e-mail, and a SMS. 
Sending SMS will be done using a clickatell account.

The script uses netstat to check the connections, so
this would only run 
on linux. It works with the PHP5 CGI, so you only
have to install the 
php5 cgi version, if your server doesn't run a
webserver.

You can configure the connections you would like to
monitor, based on IP 
and PORT number. You can also define a timeout. If
the connection is 
down for more than xx seconds, it will send you an
alert. Because in my 
experience a lot of connection restore themselves
automatically within 
half an hour.

If somebody would like to use this, I could send the
script to the list 
(is that possible/allowed?), or I could put it
somewhere to download. If 
you're interested, let me know.

Kind regards,
Roland.





Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: [EMAIL PROTECTED]


  
Looking for last minute

Kannel monitoring script

2007-12-29 Thread Mads N. Vestergaard - CoolSMS




Hi Everybody,

This is the script we are using to monitor our kannel servers:
http://gw1.coolsmsc.dk/kannel/kannelmonitor.phps

It's very simple, and can be developed even further.

Feel free to use, and please notice me if you implemented a usefull
feature ;)

-- 





  

  
..


  Med venlig
hilsen / Best Regards


  


  Mads N. Vestergaard


  Teknisk
ansvarlig / CTO CoolSMS


  


  www.coolsms.com


  Phone:
  +45 7026 1272


  Fax:
  +45 7630 1046


  Mobile:
  +45 4270 1272

  



This email and
any files transmitted with it are confidential and intended solely for
the use of the individual or entity to whom they are addressed. If you
have received this email in error please notify the system manager.
This message contains confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. If you are not the intended
recipient you are notified that disclosing, copying, distributing or
taking any action in reliance on the contents of this information is
strictly prohibited. 





CIMD2 DLRs BUG ?

2007-12-29 Thread Mads N. Vestergaard - CoolSMS




Hi There,

With one of our new we start using CIMD.

But as far as I can see there seems to be a bug in the DLR system.

When a DLR is added, is sends this SQL string:


INSERT INTO kannel_dlr (smsc, ts, `from`, `to`, service, url, mask,
boxc, status) VALUES ('CIMD2:serverhost:port:username', '071229152034',
'CoolSMS', '4542701272', 'coolsmsc', '', '31', 'smsbox', '0');

So instead of the
actual SMSCID, it adds the complete name for the connection.

At the moment we have to give our
CIMD connection a smsc name like this: CIMD2:serverhost:port:username to be sure it selects
for the correct DLR data, when the server sends back a DLR.

Furthermore when receiving a DLR, it asks for the following:
SELECT mask, service, url, `from`, `to`, boxc FROM kannel_dlr WHERE
smsc='SMSC' AND ts='071228074132';

But since CIMD2 gives back a timestamp as the SMSCID, this will make it
impossible to keep track of the DLRs if more is send in the same second.

We have seen this our self.

But in a CIMD dlr, the destination adress is also given, so it should
be possible, to use this as a search parameter for the DLR aswell.

All this is just my assumptions, haven't looked further into the source
code, for CIMD, but I would be happy if anyone can confirm this is a
bug or nor, if they have a working CIMD setup.


Thanks in advance.


-- 





  

  
..


  Med venlig
hilsen / Best Regards


  


  Mads N. Vestergaard


  Teknisk
ansvarlig / CTO CoolSMS


  


  www.coolsms.com


  Phone:
  +45 7026 1272


  Fax:
  +45 7630 1046


  Mobile:
  +45 4270 1272

  



This email and
any files transmitted with it are confidential and intended solely for
the use of the individual or entity to whom they are addressed. If you
have received this email in error please notify the system manager.
This message contains confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. If you are not the intended
recipient you are notified that disclosing, copying, distributing or
taking any action in reliance on the contents of this information is
strictly prohibited. 





Re: CIMD2 DLRs BUG ?

2007-12-29 Thread Mads N. Vestergaard - CoolSMS




Hi Everybody,

After looking a bit further into it, the first problem was prety clear.

In gw/smsc/smsc_cimd2.c, the DLR was added like this:

dlr_add(conn-name, ts, msg);

But since DLRs is based on he connection ID, it should be like this:

dlr_add(conn-id, ts, msg);

2nd, issue, iw when suing mysql for DLR storage, we supply a parameter
for the destination, but never uses it:

static struct dlr_entry* dlr_mysql_get(const Octstr *smsc, const Octstr
*ts, const Octstr *dst)

We have destionation there, but in the query:

 sql = octstr_format("SELECT %s, %s, %s, %s, %s, %s FROM %s WHERE
%s='%s' AND %s='%s';",
 octstr_get_cstr(fields-field_mask),
octstr_get_cstr(fields-field_serv),
 octstr_get_cstr(fields-field_url),
octstr_get_cstr(fields-field_src),
 octstr_get_cstr(fields-field_dst),
octstr_get_cstr(fields-field_boxc),
 octstr_get_cstr(fields-table),
octstr_get_cstr(fields-field_smsc),
 octstr_get_cstr(smsc),
octstr_get_cstr(fields-field_ts), safe_ts);

We only use the SMSCID and the TS.

I'll try to make a few patches and submit it to the bug system.






  

  
..


  Med venlig
hilsen / Best Regards


  

    
      Mads N. Vestergaard


  Teknisk
ansvarlig / CTO CoolSMS


  


  www.coolsms.com


  Phone:
  +45 7026 1272


  Fax:
  +45 7630 1046


  Mobile:
  +45 4270 1272

  



This email and
any files transmitted with it are confidential and intended solely for
the use of the individual or entity to whom they are addressed. If you
have received this email in error please notify the system manager.
This message contains confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. If you are not the intended
recipient you are notified that disclosing, copying, distributing or
taking any action in reliance on the contents of this information is
strictly prohibited. 



Mads N. Vestergaard - CoolSMS skrev:
Hi There,
  
With one of our new we start using CIMD.
  
But as far as I can see there seems to be a bug in the DLR system.
  
When a DLR is added, is sends this SQL string:
  
  
INSERT INTO kannel_dlr (smsc, ts, `from`, `to`, service, url, mask,
boxc, status) VALUES ('CIMD2:serverhost:port:username', '071229152034',
'CoolSMS', '4542701272', 'coolsmsc', '', '31', 'smsbox', '0');
  
  So instead of the
actual SMSCID, it adds the complete name for the connection.
  
  At the moment we have to give
our
CIMD connection a smsc name like this: CIMD2:serverhost:port:username to be sure it selects
for the correct DLR data, when the server sends back a DLR.
  
Furthermore when receiving a DLR, it asks for the following:
SELECT mask, service, url, `from`, `to`, boxc FROM kannel_dlr WHERE
smsc='SMSC' AND ts='071228074132';
  
But since CIMD2 gives back a timestamp as the SMSCID, this will make it
impossible to keep track of the DLRs if more is send in the same second.
  
We have seen this our self.
  
But in a CIMD dlr, the destination adress is also given, so it should
be possible, to use this as a search parameter for the DLR aswell.
  
All this is just my assumptions, haven't looked further into the source
code, for CIMD, but I would be happy if anyone can confirm this is a
bug or nor, if they have a working CIMD setup.
  
  
Thanks in advance.
  
  
  -- 
  
  
  
  
  

  
..
  
  
Med venlig
hilsen / Best Regards
  
  

  
  
        Mads N. Vestergaard
  
  
Teknisk
ansvarlig / CTO CoolSMS
  
  

  
  
www.coolsms.com
  
  
Phone:
+45 7026 1272
  
  
Fax:
+45 7630 1046
  
  
Mobile:
+45 4270 1272
  

  
  
  
  This email and
any files transmitted with it are confidential and intended solely for
the use of the individual or entity to whom they are addressed. If you
have received this email in error please notify the system manager.
This message contains confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. If you are not the intended
recipient you are notified that disclosing, copying, distributing or
taking any action in reliance on the contents of this information is
strictly prohibited. 
  





Re: Kannel monitor in PHP

2007-12-28 Thread Mads N. Vestergaard - CoolSMS




Hi There,

We actually have a script aswell.

The script checks state of all connections, and if it isn't online, it
will autoatically, tell kannel to try to re-connect, to minimize
downtime, in case the provider, is just restarting a server or simular.

We also have a script parsing the status.xml file, to give a graphical
view of the situation, showing all connections, their state, the queue,
submitted messages, etc.

Please let me know if anyone is interested in this aswell.





  

  
..


  Med venlig
hilsen / Best Regards


  


  Mads N. Vestergaard


  Teknisk
ansvarlig / CTO CoolSMS


  


  www.coolsms.com


  Phone:
  +45 7026 1272


  Fax:
  +45 7630 1046


  Mobile:
  +45 4270 1272

  



This email and
any files transmitted with it are confidential and intended solely for
the use of the individual or entity to whom they are addressed. If you
have received this email in error please notify the system manager.
This message contains confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. If you are not the intended
recipient you are notified that disclosing, copying, distributing or
taking any action in reliance on the contents of this information is
strictly prohibited. 



Mike Nwaogu skrev:

  Hi Rowland,
I have a similar script, but would like to know if
there's something I could add.

Do let me have it if will.

--- Rolandow [EMAIL PROTECTED] wrote:

  
  
Hi all,

To monitor our kannel connections with the SMSC's, I
wrote a little PHP 
script. When a connection is down, it can send an
e-mail, and a SMS. 
Sending SMS will be done using a clickatell account.

The script uses netstat to check the connections, so
this would only run 
on linux. It works with the PHP5 CGI, so you only
have to install the 
php5 cgi version, if your server doesn't run a
webserver.

You can configure the connections you would like to
monitor, based on IP 
and PORT number. You can also define a timeout. If
the connection is 
down for more than xx seconds, it will send you an
alert. Because in my 
experience a lot of connection restore themselves
automatically within 
half an hour.

If somebody would like to use this, I could send the
script to the list 
(is that possible/allowed?), or I could put it
somewhere to download. If 
you're interested, let me know.

Kind regards,
Roland.


  
  

Regards,
Mike Nwaogu
Tel: 234_802_325_6437
Eml: [EMAIL PROTECTED]


  
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping


  





Re: Buffered notifications

2007-11-22 Thread Mads N. Vestergaard - CoolSMS




As a foolow up I can see the message_state submitted with SMPP is set
to the value 7

Mads N. Vestergaard - CoolSMS skrev:
Hi There,
  
We have a provider who are sending us buffered notification i.e. the
simcard dis full.
  
Kannel is giving the message state=2, so it will automtically remove
the SMSCID from it's DLR queue, not being able to send anymore DLR to
us.
  
Is there a way to ensure that kannel doesn't delete messages with
state=2 from the DLR queue until it returns stat:UNDELIV ? 
  
  
  
  -- 
  
  
  
  
  

  
..
  
  
Med venlig
hilsen / Best Regards
  
  

  
  
Mads N. Vestergaard
  
  
Teknisk
ansvarlig / CTO CoolSMS
  
  

  
  
www.coolsms.com
  
  
Phone:
+45 7026 1272
  
  
Fax:
+45 7630 1046
  
  
Mobile:
+45 4270 1272
  

  
  
  
  This email and
any files transmitted with it are confidential and intended solely for
the use of the individual or entity to whom they are addressed. If you
have received this email in error please notify the system manager.
This message contains confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. If you are not the intended
recipient you are notified that disclosing, copying, distributing or
taking any action in reliance on the contents of this information is
strictly prohibited. 
  





Re: mobile number validation class - DK Updated

2007-11-03 Thread Mads N. Vestergaard - CoolSMS




Hi everybody,

Since Iain, is veru busy, as far as I've understood, I've managed to
generate the danish numbers aswell.

the plan is attached.

Hope it helps :)






  

  
..


  Med venlig
hilsen / Best Regards


  


  Mads N. Vestergaard


  Teknisk
ansvarlig / CTO CoolSMS


  


  www.coolsms.com


  Phone:
  +45 7026 1272


  Fax:
  +45 7630 1046


  Mobile:
  +45 5050 4222

  



This email and
any files transmitted with it are confidential and intended solely for
the use of the individual or entity to whom they are addressed. If you
have received this email in error please notify the system manager.
This message contains confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. If you are not the intended
recipient you are notified that disclosing, copying, distributing or
taking any action in reliance on the contents of this information is
strictly prohibited. 



Mads N. Vestergaard - CoolSMS skrev:

  
  
  Hi There,
  
For denmark, the danish board for IT and telecommunications have a list
here:
  http://www.itst.dk/static/It%20og%20tele/Nummerforhold/Nummerliste%208-cifrede%20abonnentnumre%202007-10-03.xls
  
I hope this is any help to you.
  
  
  
  
  

  
..
  
  
Med venlig
hilsen / Best Regards
  
  

  
  
Mads N. Vestergaard
  
  
Teknisk
ansvarlig / CTO CoolSMS
  
  

  
  
www.coolsms.com
  
  
Phone:
+45 7026 1272
  
  
Fax:
+45 7630 1046
  
  
Mobile:
+45 5050 4222
  

  
  
  
  This email and
any files transmitted with it are confidential and intended solely for
the use of the individual or entity to whom they are addressed. If you
have received this email in error please notify the system manager.
This message contains confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. If you are not the intended
recipient you are notified that disclosing, copying, distributing or
taking any action in reliance on the contents of this information is
strictly prohibited. 
  
  
  
Iain Dooley skrev:
  hi all, 

i've written a class in PHP which uses the list at: 

http://www.workingsoftware.com.au/mobile_numbering.txt


to validate a number. there are notes and typical usage up the top of
the class file here: 

http://www.workingsoftware.com.au/mobile_validation.class.php.txt


if anyone ports it to other languages feel free to send them through
and i'd be happy to host it on my server. 

cheers 

iain 


  



45,201,5
45,202,5
45,203,5
45,204,5
45,205,5
45,206,5
45,207,5
45,208,5
45,209,5
45,211,5
45,212,5
45,213,5
45,214,5
45,215,5
45,216,5
45,217,5
45,218,5
45,219,5
45,221,5
45,222,5
45,223,5
45,224,5
45,225,5
45,226,5
45,227,5
45,228,5
45,229,5
45,231,5
45,232,5
45,233,5
45,234,5
45,235,5
45,236,5
45,237,5
45,238,5
45,239,5
45,241,5
45,242,5
45,243,5
45,244,5
45,245,5
45,246,5
45,247,5
45,248,5
45,249,5
45,251,5
45,252,5
45,253,5
45,254,5
45,255,5
45,256,5
45,257,5
45,258,5
45,2590,4
45,2591,4
45,2592,4
45,2593,4
45,2594,4
45,2595,4
45,2596,4
45,2597,4
45,261,5
45,262,5
45,263,5
45,264,5
45,265,5
45,266,5
45,267,5
45,268,5
45,269,5
45,271,5
45,272,5
45,273,5
45,274,5
45,275,5
45,276,5
45,277,5
45,278,5
45,279,5
45,281,5
45,282,5
45,283,5
45,284,5
45,285,5
45,286,5
45,287,5
45,288,5
45,289,5
45,291,5
45,292,5
45,293,5
45,294,5
45,295,5
45,296,5
45,297,5
45,298,5
45,299,5
45,301,5
45,302,5
45,303,5
45,304,5
45,305,5
45,306,5
45,307,5
45,308,5
45,309,5
45,311,5
45,312,5
45,313,5
45,314,5
45,315,5
45,316,5
45,317,5
45,318,5
45,319,5
45,401,5
45,402,5
45,403,5
45,404,5
45,405,5
45,406,5
45,407,5
45,408,5
45,409,5
45,411,5
45,412,5
45,413,5
45,414,5
45,415,5
45,416,5
45,417,5
45,418,5
45,419,5
45,421,5
45,422,5
45,423,5
45,424,5
45,425,5
45,426,5
45,427,5
45,428,5
45,429,5
45,5015,4
45,5016,4
45,5017,4
45,5018,4
45,5019,4
45,502,5
45,503,5
45,504,5
45,505,5
45,506,5
45,507,5
45,508,5
45,509,5
45,511,5
45,512,5
45,513,5
45,514,5
45,515,5
45,516,5
45,517,5
45,518,5
45,519,5
45,521,5
45,522,5
45,523,5
45,524,5
45,525,5
45,526,5
45,527,5
45,528,5
45,529,5
45,531,5
45,532,5
45,533,5
45,534,5
45,535,5
45,536,5
45,537,5
45,538,5
45,539,5
45,601,5
45,602,5
45,603,5
45,604,5

Re: international mobile numbering

2007-11-02 Thread Mads N. Vestergaard - CoolSMS




Hi Stefan,

Eventhough we get that information please also keep in mind that in
some countries it is possible to port your number to another telco.






  

  
..


  Med venlig
hilsen / Best Regards


  


  Mads N. Vestergaard


  Teknisk
ansvarlig / CTO CoolSMS


  


  www.coolsms.com


  Phone:
  +45 7026 1272


  Fax:
  +45 7630 1046


  Mobile:
  +45 5050 4222

  



This email and
any files transmitted with it are confidential and intended solely for
the use of the individual or entity to whom they are addressed. If you
have received this email in error please notify the system manager.
This message contains confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. If you are not the intended
recipient you are notified that disclosing, copying, distributing or
taking any action in reliance on the contents of this information is
strictly prohibited. 



Stefan OLARU skrev:

  Hi everybody,

Thank you for a great idea.

I would like to add we also need all the prefixes used by each operator in
each country, not only the general mobile prefix.

This would be a huge help for internal routing through different lines, with
different pricing.

Thanks.

Stefan.




-Original Message-
From: Vincent CHAVANIS [mailto:[EMAIL PROTECTED]] 
Sent: 02 November 2007 11:38
To: users@kannel.org
Subject: Re: international mobile numbering +FRANCE

France
33,6,9

(eg +33 6 12345678) (all operators ORANGE, SFR, BOUYGUES)

regards

Vincent.

- Original Message - 
From: "Iain Dooley" [EMAIL PROTECTED]
To: users@kannel.org
Sent: Thursday, November 01, 2007 4:56 AM
Subject: international mobile numbering


  
  
hi all,

firstly thank you so much to Alejandro Guerrieri, Bernd Mielke and Hanna 
Kreitem for their latest conributions to the mobile number validation 
list.

your changes are now live on:

http://www.workingsoftware.com.au/mobile_numbering.txt

Bernd, if you look at Germany there are a couple of questions for you 
there.

if anyone hasn't yet, it would be great if you could look at your own 
country in that list and give me the correct format like:

COUNTRY CODE,AREA CODE,NUM DIGITS

i think it's best if we keep it more general, as in "close enough is good 
enough". for example, for the Australian number format i just have:

61,4,8

the fact that 0499 123 456 may not be a valid number (yet!) isn't really a

  
  
  
  
concern, but i can detect if someone:

1) types in 0405 xxx xxx i can put it into 61 405 xxx xxx without them 
needing to type in international format, because i know they live in 
australia

2) types 0405 xxx xx or 0405 xxx  because the numbers are the wrong 
length.

or if someone tried to send a message to a 1999 xxx xxx premium SMS number

  
  
  
  
or a landline (hey, people do strange things) then it wouldn't validate.

so keeping this in mind it would be great if everyone could please take a 
look at their country and send me the required format.

cheers

iain



  
  



__ NOD32 2633 (20071102) Informatii __ 

Acest mesaj a fost verificat de NOD32 Antivirus.
http://www.nod32.ro




  





Re: mobile number validation class

2007-10-31 Thread Mads N. Vestergaard - CoolSMS




Hi There,

For denmark, the danish board for IT and telecommunications have a list
here:
http://www.itst.dk/static/It%20og%20tele/Nummerforhold/Nummerliste%208-cifrede%20abonnentnumre%202007-10-03.xls

I hope this is any help to you.






  

  
..


  Med venlig
hilsen / Best Regards


  


  Mads N. Vestergaard


  Teknisk
ansvarlig / CTO CoolSMS


  


  www.coolsms.com


  Phone:
  +45 7026 1272


  Fax:
  +45 7630 1046


  Mobile:
  +45 5050 4222

  



This email and
any files transmitted with it are confidential and intended solely for
the use of the individual or entity to whom they are addressed. If you
have received this email in error please notify the system manager.
This message contains confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. If you are not the intended
recipient you are notified that disclosing, copying, distributing or
taking any action in reliance on the contents of this information is
strictly prohibited. 



Iain Dooley skrev:
hi all,
  
  
i've written a class in PHP which uses the list at:
  
  
http://www.workingsoftware.com.au/mobile_numbering.txt
  
  
to validate a number. there are notes and typical usage up the top of
the class file here:
  
  
http://www.workingsoftware.com.au/mobile_validation.class.php.txt
  
  
if anyone ports it to other languages feel free to send them through
and i'd be happy to host it on my server.
  
  
cheers
  
  
iain
  
  
  





Re: orders of magnitude

2007-09-12 Thread Mads N. Vestergaard - CoolSMS




As other people have mentioned
aswell, there is a hughe difference, for Operators, and as I believe
the most of us, which is doing commercial messaging.

Also keep in mind to test if the Gateway you are using is capable of
using the capacity they promise you.

I remember a few years ago, we where promissed a lac 40, from a well
known company in the market, no names metioned :), unfortunatelty they
didn't have the capacity at the end SMSC, so although we where
promissed a lac 40, it couldn't even do a lac 10.

As far as you question goes it also depends pr. country, because
clickatell might route different countries to diferent smsc, maybe they
even do it on a pr operator basis, I would assume so.






  

  
..


  Med venlig
hilsen / Best Regards


  


  Mads N. Vestergaard


  Teknisk
ansvarlig / CTO CoolSMS


  


  www.coolsms.com


  Phone:
  +45 7026 1272


  Fax:
  +45 7630 1046


  Mobile:
  +45 5050 4222

  



This email and
any files transmitted with it are confidential and intended solely for
the use of the individual or entity to whom they are addressed. If you
have received this email in error please notify the system manager.
This message contains confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. If you are not the intended
recipient you are notified that disclosing, copying, distributing or
taking any action in reliance on the contents of this information is
strictly prohibited. 



Iain Dooley skrev:
hi all,
  
  
reasonably left of field here, but at a rough estimate, (this is a
question for the really high volume SMS traffickers :) how long would
it take you to switch 80,000,000 messages? ie. i know 80,000,000 is a
pretty massive volume, but in the scheme of things, is it totally
massive? like, would clickatell switch that in a year or a month?
  
  
cheers
  
  
iain
  
  
  





Re: Kannel - MySQL

2007-08-30 Thread Mads N. Vestergaard - CoolSMS




Hi Jinz,

Normally you provide a URL for where the DLRs are send to.

If you have a serverside script on that URL, you can easily log DLRs to
a MySQL database.






  

  
..


  Med venlig
hilsen / Best Regards


  


  Mads N. Vestergaard


  Teknisk
ansvarlig / CTO CoolSMS


  


  www.coolsms.com


  Phone:
  +45 7026 1272


  Fax:
  +45 7630 1046


  Mobile:
  +45 5050 4222

  



This email and
any files transmitted with it are confidential and intended solely for
the use of the individual or entity to whom they are addressed. If you
have received this email in error please notify the system manager.
This message contains confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. If you are not the intended
recipient you are notified that disclosing, copying, distributing or
taking any action in reliance on the contents of this information is
strictly prohibited. 



Jinz mobME skrev:
How can i get delivery reports for my sms in mysql..
I have configured Kannel and i am able to send sms from using the url,,,
i need to add the mysql connectivity and view delivery reports





MMS Notification

2007-08-23 Thread Mads N. Vestergaard - CoolSMS




Hi Guys,

Doesn't any of you have specs on how to send a MMS notification through
?

Thanks in advance.

-- 





  

  
..


  Med venlig
hilsen / Best Regards


  


  Mads N. Vestergaard


  Teknisk
ansvarlig / CTO CoolSMS


  


  www.coolsms.com


  Phone:
  +45 7026 1272


  Fax:
  +45 7630 1046


  Mobile:
  +45 5050 4222

  



This email and
any files transmitted with it are confidential and intended solely for
the use of the individual or entity to whom they are addressed. If you
have received this email in error please notify the system manager.
This message contains confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. If you are not the intended
recipient you are notified that disclosing, copying, distributing or
taking any action in reliance on the contents of this information is
strictly prohibited. 





Re: Mysql kannel: Timestamp not working

2007-06-16 Thread Mads N. Vestergaard

Hi Alvaro,

Please make sure that the standard value for your timestamp field is 
CURRENT_TIMSTAMP, like this:


`timeid` timestamp NOT NULL default CURRENT_TIMESTAMP


Then it will always insert the current timestamp, if nothing is specified.


..
Med venlig hilsen / Best Regards

*Mads N. Vestergaard*
*Teknisk ansvarlig / CTO CoolSMS*
www.coolsms.com http://www.coolsms.com/
Phone:  +45 7026 1272
Fax:+45 7630 1046
Mobile: +45 5050 4222

This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they are 
addressed. If you have received this email in error please notify the 
system manager. This message contains confidential information and is 
intended only for the individual named. If you are not the named 
addressee you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system. If you are 
not the intended recipient you are notified that disclosing, copying, 
distributing or taking any action in reliance on the contents of this 
information is strictly prohibited.




Alvaro Cornejo skrev:

Hi

I've setup my kannel to use mysql as its dlr database.

Everithing looks OK except that the timestamp on the dlr is allways
-00-00 00:00:00.

I've chequed that field field-timestamp is a timestamp field, I've
also manually inserted a test dlr  into the table and it worked fine..

I'm running latest CVS under fedora 5.

Here is my kannel cfg:

#CORE BEARERBOX
group = core
admin-port = 13000
smsbox-port = 13001
dlr-storage = mysql
admin-password = bar
# box-deny-ip = *.*.*.*
box-allow-ip = *.*.*.*
log-file = /var/log/kannel/bearerbox.log
log-level = 0
access-log = /var/log/kannel/beareraccess.log
# LOG LEVEL 0 = DEBUG, 4 = INFO


# SMSBOX SETUP
#
group = smsbox
bearerbox-host = 127.0.0.1
sendsms-chars = 0123456789 +
sendsms-port = 13013
smsbox-id = smsl
global-sender = Sms
log-file = /var/log/kannel/smsbox.log
log-level = 0
access-log = /var/log/kannel/smsaccess.log
http-request-retry = 3
http-queue-delay = 10



 CONEXION A MYSQL LOCALHOST
group = mysql-connection
id = mydlr
host = 127.0.0.1
username = mysqluser
password = mysqlpass
database = kannel_dlr
max-connections = 2

 DLR DB DEFINITION
group = dlr-db
id = mydlr
table = tblkannel_dlr
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-source = source
field-service = service
field-url = url
field-mask = mask
field-status = status
field-boxc-id = boxc

any ideas??




Re: SMPP Server

2007-06-04 Thread Mads N. Vestergaard

Hi Mario,

In short RTFM.

It is all explained in the manual, so unless you are confused about a 
specific thing, please go through the manual first.



..
Med venlig hilsen / Best Regards

*Mads N. Vestergaard*
*Teknisk ansvarlig / CTO CoolSMS*
www.coolsms.com http://www.coolsms.com/
Phone:  +45 7026 1272
Fax:+45 7630 1046
Mobile: +45 5050 4222

This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they are 
addressed. If you have received this email in error please notify the 
system manager. This message contains confidential information and is 
intended only for the individual named. If you are not the named 
addressee you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system. If you are 
not the intended recipient you are notified that disclosing, copying, 
distributing or taking any action in reliance on the contents of this 
information is strictly prohibited.




Mario Giacummo skrev:

Hello,
I am new with kannel and the internet SMS systes.
The only thing I want is put a linux box for recive and send SMS's 
from a Cellular Provider via SMPP

I have a destination host, RX port RT port, a username and a pass.
But now.. how can I send a SMS to the cellphone 123456? And how do I 
listen from incoming messages?


Thank you in advance.
--

Mario Giacummo 


Re: SMSC MySQL

2007-05-16 Thread Mads N. Vestergaard

Hi Vahid,

Set the incomming messages to a website, and let the website handle the 
connection to the database.


..
Med venlig hilsen / Best Regards

*Mads N. Vestergaard*
*Teknisk ansvarlig / CTO CoolSMS*
www.coolsms.com http://www.coolsms.com/
Phone:  +45 7026 1272
Fax:+45 7630 1046
Mobile: +45 5050 4222

This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they are 
addressed. If you have received this email in error please notify the 
system manager. This message contains confidential information and is 
intended only for the individual named. If you are not the named 
addressee you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system. If you are 
not the intended recipient you are notified that disclosing, copying, 
distributing or taking any action in reliance on the contents of this 
information is strictly prohibited.




Vahid Ghafarpour skrev:

how can I set a database server for incomming messages?


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


Re: Special Characters and Kannel 1.4.1

2007-04-03 Thread Mads N. Vestergaard

Hi Markus,

Have you tried with another SMSC connection.

I know that TDC in Denmark for instance can't handle the swedish 
characters ÄÖ, and they will replace it with hte danosh characters ÆØ.


I'm not sure, but it might be the issue, so try to test it with another 
SMSC, or try asking Vodafone.


..
Med venlig hilsen / Best Regards

*Mads N. Vestergaard*
*Teknisk ansvarlig / CTO CoolSMS*
www.coolsms.com http://www.coolsms.com/
Phone:  +45 7026 1272
Fax:+45 7630 1046
Mobile: +45 5050 4222

This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they are 
addressed. If you have received this email in error please notify the 
system manager. This message contains confidential information and is 
intended only for the individual named. If you are not the named 
addressee you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system. If you are 
not the intended recipient you are notified that disclosing, copying, 
distributing or taking any action in reliance on the contents of this 
information is strictly prohibited.




Markus R. skrev:

Hi,

I have a problem sending special characters in mobile terminated
messages through Kannel.

The Setup: Debian (Sarge), Kannel 1.4.1 (from .deb packages), libxml 
2.6.16-7


SMSC: Vodafone Germany, EMI


The Problem: I want to send the following test message: ABCDäöüÄÖÜß

Each time I send this message I receive ABCDäößÄÖ§ñ on the mobile phone.

Here are my requests to kannel:

ISO-8859-1 encoded:
http://SERVER:PORT/cgi-bin/sendsms?user=USERpassword=PASSto=RECIPIENTtext=ABCD%e4%f6%fc%c4%d6%dc%dfcharset=ISO-8859-1from=SHORTNUMBER 



smsbox.log says:
2007-04-03 11:23:49 [762] [3] INFO: sendsms
sender:smsSender:SHORTNUMBER (IPADDRESS) to:RECIPIENT
msg:ABCDäöüÄÖÜß

This at least tells me that the characters are transmitted to kannel
correctly but on the mobile I receive ABCDäößÄÖ§ñ

If I send the following UTF-8 encoded request:
http://SERVER:PORT/cgi-bin/sendsms?user=USERpassword=PASSto=RECIPIENTtext=ABCD%c3%a4%c3%b6%c3%bc%c3%84%c3%96%c3%9c%c3%9fcharset=UTF-8from=SHORTNUMBER 



smsbox.log says:
2007-04-03 11:29:12 [762] [3] INFO: sendsms
sender:smsSender:SHORTNUMBER (IPADDRESS) to:RECIPIENT
msg:ABCDäöüÃ84Ã96Ã9CÃ9F

The Mobile still receives ABCDäößÄÖ§ñ

It is interesting that at least ö, ä, Ö and Ä pass through correctly.

How can I find out, why ü, Ü and ß get garbled?

Regards,

Markus




Re: MMS - Kannel and MM1 support

2007-03-13 Thread Mads N. Vestergaard




Hi Giovanni,

I do not believe kannel has support for this, but there is an Open
Source project, which integrates this feature..

It is called Mbuni, and you can read about it at http://www.mbuni.org


Giovanni Licata skrev:

  Hi all,

I got Kannel Server working as SMS gateway but now I need to implement a
MMS gateway using MM1 in order to send mmses GPRS link using parameters
provided by Mobile Operator (APN, Proxy/Gatway, MMSC ...). Does Kannel
support  these  features?

I thank you for your kind attention :)

Best Regards




  



-- 





  

  
..


  Med venlig
hilsen / Best Regards


  


  Mads N. Vestergaard


  Teknisk
ansvarlig / CTO CoolSMS


  


  www.coolsms.com


  Phone:
  +45 7026 1272


  Fax:
  +45 7630 1046


  Mobile:
  +45 5050 4222

  



This email and
any files transmitted with it are confidential and intended solely for
the use of the individual or entity to whom they are addressed. If you
have received this email in error please notify the system manager.
This message contains confidential information and is intended only for
the individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately by e-mail if you have received this e-mail by mistake and
delete this e-mail from your system. If you are not the intended
recipient you are notified that disclosing, copying, distributing or
taking any action in reliance on the contents of this information is
strictly prohibited.