Re: ERROR: SMPP[xxxx]: got DLR but could not find message or was not interested in it

2018-08-03 Thread Fajar
 use database with same DLR table, each kannel database has its own timestamp 
table store, so it is normal respond when DLR received in another kannel box...

On Friday, 3 August 2018, 5:13:55 PM GMT+7, mahesh Lavanam 
 wrote:  
 
 But, this error I'm seeing at kannel.log file. I think as it is not 
identifying it, it does not store into database.
Thanks,Mahesh
On Fri, Aug 3, 2018 at 2:12 PM,  wrote:

Hi,
do both Kannel share the same database and table ? they have to share DLR 
database.
Alex


Am 03.08.2018 um 08:37 schrieb mahesh Lavanam :
Hi,
Please help me in resolving the DLR issue
I have a SMS Port with 2 TX & 2 RX sessions enabled.
I have configured these sessions in two kannel configurations with same smsc id
kannel1.conf - 1TX & 1RX(SMSbox1 & Bearerbox1) 
#1st tx connectiongroup = smscsmsc = smppsmsc-id = tranhost = 
xxx.xxx.xxx.xxport = xxxsmsc-username = xsmsc-password = xxsystem-type 
= smppconnect-allow-ip = 127.0.0.1source-addr-ton = 0source-addr-npi = 
1dest-addr-ton = 1dest-addr-npi = 1

#1st Rx Connectiongroup = smscsmsc = smppsmsc-id = tranhost = 
xxx.xxx.xxx.xxport = xxxsmsc-username = xsmsc-password = xxsystem-type 
= smppconnect-allow-ip = 127.0.0.1source-addr-ton = 0source-addr-npi = 
1dest-addr-ton = 1dest-addr-npi = 1
kannel2.conf  - 1TX & 1RX(SMSbox2 & Bearerbox2) 
#1st tx connectiongroup = smscsmsc = smppsmsc-id = tranhost = 
xxx.xxx.xxx.xxport = xxxsmsc-username = xsmsc-password = xxsystem-type 
= smppconnect-allow-ip = 127.0.0.1source-addr-ton = 0source-addr-npi = 
1dest-addr-ton = 1dest-addr-npi = 1

#1st Rx Connectiongroup = smscsmsc = smppsmsc-id = tranhost = 
xxx.xxx.xxx.xxport = xxxsmsc-username = xsmsc-password = xxsystem-type 
= smppconnect-allow-ip = 127.0.0.1source-addr-ton = 0source-addr-npi = 
1dest-addr-ton = 1dest-addr-npi = 1

In kannel2.log file, I see that kannel1's sms DLRs are receiving and seeing the 
error as below:

DEBUG: DLR[internal]: Looking for DLR smsc=tran, ts=0160683811, 
dst=919134556661, type=1WARNING: DLR[internal]: DLR from SMSC for 
DST<919134556661> not found.ERROR: SMPP[bsnl_tran]: got DLR but could not find 
message or was not interested in it id<0160683811> dst<919134556661>, type<1>
Same error at kannel1.log file, when received the SMS DLRs of kannel2's messages
Please help me to resolve the issue, to route the DLRs into its respective 
kannel's i.e., Kannel1's sent sms dlr into kannel1 & kannel2's sent sms dlr 
into kannel2.
Thanks,Mahesh




  

Re: re DLR Missing on Hug Request

2016-07-03 Thread Fajar
if you sure you have map correctly msgid with DLR url. you'll need to check how 
fast you can submit message to SMSC, you'll need to match with your submit to 
kannel. i'm sending around 150k messages per day, only miss around 100 DLR if 
smsc work correctly. if smsc got slow, kannel will build queue upto 10k 
messages. at that that DLR miss will be more 1k...
thanks
fajar

  From: Web Services <coinhost...@gmail.com>
 To: users@kannel.org 
 Sent: Saturday, 2 July 2016, 18:55
 Subject: re DLR Missing on Hug Request
   
Can anyone help on this ??

Hello,

am using kannel 1.4.4 with Ubuntu 14.4 but am facing an issue with large
volume of sms.i mean my application and kannel works perfectly if i send upto 
100's
message but on large volume like 10,000 or more i missed lots of DLR
reports. am using external storage with spool and dlr url



kindly suggest

Deepak

   

Wrong DLR-URL msisdn and status

2014-01-21 Thread Fajar
hello all,

i have a problem with dlr in kannel. in log :

2014-01-22 10:50:19 [11861] [7] DEBUG: SMPP[XLMT3] handle_pdu, got DLR
2014-01-22 10:50:19 [11861] [7] DEBUG: SMPP[XLMT3]: Couldnot parse DLR string 
sscanf way,fallback to old way. Please report!
2014-01-22 10:50:19 [11861] [7] DEBUG: DLR[internal]: Looking for DLR 
smsc=XLMT3, ts=4294967295, dst=412021155, type=1
2014-01-22 10:50:19 [11861] [7] DEBUG: DLR[internal]: created DLR message for 
URL 
http://202.53.250.242:8088/dr/index.php?txid=2014012210495413903625949028status=%da
nswer=%Accode=%Pmsisdn=%pts=%tadn=9011meta-data=%Dmdlr=%B


as you can see the msisdn should be filled with 412021155 and status 1

but in apache access_log
kannel hit with the following information
[22/Jan/2014:10:50:22 +0700] GET 
/dr/index.php?txid=2014012210495413903625949028status=1answer=id%3A11200301140122035010057011+submit+date%3A1401220350+done+date%3A1401220350+stat%3ADELIVRD+text%3AVideo+hewan+LUCU+Updccode=901106msisdn=406229237ts=2014-01-22+03:50:19adn=9011meta-data=%3Fsmpp%3Fmdlr=
 HTP/1.1

msisdn filled with number 406229237 and status 1

while the msisdn self is used before dr got received
[22/Jan/2014:10:50:15 +0700] GET 
/dr/index.php?txid=2014012210494013903625802058status=2answer=id%3A11200301140122035015060501+sub%3A001+dlvrd%3A001+submit+date%3A1401220350+done+date%3A1401220350+stat%3AUNDELIV+err%3A000+text%3AVideo+hewan+LUCU+Updccode=901106msisdn=412021155ts=2014-01-22+03:50:13adn=9011meta-data=%3Fsmpp%3Fdlr_err%3D000%26ErrorCode%3D3101%26ErrorSource%3D012800%26mdlr=

msisdn filled 412021155 and status 2

this is another log for submit_sm
2014-01-22 10:50:08 [11861] [6] DEBUG:   type_name: submit_sm
2014-01-22 10:50:08 [11861] [6] DEBUG:   command_id: 4 = 0x0004
2014-01-22 10:50:08 [11861] [6] DEBUG:   command_status: 0 = 0x
2014-01-22 10:50:08 [11861] [6] DEBUG:   sequence_number: 91968 = 0x00016740
2014-01-22 10:50:08 [11861] [6] DEBUG:   service_type: NULL
2014-01-22 10:50:08 [11861] [6] DEBUG:   source_addr_ton: 0 = 0x
2014-01-22 10:50:08 [11861] [6] DEBUG:   source_addr_npi: 1 = 0x0001
2014-01-22 10:50:08 [11861] [6] DEBUG:   source_addr: 901106
2014-01-22 10:50:08 [11861] [6] DEBUG:   dest_addr_ton: 1 = 0x0001
2014-01-22 10:50:08 [11861] [6] DEBUG:   dest_addr_npi: 1 = 0x0001
2014-01-22 10:50:08 [11861] [6] DEBUG:   destination_addr: 412021155
2014-01-22 10:50:08 [11861] [6] DEBUG:   esm_class: 3 = 0x0003
2014-01-22 10:50:08 [11861] [6] DEBUG:   protocol_id: 0 = 0x
2014-01-22 10:50:08 [11861] [6] DEBUG:   priority_flag: 0 = 0x
2014-01-22 10:50:08 [11861] [6] DEBUG:   schedule_delivery_time: NULL
2014-01-22 10:50:08 [11861] [6] DEBUG:   validity_period: NULL
2014-01-22 10:50:08 [11861] [6] DEBUG:   registered_delivery: 1 = 0x0001
2014-01-22 10:50:08 [11861] [6] DEBUG:   replace_if_present_flag: 0 = 0x
2014-01-22 10:50:08 [11861] [6] DEBUG:   data_coding: 0 = 0x
2014-01-22 10:50:08 [11861] [6] DEBUG:   sm_default_msg_id: 0 = 0x
2014-01-22 10:50:08 [11861] [6] DEBUG:   sm_length: 121 = 0x0079
2014-01-22 10:50:08 [11861] [6] DEBUG:   short_message:
2014-01-22 10:50:08 [11861] [6] DEBUG:Octet string at 0xb0e14ce0:
2014-01-22 10:50:08 [11861] [6] DEBUG:  len:  121
2014-01-22 10:50:08 [11861] [6] DEBUG:  size: 122
2014-01-22 10:50:08 [11861] [6] DEBUG:  immutable: 0
2014-01-22 10:50:08 [11861] [6] DEBUG:  data: 56 69 64 65 6f 20 68 65 77 61 
6e 20 4c 55 43 55   Video hewan LUCU
2014-01-22 10:50:08 [11861] [6] DEBUG:  data: 20 55 70 64 61 74 65 20 62 61 
6e 67 65 74 21 21Update banget!!
2014-01-22 10:50:08 [11861] [6] DEBUG:  data: 20 41 6d 62 69 6c 20 64 61 6e 
20 6c 69 68 61 74Ambil dan lihat
2014-01-22 10:50:08 [11861] [6] DEBUG:  data: 20 76 69 64 65 6f 6e 79 61 20 
6b 6c 69 6b 20 68videonya klik h
2014-01-22 10:50:08 [11861] [6] DEBUG:  data: 74 74 70 3a 2f 2f 6d 2e 64 75 
6e 69 61 6b 6f 6e   ttp://m.duniakon
2014-01-22 10:50:08 [11861] [6] DEBUG:  data: 74 65 6e 2e 63 6f 6d 2f 76 69 
64 65 6f 6c 75 63   ten.com/videoluc
2014-01-22 10:50:08 [11861] [6] DEBUG:  data: 75 31 36 2e 33 67 70 20 43 53 
3a 20 30 32 31 2d   u16.3gp CS: 021-
2014-01-22 10:50:08 [11861] [6] DEBUG:  data: 37 30 33 31 35 32 38 31 20
70315281
2014-01-22 10:50:08 [11861] [6] DEBUG:Octet string dump ends.
2014-01-22 10:50:08 [11861] [6] DEBUG:   serviceid: 001335202456
2014-01-22 10:50:08 [11861] [6] DEBUG: SMPP PDU dump ends.

Hope someone know where to check it.

Thanks

Fajar



RE: Delivery Report Not Working

2008-09-23 Thread fajar
Ok, thanks for the response, it seems operator made changes. If succes, they
don't send delivery report, while if error, they send the delivery report.
Yes, this is Indonesia XL. We have check, the error code related with
charging problem.

Fajar

 -Original Message-
 From: sangprabv [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, September 23, 2008 12:46 PM
 To: fajar
 Cc: users@kannel.org
 Subject: Re: Delivery Report Not Working
 
 Hi,
 Is this Indonesia XL? If yes, then please check your official
 documentation from them, 1280 and 1288 is their custom DLR status.
 
 Regards,
 
 
 Willy
 
 
 





RE: How to test mysql

2008-09-22 Thread fajar
Please read the manual before asking, what you do is sending SMS through
SMPP, while the get-url launched when kannel get MO from SMPP. So what you
do is not related. Fakesmsc become SMPP server, while kannel become SMPP
client, and you're simulating SMPP server sending MO using SMPP protocol to
SMPP client. That's why get-url get launched.

Fajar

 -Original Message-
 From: wahib [mailto:[EMAIL PROTECTED]
 Sent: Monday, September 22, 2008 7:11 PM
 To: users@kannel.org
 Subject: Re: How to test mysql
 
 
 Sir,
 I have configured sms-service as
 
 group = sms-service
 keyword = complex
 max-messages = 5
 get-url =
 http://localhost/jaroka/wahib/Kannel/yahoo.php?sender=%pmsg=%a;
 accept-x-kannel-headers = true
 concatenation =false
 
 when i run fake smsc command in my Open-Suse terminal like ...
 
 ./fakesmsc -i 0.01 -m 1 100 200 text complex hello
 
 its hits url and generates auto-reply whatever is posted on that web-page.
 But when i use url-command like
 
 http://192.168.20.39:13131/cgi-
 bin/sendsms?username=kanneluserpassword=foobarto=123456text=complex
 
 then it just shows message send but doesnt hit the get-url command.Dont
 know
 why is it like this ? is there any other issue?
 
 plz reply.
 
 Regards,
 wahib
 --
 View this message in context: http://www.nabble.com/mysql-storage-
 tp19393424p19606730.html
 Sent from the Kannel - User mailing list archive at Nabble.com.
 
 
 





Delivery Report Not Working

2008-09-22 Thread fajar
Anyone knows what is the caused of getting this response in DLR :

NACK/1280/Unknown/Reserved

Or

NACK/1288/Unknown/Reserved

 

When we do UAT for first time, we got working DLR reponse like this one..

id:3546199716 sub:000 dlvrd:000 submit date:0707261705 done date:0707261705
stat:DELIVRD err:000 text:TARIF 500

 

After several months, we don't check the delivery status information again.
We're surprised to know that the DLR response like above. Is there something
in kannel kan fix this problem?

 

Fajar



RE: get mesage ID without DLR

2008-09-18 Thread fajar
Wow, that's a good idea, I can get the submit_sm_resp message_id from kannel
right now. Usually I must relate MT transaction with DLR with special
number. I can't wait the patch :-)

 

Fajar

 

  _  

From: Alejandro Guerrieri [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2008 3:51 AM
To: users@kannel.org
Subject: Re: get mesage ID without DLR

 

I'm finishing a patch to be able to grab the submit_sm_resp message_id field
and use it with a paremter on the dlr-url (I've chose the %w parameter for
this). You'll need a mask anyway, only that the dlr won't come from the
carrier but from inside kannel itself.

Will post it to the list later so it can be also tested by other people.

Stay tuned ;)

Regards,

Alejandro



On Thu, Sep 18, 2008 at 4:49 PM, Gustavo Mohme C. [EMAIL PROTECTED] wrote:


Hi All,

I am currently using mask=31. Nevertheless, it is generating unnecessary
traffic since I am only interested in getting the message_id from the
submit_sm_resp. Is there a way to get the message_id without using mask=#?
 The reason I only need to get the message_id is because, after the id is
stored, I use query_sm to check the status(SMSC doesn't support DLR) of the
message. What would be the simplest mask value that would get this job
done(mask=1 maybe?).
Thanks a lot!
Gustavo

 

 



RE: Administrate Linux services with sms

2008-09-18 Thread fajar
You should ask the php developer mailing list to accomplish this, but for
basic idea, I think you should do :

1.  allow ssh access from php server to remote server(I mean direct
acess without asking password)
2.  from ssh you can launch command directly to remote server, and get
the result

 

Fajar

 

  _  

From: Têvi Rodrigue Lawson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 18, 2008 9:29 PM
To: users@kannel.org
Subject: Administrate Linux services with sms

 

Hi,

 

i have configured my kannel and pull/push message work correctly.

I would like to administrate linux services (ssh, apache...) remotely with
sms. The first thing i would like to do is to be able to stop and start
services. 

The problème is that, i don't know exactly what my php code would look like!

Please i need help !

 

 Tevi

 

 



RE: get mesage ID without DLR

2008-09-18 Thread fajar
I saw your path in development mailing list, but you don't state the patch
againts what kannel version, CVS or 1.4.1 ?

 

Thanks

 

  _  

From: Alejandro Guerrieri [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2008 10:23 AM
To: fajar
Cc: users@kannel.org
Subject: Re: get mesage ID without DLR

 

Ok, just sent my patch to the devel list.

If you're not subscribed let me know and I'll forward it to you (I don't
want to cross-post with patches on the users list).

Regards,

Alex

On Thu, Sep 18, 2008 at 11:09 PM, fajar [EMAIL PROTECTED] wrote:

Wow, that's a good idea, I can get the submit_sm_resp message_id from kannel
right now. Usually I must relate MT transaction with DLR with special
number. I can't wait the patch :-)

 

Fajar

 

  _  

From: Alejandro Guerrieri [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 19, 2008 3:51 AM
To: users@kannel.org
Subject: Re: get mesage ID without DLR

 

I'm finishing a patch to be able to grab the submit_sm_resp message_id field
and use it with a paremter on the dlr-url (I've chose the %w parameter for
this). You'll need a mask anyway, only that the dlr won't come from the
carrier but from inside kannel itself.

Will post it to the list later so it can be also tested by other people.

Stay tuned ;)

Regards,

Alejandro

On Thu, Sep 18, 2008 at 4:49 PM, Gustavo Mohme C. [EMAIL PROTECTED] wrote:


Hi All,

I am currently using mask=31. Nevertheless, it is generating unnecessary
traffic since I am only interested in getting the message_id from the
submit_sm_resp. Is there a way to get the message_id without using mask=#?
 The reason I only need to get the message_id is because, after the id is
stored, I use query_sm to check the status(SMSC doesn't support DLR) of the
message. What would be the simplest mask value that would get this job
done(mask=1 maybe?).
Thanks a lot!
Gustavo

 

 

 



RE: Mail to SMS with Kannel

2008-09-11 Thread fajar
Hello,

 

I'm using maildrop to support this, this the maildroprc file inside.

LOGDIR=/var/log

logfile $LOGDIR/maildroprc.log

 

cc $DEFAULT

to |/usr/sbin/parsing.pl

 

and this is the parsing.pl file inside..

 

#!/usr/bin/perl

use Shell;

#use strict;

use Mail::Internet;

use String::Rexx qw( :all );

use HTTP::Lite;

 

my $http = new HTTP::Lite;

#ambil header

my $header = Mail::Internet-new(*STDIN)-head()-header_hashref();

chomp $header-{$_}[0] foreach keys(%{$header});

 

#ambil subject,from,to daro header

my $subject = $header-{Subject}[0];

my $from = $header-{From}[0];

my $to = $header-{To}[0];

 

#ganti karakter2x yang tidak benar step 1

my $from1 = changestr('@',changestr('',$from,'\'),'\@');

my $to1 = changestr('@',changestr('',$to,'\'),'\@');

 

#ganti karakter2x yang tidak benar step 2

my $dari = bersihkan($from1);

my $ke = bersihkan($to1);

 

my $req =
$http-request(http://10.1.1.2:8080/am13/mailNotif?from=$darito=$ke;) or
die Unable to open connection to sms notify: $!;

 

sub bersihkan {

if ($_[$from] =~ m/(.+)\s\(.+)\@(.+)\/) {

my $from =~ m/(.+)\s\(.+)\@(.+)\/;

my $panjang = length($2.\@.$3);

my $from = substr($2.\@.$3, 0);

} else {

my $from = $_[$from];

}

};

 

exit 0;

 

cheers

 

Fajar

  _  

From: Joyce Gutierrez [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 10, 2008 9:39 AM
To: Kannel users
Subject: Mail to SMS with Kannel

 

Hi guys,

I can now send SMS to phones with kannel. Now I am trying to integrate
Kannel with Postfix in a way that whenever a new message arrives at the
inbox it would be forwarded to the intended receivers to their mobile
phones

I have read some posts about this, and have tried using procmail and a perl
script to parse the email and forward it to my /cgi-bin/sendsms,,

here is my .procmailrc

TO=`formail -xTo:`
SUBJECT=`formail -xSubject: \
| expand | sed -e 's/^[ ]*//g' -e 's/[ ]*$//g'`
SENDER=`formail -xFrom: \
| expand | sed -e 's/^[ ]*//g' -e 's/[ ]*$//g'`
BODY= `formail -I  \
| expand | sed -e '1,/^$/ d' -e '1,/^$/ d'`
BODY=`formail -I  `
SENDER=`formail -rtzxTo:`
:0
| perl /home/sms/massms/newsms.pl $SENDER $TO $SUBJECT $BODY 
/home/sms/massms/maillog.txt


Unfortunately, whenever I test sending an email, the mail is just received
by the procmail and nothing happens anymore,, The log I specified in
.procmailrc just remains to be empty,

Could there be any other way to implement Mail to SMS? Or couold any body
point ut what possibly is my problem?
I hope somebody could help me,

Thanks in advance
Joyce

 

 



Relation DLR and MT

2007-07-05 Thread Fajar
Hello all, 

After using for while, i've setup bearerbox-sqlboxstandalone-smsbox

I'm using the DLR function.., but I'm confuse how to related the DLR with which 
MT. The MT
will be logged in a table in database before it get submit_resp. After kannel 
submit the message
the kannel will insert in another part of table in database with it's 
submit_resp that kannel get
from smsc. And it will get updated once the SMSC send the DLR. Eventhough in 
DLR there
is some part that include text part, but it's not complete. And then, how do I 
know which DLR
report for a MT ?

Fajar

Re: [OT] Need to find a bluetooth server (for shopping mall etc)

2007-03-06 Thread Fajar
Currently, we are reviewing bluegiga, one of solution for bluetooth server. 
It has linux inside, we want to put kannel inside if possible.


Cheers
- Original Message - 
From: John Steel [EMAIL PROTECTED]

To: users@kannel.org
Sent: Tuesday, March 06, 2007 6:24 PM
Subject: [OT] Need to find a bluetooth server (for shopping mall etc)


Please, does anyone know of a source for the hardware access points for 
these?


--
--
http://www.phonewebcam.com
[EMAIL PROTECTED]





Re: smpp reconnect error

2007-03-01 Thread Fajar
maybe the operator? some operators keep connection for long until the smsc 
port restarted. so, I think, you should ask the operator when you have 
problem with connection. Asking their help to restart the smsc port.
- Original Message - 
From: [EMAIL PROTECTED]

To: users@kannel.org
Sent: Wednesday, February 28, 2007 8:12 PM
Subject: smpp reconnect error



Dear All,
  my smsc runs fine but after running for a long time it gives
smpp error couldn't connect to smsc center.
  i have tried reconnect-delay but it doesn't work. and what is the
reason for the disconnection?
Regards,
Iftikhar





Fedora is faster than RHEL?

2007-01-14 Thread Fajar Priyanto
Hi all,
A colleaque of mine encouter this interesting case:
He has 2 machine running the latest kannel (compiled from source) on 2 
different machines.
One machine is Fedora 4 with non-branded IBM compatible CPU, the other is 
RHEL4 U3, with HP DL 3335.

The problem is, he insists that kannel on FC4 is three times faster in 
responding than on RHEL4U3.

It just doesn't make sense, right? Or, is FC4 is indeed faster than RHEL4U3?
Any thoughts are most welcome.
Thank you,
-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
10:22am up 1:14, 2.6.16.13-4-default GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org


pgpWcubArEsNi.pgp
Description: PGP signature


WAP Push Over CDMA Network

2006-10-16 Thread Fajar



Hello there,

I'm connecting to SMPP server our telco company. We 
would like to send wap push that will be sent into cdma mobile. Is Kannel 
supporting this feature? I'm settingup ppg, but it seems the wap push never get 
sent into mobile? Maybe someone willing helping me out.

Thanks
Fajar


Re: Asking again about regex

2006-09-26 Thread Fajar



Eventhough it's already out the patch for gateway 
1.4.0, but manual patch seems not working in 1.4.1(I don't understand c too 
much). So, is possible to convert white space into another character like "+". 
So it can be selected by keyword-regex.

Thanks All
Fajar

  - Original Message - 
  From: 
  Fajar 
  To: users@kannel.org 
  Sent: Monday, September 25, 2006 9:15 
  AM
  Subject: Asking again about regex
  
  Dear All,
  
  How to make kannel read the following 
  keyword-regex :
  ak dl
  ak menu
  They need to be send to different 
  servers.
  I'm trying with ak(\s)dl, but not 
  working.
  
  thanks
  
  
  (sorry if stupid questin, i just 
  learn)


Re: [STATUS] Kannel 1.4.1 stable release

2006-09-25 Thread Fajar

It takes long to go to 1.4.1, keep your good work.

cheers
- Original Message - 
From: Willy [EMAIL PROTECTED]

To: Stipe Tolj [EMAIL PROTECTED]; announce@kannel.org
Cc: Kannel Development list devel@kannel.org; Kannel Users 
users@kannel.org

Sent: Tuesday, September 26, 2006 8:40 AM
Subject: Re: [STATUS] Kannel 1.4.1 stable release



Congratulation for the new born Kannel 1.4.1 :)

Regards


Willy
- Original Message - 
From: Stipe Tolj [EMAIL PROTECTED]

To: announce@kannel.org
Cc: Kannel Development list devel@kannel.org; Kannel Users
users@kannel.org
Sent: Monday, September 25, 2006 11:26 PM
Subject: [STATUS] Kannel 1.4.1 stable release



The Kannel Group is pleased to announce the availability of Kannel 1.4.1

stable

release via it's web site at URL

   http://www.kannel.org/download.shtml

Please find attached the NEWS file section for release 1.4.1 stable.

Stipe

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

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

mailto:st_{at}_tolj.org   mailto:stolj_{at}_kannel.org
---









NEWS about Kannel: Open Source WAP and SMS Gateway version 1.4.1

This is a STABLE version. It should be usable for production systems.
Please do report problems to the Kannel bug tracking system available at
http://bugs.kannel.org/ or send a mail to devel@kannel.org (the

development

mailing list).


Changes since version 1.4.0:

[*** Beware that the version move from 1.4.0 to 1.4.1 contains more then

200
changesets, with major bugfixes and improvemnts. Following is a summary 
of

the

main issues. For a complete and detailed set of changes please refer to

the

specific ChangeLog in the doc/ directory of the distribution. ***]

Compatibility breakers:

  * Format for wapbox's access-log format changed to include the MSISDN 
of

a client as second argument after client IP and before method.

  * fakesmsc uses now -r to specify the remote port on bearerbox side.

Option

-p is generally reserved for pid file creation.

  * sendsms now obeys bearerbox's reply before indicating result to HTTP
caller. This breaks any application layer clients that rely on the

HTTP

body response of sendsms. To enforce the old behaviour use config
directive 'immediate-sendsms-reply = true' in smsbox group.

  * DLR via MySQL uses now also 'username' and 'password' for the
mysql-connection group in order to harmonize the config names.

New features:

  * Added config directive 'store-dump-freq' to core group to define the
fequency of the store-file dumping mechanism.

  * Added backtrace support for Linux. In case of PANIC, we get a

backtrace

of the called routines to make debugging easier.

  * Added some new modem groups to doc/examples/modems.conf.

  * Added more WTAI functions to support.

  * Added RAW TCP support for remote termnial servers for AT modem

devices.


  * Added 'config.nice' support while configure time, to allow

remembering

the used configure flags and options.

  * Added OMA ProvCont support via OTA messages.

  * Added SyncML support via OTA messages.

  * Added directive 'wml-strict' to wapbox group.

  * SMPP data_sm PDUs are supported now for MO messages.

  * SMPP added config directives 'bind-addr-ton' and 'bind-addr-npi' to

allow

setting values for bind_receiver and/or bind_transmitter PDUs.

  * Added support for WSP 1.6 headers.

  * Added automatic support for large files, via compiler directives.

  * Added config line delimiter via \ (backslash). This allows wrapping

config

lines to several lines.

  * Added support for hooking config group definition files as our own
gwlib/cfg.def from external add-on modules to the core. Main 
intention

is

to provide a installed Kannel without the need of patching the source

for

any modules that use Kannel's gwlib and gw libs.

  * Added config directives 'bearerbox-port' and 'bearerbox-port-ssl' to
smsbox group, in order to not need any core group reading of external
modules, ie. sqlbox.

  * Added config directive 'max-pending-requests' for smsbox group to

control

the outbound requests stream generated from smsbox towards HTTP
application servers.

Bugfixes:

  * Fixed several bugs in TCP connection handling.

  * Fixed several bugs in HTTP communication layer.

  * Fixed segfaults on x86_64 (Intel Xeon) platforms.

  * SMPP validity and defer time are set in UTC, several improvements and
error checks added.

  * Fixed several 'make check' issues.

  * MySQL support fixed, where certain function prototype names clashed
with our own gwlist structure.

  * DLR support for PostgreSQL fixed for LIMIT clause usage.

  * 

Re: Kannel with keyword regex

2006-09-24 Thread Fajar

O, thanks, I think I forget to compile the kannel with pcre support, now the
keyword-regex function already working. thanks.

- Original Message - 
From: Stipe Tolj [EMAIL PROTECTED]

To: Fajar [EMAIL PROTECTED]
Cc: users@kannel.org
Sent: Sunday, September 24, 2006 8:24 PM
Subject: Re: Kannel with keyword regex



Fajar wrote:


hello everyone,

i just new with this kannel stuff, usually i play with nowsms. the most 
interesting thing from kannel is support regular expression. but i don't 
know, why the keyword-regex not working even the aliases not working 
either. here is the example


first of all... nowsms: bahhh. :p ... (just kidding ;)

We're aware that currently aliases in sms-service groups are broken, see
http://bugs.kannel.org/view.php?id=224


group = sms-service
keyword = hello
aliases = hallo;haalloo
text   hello world!

or

group = sms-service
keyword = hello
keyword-regex = haalloo
text   hello world!

it seems the smsbox never read the aliases or keyword-regex, it only read 
the keyword.


yep, you can't use both 'keyword' and 'keyword-regex', you should use only 
one.


i'm using the cvs version (20060919), with ubuntu linux. maybe someone 
willing to help me out.


yep, we need to fix alias handling.

Stipe

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

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

mailto:st_{at}_tolj.org   mailto:stolj_{at}_kannel.org
--- 




Asking again about regex

2006-09-24 Thread Fajar



Dear All,

How to make kannel read the following keyword-regex 
:
ak dl
ak menu
They need to be send to different 
servers.
I'm trying with ak(\s)dl, but not 
working.

thanks


(sorry if stupid questin, i just 
learn)


Kannel with keyword regex

2006-09-21 Thread Fajar



hello everyone,

i just new with this kannel stuff, usually i play 
with nowsms. the most interesting thing from kannel is support regular 
_expression_. but i don't know, why the keyword-regex not working even the aliases 
not working either. here is the example

group = sms-service
keyword = hello
aliases = hallo;haalloo
text "hello world!"

or


group = sms-service
keyword = hello
keyword-regex= haalloo
text "hello world!"

it seems the smsbox never read the aliases or 
keyword-regex, it only read the keyword.

i'm using the cvs version (20060919), with ubuntu 
linux. maybe someone willing to help me out.

thank you


Time is in GMT?

2006-04-19 Thread Fajar Priyanto
Hi all,
First of all I'm sorry if this is not kannel related.
I setup an sms gateway using Kannel + Itegno GSM Modem + Playsms.
Everything seems to be running OK. However, when Playsms receives sms, the 
time in the inbox is GMT, whereas my timezone is GMT + 7.
Is there anything I should do to correct it?

This is what Playsms invoke when receiving sms:

exec = /usr/local/bin/kannel_incoming %t %q %a

This is kannel_incoming:
#!/bin/bash

# change this if your kannel's incoming path in other directory
KANNEL_PATH=/usr/local

KANNEL_FILE=`mktemp -q $KANNEL_PATH/cache/smsd/ERR.in.XX`

touch $KANNEL_FILE
chmod 666 $KANNEL_FILE

# exec = /usr/local/bin/kannel_incoming %t %q %a
# $1 : %t
# $2 : %q
# $3 : %a
echo -e $1\n$2  $KANNEL_FILE
echo $3  $KANNEL_FILE

Thank you in advance,
-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
18:13:50 up 9:47, 2.6.15-1.2054_FC5 GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org



Re: New problem

2006-04-06 Thread Fajar Priyanto
On Friday 24 March 2006 01:04 am, Teo wrote:
 2006-03-23 18:30:37 [7671] [7] DEBUG: AT2[TEO]: -- +CMS ERROR: 500

 2006-03-23 18:30:37 [7671] [7] ERROR: AT2[TEO]: CMS ERROR: +CMS ERROR: 500
 (Unknown error. - maybe Sim storage is full? I'll have a look at it.)

To make the error verbose, we can turn it on by passing this in kannel.conf:
group = modems
init-string = AT+CNMI=1,2,0,1,0;+CMEE=1
CMIIW,
-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
07:53:00 up 39 min, 2.6.15-1.1830_FC4 GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org



SMS gateway tutorial

2006-02-26 Thread Fajar Priyanto
Hi all,
I have translated the SMS gateway tutorial. 
It's on 
http://linux2.arinet.org/index.php?option=com_contenttask=viewid=122Itemid=2
And the PDF format can be downloaded from:
http://linux2.arinet.org/index.php?option=com_remositoryItemid=31func=selectid=3
Pls logon first to download.

Hopefully this article can be helpful,
-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
00:39:39 up 4:59, 2.6.15-1.1830_FC4 GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org



Re: Itengo + kannel + playsms

2006-02-15 Thread Fajar Priyanto
On Wednesday 15 February 2006 12:10 pm, Fajar Priyanto wrote:
 Thank you very much Pak Adi,
 Now the Itegno stops sending reply when it receives message.

 This is what shows in smsbox.log:
 INFO: HTTP: Opening server at port 13131.
 INFO: Set up send sms service at port 13131
 INFO: Connected to bearerbox at localhost port 13001.
 INFO: smsbox: Got HTTP request /cgi-bin/sendsms from 127.0.0.1
 INFO: sendsms used by playsms
 INFO: sendsms sender:playsms:+628161922701 (127.0.0.1) to:+628161217933
 msg:H
 INFO: Starting delivery report playsms from +628161922701
 INFO: Starting delivery report playsms from +628161922701
 INFO: Starting to service Je t'aime gros! from +628161217933 to 1234
 INFO: No reply sent, denied.

 The only problem left is any message received by itegno does not show in
 playsms' inbox.

Hmm I think I found the problem. Thanks Mas Anton.
I use kannel from RPM. Can you tell me where kannel put the received sms?

In /usr/local/bin/kannel_incoming :
#!/bin/bash

# change this if your kannel's incoming path in other directory
KANNEL_PATH=/usr/local

KANNEL_FILE=`mktemp -q $KANNEL_PATH/cache/smsd/ERR.in.XX`

touch $KANNEL_FILE
chmod 666 $KANNEL_FILE

# exec = /usr/local/bin/kannel_incoming %t %q %a
# $1 : %t
# $2 : %q
# $3 : %a
echo -e $1\n$2  $KANNEL_FILE
echo $3  $KANNEL_FILE

Thanks,
Fajar.


-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
17:40:49 up 9:57, 2.6.15-1.1830_FC4 GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org



Re: Itengo + kannel + playsms

2006-02-15 Thread Fajar Priyanto
Hi all,
Maybe this info is useful ? I still cannot receive sms in my playsms inbox. 
In /usr/local/cache/smsd/ I see a lot ERR file. What does it mean?

This my smsbox debug when receiving message:

Starting delivery report playsms from +628162932401
 Parsing URL 
`http://localhost/~playsms/plugin/gateway/kannel/dlr.php?type=1slid=91uid=1':
   Scheme: http://
   Host: localhost
   Port: 80
   Username: (null)
   Password: (null)
   Path: /~playsms/plugin/gateway/kannel/dlr.php
   Query: type=1slid=91uid=1
   Fragment: (null)
 HTTP: Opening connection to `localhost:80' (fd=28).
 Socket connecting
 Get info about connecting socket
 HTTP: Sending request:
 Octet string at 0x9febd70:
   len:  120
   size: 1024
   immutable: 0
   data: 47 45 54 20 2f 7e 70 6c 61 79 73 6d 73 2f 70 6c   GET /~playsms/pl
   data: 75 67 69 6e 2f 67 61 74 65 77 61 79 2f 6b 61 6e   ugin/gateway/kan
   data: 6e 65 6c 2f 64 6c 72 2e 70 68 70 3f 74 79 70 65   nel/dlr.php?type
   data: 3d 31 26 73 6c 69 64 3d 39 31 26 75 69 64 3d 31   =1slid=91uid=1
   data: 20 48 54 54 50 2f 31 2e 31 0d 0a 48 6f 73 74 3aHTTP/1.1..Host:
   data: 20 6c 6f 63 61 6c 68 6f 73 74 0d 0a 55 73 65 72localhost..User
   data: 2d 41 67 65 6e 74 3a 20 4b 61 6e 6e 65 6c 2f 31   -Agent: Kannel/1
   data: 2e 34 2e 30 0d 0a 0d 0a   .4.0
 Octet string dump ends.
 HTTP: Status line: HTTP/1.1 200 OK
 HTTP: Received response:
 Octet string at 0x9fec770:
   len:  192
   size: 1024
   immutable: 0
   data: 44 61 74 65 3a 20 57 65 64 2c 20 31 35 20 46 65   Date: Wed, 15 Fe
   data: 62 20 32 30 30 36 20 31 31 3a 34 36 3a 34 36 20   b 2006 11:46:46
   data: 47 4d 54 0d 0a 53 65 72 76 65 72 3a 20 41 70 61   GMT..Server: Apa
   data: 63 68 65 2f 32 2e 30 2e 35 34 20 28 46 65 64 6f   che/2.0.54 (Fedo
   data: 72 61 29 0d 0a 58 2d 50 6f 77 65 72 65 64 2d 42   ra)..X-Powered-B
   data: 79 3a 20 50 48 50 2f 35 2e 30 2e 34 0d 0a 50 72   y: PHP/5.0.4..Pr
   data: 61 67 6d 61 3a 20 6e 6f 2d 63 61 63 68 65 0d 0a   agma: no-cache..
   data: 43 6f 6e 74 65 6e 74 2d 4c 65 6e 67 74 68 3a 20   Content-Length:
   data: 30 0d 0a 43 6f 6e 6e 65 63 74 69 6f 6e 3a 20 63   0..Connection: c
   data: 6c 6f 73 65 0d 0a 43 6f 6e 74 65 6e 74 2d 54 79   lose..Content-Ty
   data: 70 65 3a 20 74 65 78 74 2f 68 74 6d 6c 3b 20 63   pe: text/html; c
   data: 68 61 72 73 65 74 3d 55 54 46 2d 38 0d 0a 0d 0a   harset=UTF-8
 Octet string dump ends.
Starting to service Yah udah deh  from +628162937923 to 1234
 executing sms-service '/usr/local/bin/kannel_incoming 2006-02-15+11:49:22 
%2B628161107923 Yah+udah+deh'
No reply sent, denied.






On Wednesday 15 February 2006 05:40 pm, Fajar Priyanto wrote:
 On Wednesday 15 February 2006 12:10 pm, Fajar Priyanto wrote:
  Thank you very much Pak Adi,
  Now the Itegno stops sending reply when it receives message.
 
  This is what shows in smsbox.log:
  INFO: HTTP: Opening server at port 13131.
  INFO: Set up send sms service at port 13131
  INFO: Connected to bearerbox at localhost port 13001.
  INFO: smsbox: Got HTTP request /cgi-bin/sendsms from 127.0.0.1
  INFO: sendsms used by playsms
  INFO: sendsms sender:playsms:+628161922701 (127.0.0.1)
  to:+628161217933 msg:H
  INFO: Starting delivery report playsms from +628161922701
  INFO: Starting delivery report playsms from +628161922701
  INFO: Starting to service Je t'aime gros! from +628161217933 to
  1234 INFO: No reply sent, denied.
 
  The only problem left is any message received by itegno does not show in
  playsms' inbox.

 Hmm I think I found the problem. Thanks Mas Anton.
 I use kannel from RPM. Can you tell me where kannel put the received sms?

 In /usr/local/bin/kannel_incoming :
 #!/bin/bash

 # change this if your kannel's incoming path in other directory
 KANNEL_PATH=/usr/local

 KANNEL_FILE=`mktemp -q $KANNEL_PATH/cache/smsd/ERR.in.XX`

 touch $KANNEL_FILE
 chmod 666 $KANNEL_FILE

 # exec = /usr/local/bin/kannel_incoming %t %q %a
 # $1 : %t
 # $2 : %q
 # $3 : %a
 echo -e $1\n$2  $KANNEL_FILE
 echo $3  $KANNEL_FILE

 Thanks,
 Fajar.

-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
18:59:20 up 11:16, 2.6.15-1.1830_FC4 GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org



Re: Itengo + kannel + playsms

2006-02-14 Thread Fajar Priyanto
Can anyone help me please?
Thank you.

On Monday 13 February 2006 05:45 pm, Fajar Priyanto wrote:
 Ok guys,
 After setting up AT + CMEE = 1 now I can see the error. It's ERROR 38,
 means network service provider is not available. That's because I ran out
 of credit of my calling card. After I refill the credit, I can send sms
 again.

 However, I have 2 questions:
 1. Kannel shows that it can receive sms, but it doesn't show in playsms
 inbox.

 DEBUG: AT2[astridosms]: Numeric sender (international) +6281513003016
 DEBUG: AT2[astridosms]: User data length read as (15)
 DEBUG: AT2[astridosms]: Udh decoding done len=15 udhi=0 udhlen=0 udh=''
 WARNING: smsbox_list empty!
 WARNING: smsbox_list empty!
 WARNING: smsbox_list empty!
 DEBUG: AT2[astridosms]: -- AT+CNMA^M
 DEBUG: AT2[astridosms]: -- OK
 DEBUG: Started thread 9 (gw/bb_boxc.c:function)
 DEBUG: Thread 9 (gw/bb_boxc.c:function) maps to pid 3715.
 INFO: Client connected from 127.0.0.1
 DEBUG: Started thread 10 (gw/bb_boxc.c:boxc_sender)
  DEBUG: Thread 10 (gw/bb_boxc.c:boxc_sender) maps to pid 3715.
  DEBUG: send_msg: sending msg to box: 127.0.0.1
  DEBUG: boxc_sender: sent message to 127.0.0.1
 DEBUG: boxc_receiver: sms received
 DEBUG: send_msg: sending msg to box: 127.0.0.1
 DEBUG: boxc_receiver: got ack
 DEBUG: Dumping 1 messages and 0 acks to store
 DEBUG: AT2[astridosms]: TP-Validity-Period: 24.0 hours
 DEBUG: AT2[astridosms]: -- AT+CMGS=46^M
 DEBUG: AT2[astridosms]: -- 
 DEBUG: AT2[astridosms]: send command status: 1
 DEBUG: AT2[astridosms]: --
 0011000D91261815033010F6A723BC621B4ECF83E465383B0F32CBDF6DD0BC2CB7A7C76
5105CFEB6A7C965B90F DEBUG: AT2[astridosms]: -- ^Z
 DEBUG: AT2[astridosms]: -- 
 DEBUG: AT2[astridosms]: -- +CMGS: 142
 DEBUG: AT2[astridosms]: -- OK
 DEBUG: AT2[astridosms]: send command status: 0
 DEBUG: boxc_receiver: heartbeat with load value 0 received

 Smsbox message:
 INFO: Starting to service Test ke playsms from +6281513003016 to 1234
 DEBUG: executing sms-service '/usr/local/bin/kannel_incoming
 2006-02-13+09:55:41 %2B6281513003016 Test+ke+playsms'
 DEBUG: message length 35, sending 1 messages

 2. It seems that when I receive sms, kannel/playsms will send a message to
 the sender: Empty reply from service provider. Why's that? I don't want it
 to send anything when it receives a sms.

 Thank you very much,
 Fajar

 On Monday 13 February 2006 07:38 am, adi wrote:
  On Sun, Feb 12, 2006 at 07:29:16PM +0100, Stipe Tolj wrote:
   now, that's a good question.
  
   1234 is interpreted here as the receiver for the MO message, hence your
   GSM modem device. I don't see where we put that number in as default
   or something.
 
  nope ...
 
  smsc_at.c:
 
  if (octstr_len(privdata-my_number)) {
  message-sms.receiver = octstr_duplicate(privdata-my_number);
  } else {
  /* Put a dummy address in the receiver for now (SMSC requires *
  one) */ message-sms.receiver = octstr_create_from_data(1234, 4); }
 
   But this is obviously not the reason why the MT messages don't
   leave your modem.
 
  yes, as a matter of fact, whatever number we choose as my-number, it
  would be always ignored by smsc.
 
  Regards,
 
  P.Y. Adi Prasaja

-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
18:14:33 up 3:24, 2.6.15-1.1830_FC4 GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org



Re: Itengo + kannel + playsms

2006-02-14 Thread Fajar Priyanto
On Tuesday 14 February 2006 09:27 pm, adi wrote:
 On Tue, Feb 14, 2006 at 06:14:34PM +0700, Fajar Priyanto wrote:
   2. It seems that when I receive sms, kannel/playsms will send a message
   to the sender: Empty reply from service provider. Why's that? I don't
   want it to send anything when it receives a sms.

 set:
 max-messages = 0
 into your sms-service group.

Thank you very much Pak Adi,
Now the Itegno stops sending reply when it receives message.

This is what shows in smsbox.log:
INFO: HTTP: Opening server at port 13131.
INFO: Set up send sms service at port 13131
INFO: Connected to bearerbox at localhost port 13001.
INFO: smsbox: Got HTTP request /cgi-bin/sendsms from 127.0.0.1
INFO: sendsms used by playsms
INFO: sendsms sender:playsms:+628161922701 (127.0.0.1) to:+628161217933 
msg:H
INFO: Starting delivery report playsms from +628161922701
INFO: Starting delivery report playsms from +628161922701
INFO: Starting to service Je t'aime gros! from +628161217933 to 1234
INFO: No reply sent, denied.

The only problem left is any message received by itegno does not show in 
playsms' inbox.

-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
12:01:57 up 4:18, 2.6.15-1.1830_FC4 GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org



Re: Itengo + kannel + playsms

2006-02-13 Thread Fajar Priyanto
Ok guys,
After setting up AT + CMEE = 1 now I can see the error. It's ERROR 38, means 
network service provider is not available. That's because I ran out of credit 
of my calling card. After I refill the credit, I can send sms again.

However, I have 2 questions:
1. Kannel shows that it can receive sms, but it doesn't show in playsms inbox. 

DEBUG: AT2[astridosms]: Numeric sender (international) +6281513003016
DEBUG: AT2[astridosms]: User data length read as (15)
DEBUG: AT2[astridosms]: Udh decoding done len=15 udhi=0 udhlen=0 udh=''
WARNING: smsbox_list empty!
WARNING: smsbox_list empty!
WARNING: smsbox_list empty!
DEBUG: AT2[astridosms]: -- AT+CNMA^M
DEBUG: AT2[astridosms]: -- OK
DEBUG: Started thread 9 (gw/bb_boxc.c:function)
DEBUG: Thread 9 (gw/bb_boxc.c:function) maps to pid 3715.
INFO: Client connected from 127.0.0.1
DEBUG: Started thread 10 (gw/bb_boxc.c:boxc_sender)
 DEBUG: Thread 10 (gw/bb_boxc.c:boxc_sender) maps to pid 3715.
 DEBUG: send_msg: sending msg to box: 127.0.0.1
 DEBUG: boxc_sender: sent message to 127.0.0.1
DEBUG: boxc_receiver: sms received
DEBUG: send_msg: sending msg to box: 127.0.0.1
DEBUG: boxc_receiver: got ack
DEBUG: Dumping 1 messages and 0 acks to store
DEBUG: AT2[astridosms]: TP-Validity-Period: 24.0 hours
DEBUG: AT2[astridosms]: -- AT+CMGS=46^M
DEBUG: AT2[astridosms]: -- 
DEBUG: AT2[astridosms]: send command status: 1
DEBUG: AT2[astridosms]: -- 
0011000D91261815033010F6A723BC621B4ECF83E465383B0F32CBDF6DD0BC2CB7A7C765105CFEB6A7C965B90F
DEBUG: AT2[astridosms]: -- ^Z
DEBUG: AT2[astridosms]: -- 
DEBUG: AT2[astridosms]: -- +CMGS: 142
DEBUG: AT2[astridosms]: -- OK
DEBUG: AT2[astridosms]: send command status: 0
DEBUG: boxc_receiver: heartbeat with load value 0 received

Smsbox message:
INFO: Starting to service Test ke playsms from +6281513003016 to 1234
DEBUG: executing sms-service '/usr/local/bin/kannel_incoming 
2006-02-13+09:55:41 %2B6281513003016 Test+ke+playsms'
DEBUG: message length 35, sending 1 messages

2. It seems that when I receive sms, kannel/playsms will send a message to the 
sender: Empty reply from service provider. Why's that? I don't want it to 
send anything when it receives a sms.

Thank you very much,
Fajar




On Monday 13 February 2006 07:38 am, adi wrote:
 On Sun, Feb 12, 2006 at 07:29:16PM +0100, Stipe Tolj wrote:
  now, that's a good question.
 
  1234 is interpreted here as the receiver for the MO message, hence your
  GSM modem device. I don't see where we put that number in as default or
  something.

 nope ...

 smsc_at.c:

 if (octstr_len(privdata-my_number)) {
 message-sms.receiver = octstr_duplicate(privdata-my_number);
 } else {
 /* Put a dummy address in the receiver for now (SMSC requires *
 one) */ message-sms.receiver = octstr_create_from_data(1234, 4); }

  But this is obviously not the reason why the MT messages don't
  leave your modem.

 yes, as a matter of fact, whatever number we choose as my-number, it would
 be always ignored by smsc.

 Regards,

 P.Y. Adi Prasaja

-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
17:44:56 up 55 min, 2.6.15-1.1830_FC4 GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org



Itengo + kannel + playsms

2006-02-11 Thread Fajar Priyanto
Hi all,
I'm setting up Itegno GSM Modem + Kannel + Playsms
I think it runs ok, because I can send sms, and the status is updated ok in 
playsms. But, seems like I misconfigure something because I cannot receive 
sms.

This is my kannel.conf:
# CORE
group = core
admin-port = 13000
admin-password = pwd
status-password = pwd
log-file = /var/log/kannel/kannel.log
log-level = 2
access-log = /var/log/kannel/access.log
smsbox-port = 13001
store-file = /var/log/kannel/kannel.store


# SMSC Fake
#group = smsc
#smsc = fake
#host = localhost
#port = 13013

group = smsc
smsc = at
smsc-id = astridosms
modemtype = auto
device = /dev/ttyUSB0
speed = 115200
sms-center = 0816124

group = modems
id = WAVECOM
name = wavecom
detect-string = WAVECOM
#detec-string2 =

# SMSBOX SETUP
group = smsbox
bearerbox-host = localhost
sendsms-port = 13131
sendsms-chars = 0123456789+
log-file = /var/log/kannel/smsbox.log
log-level = 1
access-log = /var/log/kannel/access.log


# SEND-SMS USERS
group = sendsms-user
username = playsms
password = pwd


# SMS SERVICE 'Default'
# there should be default always
group = sms-service
keyword = default
exec = /usr/local/bin/kannel_incoming %t %q %a


This is what show s in the log when itegno receives sms:
AT2[mylinux]: -- +CMT: ,21
AT2[mylinux]: -- 059126181642040C912618160197326020211184258202CF35
AT2[mylinux]: Numeric sender (international) +628161107923
AT2[mylinux]: User data length read as (2)
AT2[mylinux]: Udh decoding done len=2 udhi=0 udhlen=0 udh=''
AT2[mylinux]: -- AT+CNMA^M
 send_msg: sending msg to box: 127.0.0.1
 boxc_sender: sent message to 127.0.0.1
AT2[mylinux]: -- OK
boxc_receiver: sms received
send_msg: sending msg to box: 127.0.0.1
boxc_receiver: got ack
Dumping 1 messages and 0 acks to store
AT2[mylinux]: TP-Validity-Period: 24.0 hours
AT2[mylinux]: -- AT+CMGS=45^M
AT2[mylinux]: -- 
AT2[mylinux]: send command status: 1
AT2[mylinux]: -- 
0011000C91261816019732A723BC621B4ECF83E465383B0F32CBDF6DD0BC2CB7A7C765105CFEB6A7C965B90F
AT2[mylinux]: -- ^Z
AT2[mylinux]: -- 
AT2[mylinux]: -- ERROR
AT2[mylinux]: Error occurs: ERROR (error number not known to us. ask google 
and add it.)
AT2[mylinux]: send command status: -1
AT2[mylinux]: -- AT+CMGS=45^M
AT2[mylinux]: -- 
AT2[mylinux]: send command status: 1
AT2[mylinux]: -- 
0011000C91261816019732A723BC621B4ECF83E465383B0F32CBDF6DD0BC2CB7A7C765105CFEB6A7C965B90F
AT2[mylinux]: -- ^Z
AT2[mylinux]: -- 
AT2[mylinux]: -- ERROR
AT2[mylinux]: Error occurs: ERROR (error number not known to us. ask google 
and add it.)
AT2[mylinux]: send command status: -1
AT2[mylinux]: -- AT+CMGS=45^M
AT2[mylinux]: -- 
AT2[mylinux]: send command status: 1
AT2[mylinux]: -- 
0011000C91261816019732A723BC621B4ECF83E465383B0F32CBDF6DD0BC2CB7A7C765105CFEB6A7C965B90F
AT2[mylinux]: -- ^Z
AT2[mylinux]: -- 
AT2[mylinux]: -- ERROR
AT2[mylinux]: Error occurs: ERROR (error number not known to us. ask google 
and add it.)
AT2[mylinux]: send command status: -1
Dumping 0 messages and 0 acks to store
boxc_receiver: heartbeat with load value 0 received

Thank you,
-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
11:36:55 up 2:55, 2.6.15-1.1830_FC4 GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org



Re: Itengo + kannel + playsms

2006-02-11 Thread Fajar Priyanto
Sorry top posting.

Using a more verbose logging, I see this in smsbox:
Starting to service Test3 from +628161217523 to 1234
executing sms-service '/usr/local/bin/kannel_incoming 2006-02-12+05:46:32 
%2B628161107923 Ok3'
message length 35, sending 1 messages

Why is it sending the received sms to 1234?
What is 1234?


On Sunday 12 February 2006 11:51 am, Fajar Priyanto wrote:
 Hi all,
 I'm setting up Itegno GSM Modem + Kannel + Playsms
 I think it runs ok, because I can send sms, and the status is updated ok in
 playsms. But, seems like I misconfigure something because I cannot receive
 sms.

 This is my kannel.conf:
 # CORE
 group = core
 admin-port = 13000
 admin-password = pwd
 status-password = pwd
 log-file = /var/log/kannel/kannel.log
 log-level = 2
 access-log = /var/log/kannel/access.log
 smsbox-port = 13001
 store-file = /var/log/kannel/kannel.store


 # SMSC Fake
 #group = smsc
 #smsc = fake
 #host = localhost
 #port = 13013

 group = smsc
 smsc = at
 smsc-id = astridosms
 modemtype = auto
 device = /dev/ttyUSB0
 speed = 115200
 sms-center = 0816124

 group = modems
 id = WAVECOM
 name = wavecom
 detect-string = WAVECOM
 #detec-string2 =

 # SMSBOX SETUP
 group = smsbox
 bearerbox-host = localhost
 sendsms-port = 13131
 sendsms-chars = 0123456789+
 log-file = /var/log/kannel/smsbox.log
 log-level = 1
 access-log = /var/log/kannel/access.log


 # SEND-SMS USERS
 group = sendsms-user
 username = playsms
 password = pwd


 # SMS SERVICE 'Default'
 # there should be default always
 group = sms-service
 keyword = default
 exec = /usr/local/bin/kannel_incoming %t %q %a


 This is what show s in the log when itegno receives sms:
 AT2[mylinux]: -- +CMT: ,21
 AT2[mylinux]: -- 059126181642040C912618160197326020211184258202CF35
 AT2[mylinux]: Numeric sender (international) +628161107923
 AT2[mylinux]: User data length read as (2)
 AT2[mylinux]: Udh decoding done len=2 udhi=0 udhlen=0 udh=''
 AT2[mylinux]: -- AT+CNMA^M
  send_msg: sending msg to box: 127.0.0.1
  boxc_sender: sent message to 127.0.0.1
 AT2[mylinux]: -- OK
 boxc_receiver: sms received
 send_msg: sending msg to box: 127.0.0.1
 boxc_receiver: got ack
 Dumping 1 messages and 0 acks to store
 AT2[mylinux]: TP-Validity-Period: 24.0 hours
 AT2[mylinux]: -- AT+CMGS=45^M
 AT2[mylinux]: -- 
 AT2[mylinux]: send command status: 1
 AT2[mylinux]: --
 0011000C91261816019732A723BC621B4ECF83E465383B0F32CBDF6DD0BC2CB7A7C7651
05CFEB6A7C965B90F AT2[mylinux]: -- ^Z
 AT2[mylinux]: -- 
 AT2[mylinux]: -- ERROR
 AT2[mylinux]: Error occurs: ERROR (error number not known to us. ask google
 and add it.)
 AT2[mylinux]: send command status: -1
 AT2[mylinux]: -- AT+CMGS=45^M
 AT2[mylinux]: -- 
 AT2[mylinux]: send command status: 1
 AT2[mylinux]: --
 0011000C91261816019732A723BC621B4ECF83E465383B0F32CBDF6DD0BC2CB7A7C7651
05CFEB6A7C965B90F AT2[mylinux]: -- ^Z
 AT2[mylinux]: -- 
 AT2[mylinux]: -- ERROR
 AT2[mylinux]: Error occurs: ERROR (error number not known to us. ask google
 and add it.)
 AT2[mylinux]: send command status: -1
 AT2[mylinux]: -- AT+CMGS=45^M
 AT2[mylinux]: -- 
 AT2[mylinux]: send command status: 1
 AT2[mylinux]: --
 0011000C91261816019732A723BC621B4ECF83E465383B0F32CBDF6DD0BC2CB7A7C7651
05CFEB6A7C965B90F AT2[mylinux]: -- ^Z
 AT2[mylinux]: -- 
 AT2[mylinux]: -- ERROR
 AT2[mylinux]: Error occurs: ERROR (error number not known to us. ask google
 and add it.)
 AT2[mylinux]: send command status: -1
 Dumping 0 messages and 0 acks to store
 boxc_receiver: heartbeat with load value 0 received

 Thank you,

-- 
Fajar Priyanto | Reg'd Linux User #327841 | Linux tutorial 
http://linux2.arinet.org
13:09:14 up 1:28, 2.6.15-1.1830_FC4 GNU/Linux 
Let's use OpenOffice. http://www.openoffice.org