Error on sending SMS

2003-01-20 Thread Afif
Dear All,

some  day  I  got  succes  install kannel on my slackware box, and its
could success receive sms from another one, but when I try to send sms
from  this  machine  I  got  error  like  this,  and  here  I  send my
kannel.conf

root@tiger:/home/afif/software/gawe# 2003-01-21 14:28:17 [2] DEBUG: HTTP: Creating 
HTTPClient for `192.168.0.150'.
2003-01-21 14:28:17 [3] INFO: smsbox: Got HTTP request /cgi-bin/sendsms from 
192.168.0.150
2003-01-21 14:28:17 [3] INFO: sendsms used by afif
2003-01-21 14:28:17 [3] INFO: sendsms sender:afif:S-Untag (192.168.0.150) to: 
62821789615 msg:Hallo Mas Afif Yang Ganteng
2003-01-21 14:28:17 [3] DEBUG: message length 27, sending 1 messages
2003-01-21 14:28:17 [3] DEBUG: Status: 202 Answer: Sent.
2003-01-21 14:28:17 [3] DEBUG: HTTP: Resetting HTTPClient for `192.168.0.150'.
2003-01-21 14:28:17 [10] DEBUG: boxc_receiver: sms received
2003-01-21 14:28:17 [1] DEBUG: HTTP: Destroying HTTPClient area 0x80a2148.
2003-01-21 14:28:17 [1] DEBUG: HTTP: Destroying HTTPClient for `192.168.0.150'.
2003-01-21 14:28:18 [5] DEBUG: AT2[Untag]: TP-Validity-Period: 24.0 hours
2003-01-21 14:28:18 [5] DEBUG: AT2[Untag]: -- AT+CMGS=53^M
2003-01-21 14:28:18 [5] DEBUG: AT2[Untag]: -- 
2003-01-21 14:28:18 [5] DEBUG: AT2[Untag]: send command status: 1
2003-01-21 14:28:18 [5] DEBUG: AT2[Untag]: -- 
0011000B812628719816F5A72CC8309BFD0635C37350D09C3683B261F719740CBBE965F7B9E59B96DD7490300F9AB6AA6E7AF80C
2003-01-21 14:28:18 [5] DEBUG: AT2[Untag]: -- ^Z
2003-01-21 14:28:22 [5] DEBUG: AT2[Untag]: -- 
2003-01-21 14:28:22 [5] DEBUG: AT2[Untag]: -- ERROR
2003-01-21 14:28:22 [5] DEBUG: AT2[Untag]: send command status: -1
2003-01-21 14:28:22 [5] DEBUG: AT2[Untag]: -- AT+CMGS=53^M
2003-01-21 14:28:22 [5] DEBUG: AT2[Untag]: -- 
2003-01-21 14:28:22 [5] DEBUG: AT2[Untag]: send command status: 1
2003-01-21 14:28:22 [5] DEBUG: AT2[Untag]: -- 
0011000B812628719816F5A72CC8309BFD0635C37350D09C3683B261F719740CBBE965F7B9E59B96DD7490300F9AB6AA6E7AF80C
2003-01-21 14:28:23 [5] DEBUG: AT2[Untag]: -- ^Z
2003-01-21 14:28:28 [5] DEBUG: AT2[Untag]: -- 
2003-01-21 14:28:28 [5] DEBUG: AT2[Untag]: -- ERROR
2003-01-21 14:28:28 [5] DEBUG: AT2[Untag]: send command status: -1
2003-01-21 14:28:28 [5] DEBUG: AT2[Untag]: -- AT+CMGS=53^M
2003-01-21 14:28:28 [5] DEBUG: AT2[Untag]: -- 
2003-01-21 14:28:28 [5] DEBUG: AT2[Untag]: send command status: 1
2003-01-21 14:28:28 [5] DEBUG: AT2[Untag]: -- 
0011000B812628719816F5A72CC8309BFD0635C37350D09C3683B261F719740CBBE965F7B9E59B96DD7490300F9AB6AA6E7AF80C
2003-01-21 14:28:29 [5] DEBUG: AT2[Untag]: -- ^Z
2003-01-21 14:28:33 [5] DEBUG: AT2[Untag]: -- 
2003-01-21 14:28:33 [5] DEBUG: AT2[Untag]: -- ERROR
2003-01-21 14:28:33 [5] DEBUG: AT2[Untag]: send command status: -1


What I've to do with this error, could any one help me please...
highly appreciate for yr kind help.

-- 
Warm regards,
Afif
mailto:[EMAIL PROTECTED]


kannel.conf
Description: Binary data


How to Stop Auto Reply ?

2002-11-19 Thread Afif
Dear All,

I;ve been succes implement kannel, but till now I still confuse how to
stop  automatic  reply  from  kannel  where  some  user  send  sms  to
kannel/smsbox?
this my kannel.conf

## Kannel.conf
## Date 24-10-2002


### BEARERBOX
group = core
admin-port = 13000
wapbox-port = 13001
smsbox-port = 13002
admin-password = bar
access-log = /var/log/kannel/access.log
#store-file = /var/log/kannel/kannel.store
log-level = 0
dlr-storage = mysql
sql-storage = mysql

### WAPBOX
group = wapbox
bearerbox-host = tiger.ogs-id.com
log-file = /var/log/kannel/wapbox.log
log-level = 0

### MODEM
group = modems
id = wavecom
name = Wavecom
detect-string = WAVECOM

### SMSBOX
group = smsc
smsc = at2
smsc-id = Untag
speed = 9600
modemtype = wavecom
device = /dev/ttyS0

group = smsbox
bearerbox-host = tiger.ogs-id.com
sendsms-port = 13013
global-sender = S-Untag
sendsms-chars = 0123456789 +-
log-file = /var/log/kannel/smsbox.log
access-log = /var/log/kannel/access.log
log-level = 0


## SendSMS User
group = sendsms-user
username = afif
password = afifku0
#footer = -Sent By S-Untag

### SERVICES
group = sms-service
keyword = default
post-url = http://tiger.ogs-id.com:13013;


### MYSQL
group = mysql-connection
id = dlr-db
host = tiger
mysql-username = afif
mysql-password = afifku0
database = kannel

group = dlr-mysql
mysql-id = dlr-db
table = dlr
field-smsc = smsc
field-timestamp = ts
field-destination = org_sms
field-service = dest_sms
field-url = msg_content
field-mask = mask
field-status = status

group = sql-mysql
mysql-id = dlr-db
mysql-table = dlr
field-smsc = smsc
field-timestamp = ts
field-destination = org_sms
field-service = dest_sms
field-url = msg_content
field-mask = mask
field-status = status

is  my  kannel  have  problem  to  stop  auto reply? pls help to solve
problem, highly apreciate for yr kind help

-- 
Warm regards,
Afif
mailto:[EMAIL PROTECTED]






Re[2]: SMSC always reply incoming sms

2002-11-07 Thread Afif
Hello Oded,

Tuesday, November 05, 2002, 7:41:57 PM, you wrote:


OA The real problem is that you did not configure and sms-service settings for 
smsbox, or at least none that catch SMs that look like Aku tlp ke nomer im 3 mu kok 
ngak bisa kena apa?, and the
OA errors are smsbox complaining that it does not know where to send the message.
Thanks for attention, may I know what should I do to configure my kannel?
and  below I send my kannel.conf and pls give the right configure that
my smsbox while receive an error not automatic reply
btw this error msg while smsbox receive an sms
Could not fetch content, sorry,
thanks a lot and highly apprecite for yr help

-- 
Warm regards,
Afif
mailto:afif;sur.ogs-id.com


kannel.conf
Description: Binary data


Mesage id

2002-10-24 Thread Afif
Dear All,

doesn any one knows how to initial the sms has been SENT or NOT?, so I
could insert into mysql db? sorry for my countinues question yesterday
about storing sms to table
need yr guidance pls...

-- 
Best regards,
Afif
mailto:afif;sur.ogs-id.com






SMS Receive cannot accept

2002-10-24 Thread Afif
Hello All,
what wrong with this log?
I try to send sms to smsc, and receive [like below log] but finnaly
log tell that is error, what is the problem of this log? and I could
find the sms which i sent to its


2002-10-24 13:22:28 [17] DEBUG: boxc_receiver: sms received
2002-10-24 13:22:28 [6] DEBUG: AT2[wavecom]: -- OK
2002-10-24 13:22:28 [6] DEBUG: AT2[wavecom]: TP-Validity-Period: 24.0 hours
2002-10-24 13:22:28 [6] DEBUG: AT2[wavecom]: -- AT+CMGS=27^M
2002-10-24 13:22:28 [6] DEBUG: AT2[wavecom]: -- 
2002-10-24 13:22:28 [6] DEBUG: AT2[wavecom]: send command status: 1
2002-10-24 13:22:28 [6] DEBUG: AT2[wavecom]: -- 
0011000C81241807016121A70ED272BC5E9ED341C6709A5D2603
2002-10-24 13:22:28 [6] DEBUG: AT2[wavecom]: -- ^Z
2002-10-24 13:22:30 [6] DEBUG: AT2[wavecom]: -- 
2002-10-24 13:22:30 [6] DEBUG: AT2[wavecom]: -- ERROR
2002-10-24 13:22:30 [6] DEBUG: AT2[wavecom]: send command status: -1
2002-10-24 13:22:30 [6] DEBUG: AT2[wavecom]: -- AT+CMGS=27^M
2002-10-24 13:22:31 [6] DEBUG: AT2[wavecom]: -- 
2002-10-24 13:22:31 [6] DEBUG: AT2[wavecom]: send command status: 1
2002-10-24 13:22:31 [6] DEBUG: AT2[wavecom]: -- 
0011000C81241807016121A70ED272BC5E9ED341C6709A5D2603
2002-10-24 13:22:31 [6] DEBUG: AT2[wavecom]: -- ^Z
2002-10-24 13:22:36 [6] DEBUG: AT2[wavecom]: -- 
2002-10-24 13:22:36 [6] DEBUG: AT2[wavecom]: -- ERROR
2002-10-24 13:22:36 [6] DEBUG: AT2[wavecom]: send command status: -1
2002-10-24 13:22:36 [6] DEBUG: AT2[wavecom]: -- AT+CMGS=27^M
2002-10-24 13:22:37 [6] DEBUG: AT2[wavecom]: -- 
2002-10-24 13:22:37 [6] DEBUG: AT2[wavecom]: send command status: 1
2002-10-24 13:22:37 [6] DEBUG: AT2[wavecom]: -- 
0011000C81241807016121A70ED272BC5E9ED341C6709A5D2603
2002-10-24 13:22:37 [6] DEBUG: AT2[wavecom]: -- ^Z
2002-10-24 13:22:43 [6] DEBUG: AT2[wavecom]: -- 
2002-10-24 13:22:43 [6] DEBUG: AT2[wavecom]: -- ERROR
2002-10-24 13:22:43 [6] DEBUG: AT2[wavecom]: send command status: -1
2002-10-24 13:22:43 [1] INFO: Mutex gwlib/list.c:76: 1 locks, 0 collisions.
2002-10-24 13:22:43 [1] INFO: Mutex gwlib/list.c:75: 5 locks, 0 collisions.
2002-10-24 13:22:43 [1] DEBUG: Dumping 0 messages and 0 acks to store
  
and how to implement dlr storage so I could insert the sms receive
into mysql table.
need yr guidance pls..

-- 
Best regards,
Afif
mailto:afif;sur.ogs-id.com






Re[2]: Storing sms to mysql

2002-10-23 Thread Afif
Hello Oded,

Wednesday, October 23, 2002, 2:42:01 PM, you wrote:


OA Kannel doesn't do that internally - you need to write an application wrapper that 
stores outgoing messages before sending them and incoming messages before handling them
Thanks  Oded,
I understand, what about the keys for grab the sms for incoming and
sending? do kannel ahve unique initial key for eliminate this case
I just can see the access.log like this

2002-10-23 15:09:18 send-SMS request added - sender:afif:13013 192.168.0.150 
target:628121789615 request: 'afif kamu cakep
deh ini nyoba serverku bisa di terima nggak? habis di terima pls reply balik ya...?'

its come from access.log
2002-10-23 15:09:18 send-SMS request added - sender:afif:13013
can I use this for unique keys to read? so I can insert into mysql
table?
what about the incoming?
need yr guidance to solve this case pls.
thanks a lot for yr support

-- 
Best regards,
Afif
mailto:afif;sur.ogs-id.com






Re[4]: Storing sms to mysql

2002-10-23 Thread Afif
Hello Oded,

Wednesday, October 23, 2002, 3:24:19 PM, you wrote:

OA no, you need to store your outgoing messages in a database before you send them to 
Kannel, and anyway - you can't access Kannel's internal message indexing from outside. 
you will have to generate
OA your own keys - MySQL's auto_increment column option works for me.
Ok,, let me try to think.. what about if sms can't send? but the orginal
sms has been store into mysql table? do we have the way to prevent
this case? so its will not happen?

 what about the incoming?
OA same - you can't have access to Kannel's message indexing.
what its mean? do you have another way? so I could monitor incoming
sms, what about system of the cellular provider while they make
quiz/game so every sender send to certain number to join the quiz?
where they stored the sms?
highly appreciate for yr guidance. thanks a lot

-- 
Best regards,
Afif
mailto:afif;sur.ogs-id.com






Storing sms to mysql

2002-10-22 Thread Afif
Dear All,

after a couple days for compile and install finally I could test send
sms from my smsbox through http thanks for all yr support to guide me
even I am not fast learner,
now I have question about sending  recieve sms.
how to store send and receive sms into mysql table, I compile kannel whit
mysql db
its my config the kannel.conf for dlr-mysql

# DLR Mysql
group = mysql-connection
id = dlr-db
host = tiger
mysql-username = afif
mysql-password = afifku0
database = kannel


group = dlr-mysql
mysql-id = dlr-db
table = dlr
field-smsc = smsc
field-timestamp = ts
field-destination = destination
field-service = service
field-url = url
field-mask = mask
field-status = status

so I could monitor traffic of my kannel system
any one have suggested how to I begin to do with kannel plus mysql ?
or some one have some piece of code/ application for test?
need yr guidance
  

-- 
Best regards,
Afif
mailto:afif;sur.ogs-id.com






Re[2]: Startup Script kannel (Slackware 8.0)

2002-10-20 Thread Afif
Dear oded,

Done well, thanks alot oded
now would you pls guide me to test how to send sms to the smsc, and
how I could do its?
thanks a lot for yr guidance
-- 
Best regards,
Afif
mailto:afif;sur.ogs-id.com



OA case $1 in
OA start)
OA runner /usr/local/kannel/sbin/bearerbox 5 /etc/kannel.conf 
OA ;;
OA esac

OA which when called with the parameter 'start' will fork runner() to the background 
giving it the path to the bearerbox, a 5 seconds delay between crashes and the path to 
the kannel configuration
OA file.
OA These examples are taken from our SysV compatible script - I don't know how 
Slackware like startup scripts so YMMV.






Error starting

2002-09-26 Thread Afif [OGS]

Dear All

I am new in kannel, now I running kannel on Slackware 8.0
when I install Kannel I using option like this

./configure --prefix=/usr/local --exec-prefix=/usr/local \
--bindir=/usr/bin --sbindir=/usr/sbin \
--libexecdir=/usr/lib/kannel  --datadir=/usr/local/kannel \
--sharedstatedir=/usr/local/share/kannel --localstatedir=/var/kannel \
--includedir=/usr/include/kannel --x-includes=/usr/include/mysql \
--sysconfdir=/etc/kannel/ --disable-docs --enable-pam  --enable-debug 
--enable-localtime \
--enable-mutex-stats --enable-cookies \
--enable-start-stop-daemon --enable-ssl --with-mysql=/usr/local/mysql --enable-mysql
make
make install
make bindir=/usr/local/kannel/bearerbox
make bindir=/usr/local/kannel/smsbox
make bindir=/usr/local/kannel/bearerbox

but when I try to starting the gateway I had error like this

root@tiger:/usr/local/kannel/gw/bearebox# bearerbox -v 1 bearerbox.conf
bearerbox: error while loading shared libraries: cannot open shared object file: 
cannot load shared object file: No such file or directory
root@tiger:/usr/local/kannel/gw/bearebox#
  
any mistakes from my installalation..
need yr guidance from u all

Best regards,
Afif
mailto:[EMAIL PROTECTED]