kannel in windows not stable

2010-10-20 Thread Anton Raharja
Hi,

I'm testing kannel in windows, download and install cygwin, compile
gateway 1.4.3 and start kannel. Im using wavecom modem, usb, using
driver usb-to-serial and got COM16 in windows and works in kannel
cygwin using /dev/com16.

Incoming seems to be ok, but outgoing after 1 or 2 messages bearerbox
exited with last error printed:
 [5872] [-1] PANIC: gwlib/thread.c:142: mutex_lock_real:
Managed to lock the mutex twice! (Called from
gwlib/conn.c:1273:openssl_locking_function.)

I can re-produce error by receive 1 SMS, and then send, after that it
failed with same error.

I'm new to this list, dunno if kannel in windows is even supported in
this list, and perhaps this error could already be in the list.

thanks,

anton
dev playSMS



Re: kannel in windows not stable

2010-10-20 Thread Anton Raharja
Hi again,

I just found this article:
http://lamdaica.com/modules/ajax/getArticleDetail.aspx?id=2&lang=

I'll try that first, I hope it fixes the issue, please ignore my post, thanks

anton


On Wed, Oct 20, 2010 at 11:18 PM, Anton Raharja  wrote:
> Hi,
>
> I'm testing kannel in windows, download and install cygwin, compile
> gateway 1.4.3 and start kannel. Im using wavecom modem, usb, using
> driver usb-to-serial and got COM16 in windows and works in kannel
> cygwin using /dev/com16.
>
> Incoming seems to be ok, but outgoing after 1 or 2 messages bearerbox
> exited with last error printed:
>  [5872] [-1] PANIC: gwlib/thread.c:142: mutex_lock_real:
> Managed to lock the mutex twice! (Called from
> gwlib/conn.c:1273:openssl_locking_function.)
>
> I can re-produce error by receive 1 SMS, and then send, after that it
> failed with same error.
>
> I'm new to this list, dunno if kannel in windows is even supported in
> this list, and perhaps this error could already be in the list.
>
> thanks,
>
> anton
> dev playSMS
>



Re: kannel in windows not stable

2010-10-20 Thread Anton Raharja
Hi,

Just to let you guys know, the workaround works, I can send and
receive like 20 or 30 messages and no PANIC just now, compare to
before patch 1 or 2 messages bearerbox exited.

anton
dev playSMS

On Wed, Oct 20, 2010 at 11:38 PM, Anton Raharja  wrote:
> Hi again,
>
> I just found this article:
> http://lamdaica.com/modules/ajax/getArticleDetail.aspx?id=2&lang=
>
> I'll try that first, I hope it fixes the issue, please ignore my post, thanks
>
> anton
>
>
> On Wed, Oct 20, 2010 at 11:18 PM, Anton Raharja  wrote:
>> Hi,
>>
>> I'm testing kannel in windows, download and install cygwin, compile
>> gateway 1.4.3 and start kannel. Im using wavecom modem, usb, using
>> driver usb-to-serial and got COM16 in windows and works in kannel
>> cygwin using /dev/com16.
>>
>> Incoming seems to be ok, but outgoing after 1 or 2 messages bearerbox
>> exited with last error printed:
>>  [5872] [-1] PANIC: gwlib/thread.c:142: mutex_lock_real:
>> Managed to lock the mutex twice! (Called from
>> gwlib/conn.c:1273:openssl_locking_function.)
>>
>> I can re-produce error by receive 1 SMS, and then send, after that it
>> failed with same error.
>>
>> I'm new to this list, dunno if kannel in windows is even supported in
>> this list, and perhaps this error could already be in the list.
>>
>> thanks,
>>
>> anton
>> dev playSMS
>>
>



Re: I am receiving..

2011-12-12 Thread Anton Raharja

Hi,

I remember theres issue with this.. not sure if this is the same issue,
I checked my kannel.conf on a working server, I've added "my-number" in 
smsc group, without it I get 1234 in %Q


# SMSC fastrack
group = smsc
smsc = at
smsc-id = gsm1
allowed-smsc-id = gsm1
preferred-smsc-id = gsm1
my-number = +6283870099005
#allowed-prefix = "0;+62;62;77"
unified-prefix = "0,+62,62;021,+6221,6221"

do try it, not really sure if this is the same issue and the solution I did

anton


On 12/12/2011 06:24 PM, Supporto Tecnico - Crazy Network wrote:

 Actually ive noticed the same thing with playsms.

The query that playsms receive on %Q variable is "1234" and not the 
number of the simcard in the modem (as far as i had understood there 
should be that number right?)


Il 12/12/2011 12:18, Rene Kluwen ha scritto:

Yes, I tried %Q and got the same results.

- Oorspronkelijk bericht -
Van: Milan P. Stanic
Verzonden: maandag 12 december 2011 10:48
Aan: users@kannel.org
Onderwerp: Re: I am receiving..

On Sun, 2011-12-11 at 13:37, techbrainless wrote:

Are you using phone , gsm modem or short code ?

Rene says 'via SMPP'.


Please share the kannel.conf

Rene Kluwen wrote:

.MO messages via SMPP and are forwarding to a get-url.

Everything seems to go fine, except the %P (to-number) parameter 
seems to

be
empty.

I can see the number in the deliver_sm pdu and also in my access 
log (I

use
the same %P parameter for that) but it doesn't appear in the get-url.

Did you tried %Q just to see if something is wrong with %P ?









Received dlr with sscanf warning and set always type=2

2013-09-14 Thread Anton Raharja
Hi,

I found this URL:
http://www.mail-archive.com/users@kannel.org/msg27152.html

The dlr received is exactly like I received:
http://old.nabble.com/file/p34450678/bearerlog.txt

I also found that all dlr I received were set as type=2, its delivery
failure. For example a dlr is received with stat:DELIVRD, I was hoping even
when Kannel didn't recognize it because its format is different but with
the "old-way" method Kannel recognized the stat:DELIVRD and pass dlr to
type=1.

I wonder if this issue has been fixed in daily snapshots or someone already
provide a patch for this issue.

Thanks,
anton


Re: Received dlr with sscanf warning and set always type=2

2013-09-18 Thread Anton Raharja
Hi,

I have tried to edit gw/smsc/smsc_smpp.c my self, to match with the dlr I
received from certain provider, with no luck. Kannel still ignores the
"stat" value. Received stat:DELIVRD but Kannel passed type=2 instead of
type=1.

Example DLR I received:

"id:0160925202 submit date:1209190919 done date:1209190919 stat:DELIVRD"

Please advice.

Thanks,
anton



On Sun, Sep 15, 2013 at 6:59 AM, Anton Raharja  wrote:

> Hi,
>
> I found this URL:
> http://www.mail-archive.com/users@kannel.org/msg27152.html
>
> The dlr received is exactly like I received:
> http://old.nabble.com/file/p34450678/bearerlog.txt
>
> I also found that all dlr I received were set as type=2, its delivery
> failure. For example a dlr is received with stat:DELIVRD, I was hoping even
> when Kannel didn't recognize it because its format is different but with
> the "old-way" method Kannel recognized the stat:DELIVRD and pass dlr to
> type=1.
>
> I wonder if this issue has been fixed in daily snapshots or someone
> already provide a patch for this issue.
>
> Thanks,
> anton
>
>


smsc simulator

2004-02-22 Thread R. Anton Raharja
hello im new to this list
does anyone ever use smsc simulator from http://opensmpp.logica.com to work with 
kannel?
i've succed in sending message to that smsc simulator, but not in receiving message
when i send message from smsc simulator, to simulate incoming sms situation,
kannel did accepted messages, but with sender and receiver field blank
im guessing that this cause kannel to drop the message and not passing it to 
sms-service group
is that what happen? how to override this?
i need to test sms-service group

thx





i need to send 300 sms

2004-03-10 Thread R. Anton Raharja
i need to send 300 SMS simultaneously, receiver expected to receive it within 1 hour
can i do it with kannel+GSM modem or kannel+cellphone?
not kannel+SMSC connection, this i think would work just fine for 300 SMS





little php application

2004-06-27 Thread R. Anton Raharja
ive released simple php based application that can talk to kannel
PlaySMS, http://playsms.sourceforge.net

if i want to build more complex plugin for kannel
what is the best way to:
1. send sms
2. retrieving delivery status
3. receive sms
using kannel with http behaviour

currently im using sendsms to send sms and a shell script combined with sms service 
options
to receive sms

thx

regard, anton





using iTegno 3000

2004-07-07 Thread R. Anton Raharja
hello, i need to confirm based on experiences
can I use iTegno 3000 with kannel to send/receive sms along with the dlr ?
if i can, it would be great if someone paste some of configurations how to use this 
GSM modem

thx alot



http://sleepless.ngoprek.org
VoIP Rakyat: (0921) 20006





kannel tester for playsms

2004-07-20 Thread R. Anton Raharja
playsms 0.7 released a while ago, http://playsms.sourceforge.net
playsms is interface for sending/receiving sms via several sms gateway like gnokii or 
kannel,
in kannel part, i've added some function to get delivery report via kannel's dlr-url,
i've managed to get playsms returns status "fail" "pending" "sent" and "delivered",
when i built it, i use smsc simulator (logica) for simulating kannel connected to SMSC,
i never test it with real SMSC or gsm modem, no resource :)

if someone has more time to test it, please do

im looking forward to see the result

thank you


http://sleepless.ngoprek.org
VoIP Rakyat: (0921) 20006





Re:kannel tester for playsms

2004-07-24 Thread R. Anton Raharja



its in the package, a test kannel.conf available in contrib/kannel
i hope you can give me inputs a better way to manage dlr and does playsms 
working fine with kannel
so far its working fine with gnokii and clickatell
 
thank you
*** REPLY SEPARATOR 
***On 24/07/2004 at 20:45 [EMAIL PROTECTED] 
wrote:

  Anton,
  I was going to test PlaySMS since it claim that it supported by kannel. I'm 
  going to build my development box and as soon as i 've that up and 
  running. I will test playsms for you and the list.
  In order to make this any faster do you have and kannel.conf lying around 
  so that i can test with. Target for having devel box up is end of this 
  week.
  Cheers,
  Edward



http://sleepless.ngoprek.org
VoIP Rakyat: (0921) 20006




Re: Rv: Re: Any Kannel User From Indonesia

2004-08-10 Thread R. Anton Raharja
just a blurb..

kannel is pretty famous in indonesia
many company use the software for their sms gateway

let me know if the kannel-id milist is up
maybe we can join them with playsms user :)
playsms's developers (indonesian) think kannel is a big fish (tobe compatible with)

*** REPLY SEPARATOR  ***

On 10/08/2004 at 11:05 me [at] alitmd.com wrote:

>i am here too
>indonesia millis, gut gut agree, inget invite me ok...
>
>--
>me at alitmd.com
>
>
>- Mensagem Original 
>From: Erwien Samantha Y <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>Subject: Re: Any Kannel User From Indonesia
>Date: 10/08/04 03:08
>
>>
>> I'm here ...,
>> Dan ada beberapa juga yang lain
>> Hmm gimana kalau kita bikin milis sendiri ?? Yang tentunya berbahasa
>indonesia
>>
>>
>> Erwien
>>
>> On Monday 09 August 2004 10:16 pm, Willy Mularto wrote:
>> > Hi Guys,
>> > Any of you comes from Indonesia? So that I can comunicate easily, I
>have a
>> > very very bad english :)


http://sleepless.ngoprek.org
VoIP Rakyat: (0921) 20006





kannel for nokia 7110 usb cable

2004-11-05 Thread R. Anton Raharja
Hello

i need help to setup nokia 7110 with usb cable
im using the example, modem conf, but it didnt work out
i know i supposed to found out my self and did some trial n error.. but
if you guys know exactly wht should i do, that would be better :)

is there a working kannel config i could hav a look ?

thx



http://sleepless.ngoprek.org
VoIP Rakyat: +62218613027 (e.164)
SMS Rakyat: PV anton  to +6281211WATCH
Yahoo ID: anton_rd





problem sending sms when starting kannel with wavecom modem

2004-11-22 Thread R. Anton Raharja
Hello,

i got problem to send sms when starting kannel with wavecom iTegno modem 
serial-com
to make it work, i had to restart kannel, eject the sim card and put it back 
without re-restarting kannel
and magic! i can send sms via kannel again

can someone tell me what happen ?
or what should i do so i dont hav to eject the sim card first after restarting 
kannel

this is my kannel.conf

group = core
admin-port = 13000
admin-password = bar
smsbox-port = 13001
status-password = mis
#admin-deny-ip = ""
#admin-allow-ip = ""
log-file = "/var/log/kannel/kannel.log"
log-level = 0
access-log = "/var/log/kannel/access.log"
store-file = "/var/log/kannel/kannel.store"
dlr-storage = mysql

# SMSC GSM
group = smsc
smsc = at2
smsc-id = itegno
#modemtype = wavecom | premicell | siemens | siemens-tc35 | falcom | nokiaphone 
| ericsson
modemtype = wavecom
device = /dev/ttyS0
#pin = 01234
#validityperiod = 167
sms-center = 6019390
#sms-center =  6012015

# If modemtype=auto, try everyone and defaults to this one
group = modems
id = generic
name = "Generic Modem"

group = modems
id = wavecom
name = Wavecom
detect-string = "WAVECOM"
speed = 115200
#init-string=ATE0
init-string="AT+CNMI=1,2,0,1,0"
enable-hwhs="AT+IFC=2,2"
no-pin = true

group = modems
id = premicell
name = Premicell
detect-string = "PREMICEL"
no-pin = true
no-smsc = true

group = modems
id = falcom
name = "Falcom"
detect-string = "Falcom"
no-smsc = true

# SMSBOX SETUP
group = smsbox
bearerbox-host = 192.168.0.1
sendsms-port = 13013
sendsms-chars = "0123456789 +-"
global-sender = 12345
log-file = "/var/log/kannel/smsbox.log"
log-level = 0
access-log = "/var/log/kannel/access.log"
#white-list =
#black-list =
#reply-couldnotfetch =
#reply-couldnotrepresent =
#reply-requestfailed =
#reply-emptymessage =


# SEND-SMS USERS
group = sendsms-user
username = tester
password = foobar
#user-deny-ip = ""
#user-allow-ip = ""

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

group = mysql-connection
id = mydlr
host = localhost
mysql-username = admin
mysql-password = anu
database = kannel
max-connections = 2

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 = mask
field-status = status
field-boxc-id = boxc

thanks



http://sleepless.ngoprek.org
VoIP Rakyat: +62218613027 (e.164)
SMS Rakyat: PV anton  to +6281211WATCH
Yahoo ID: anton_rd