Not receiving sms.

2007-06-14 Thread Christopher von Hessert

Hello list, I got My motorola V3 phone working with usb cable on Kannel
1.4.1 on Ubuntu 7.04
I can send sms with html sendsms, but i can't receive them in Kannel, The V3
receives it but kannel doesnt.
Any ideas y is this happening?
Also im needed you advise cause im going to buy Wavecom WMOi3 gsm modem for
using it to receive and send sms/mms (with mbuni) ans i wanted to know if i
get get all working with this modem. I lookes over the inet and no1 has made
a complaint abaount SMS functionality, but dunno abaout MMA functionality..

Thanks,
Christopher von Hessert


Fwd: Not Receiving SMS

2014-01-20 Thread aruna priyankara
Hi

Please Help.

My Kannel conf.

#Group
group = core
admin-port = 13010
smsbox-port = 13001
admin-password = 123456
log-file = "/var/log/kannel.log"
#log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1"

#SMSC
group = smsc
smsc = at
modemtype = auto
device=/dev/ttyUSB0
my-number = "0720204007"
connect-allow-ip = 127.0.0.1
log-level = 0

#Send SMS
group = sendsms-user
username = kannel
password = 123456
concatenation= true
max-messages = 10

#get SMS
group = sms-service
keyword-regex = .*
catch-all = yes
max-messages = 3
get-url = "
http://localhost/sms/te.php?ORIGINATOR=%p&RECEIVER=%P&SMS=%a&SOURCE_PRV=%o";
catch-all = true
concatenation = true
accept-x-kannel-headers = true

#Modems
group = modems
id = huawei
name = "huawei"
detect-string = "huawei"
init-string = "AT+CNMI=2,1,2,2,0"
keepalive-cmd = AT+CSQ
reset-string = "AT+CFUN=1,0"
message-storage = "sm"
speed = 115200

#SMSBOX SETUP
group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
global-sender = 13013
sendsms-chars="0123456789 +-"
log-level=0
access-log = "/var/log/access_kannel.log"

Kannel Log

2014-01-20 17:16:52 [4839] [7] DEBUG: clear_old_concat_parts called
2014-01-20 17:50:51 [4988] [0] INFO: Added logfile `/var/log/kannel.log'
with level `0'.
2014-01-20 17:50:51 [4988] [0] INFO: HTTP: Opening server at port 13010.
2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)
2014-01-20 17:50:51 [4988] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps
to pid 4988.
2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)
2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 3
(gw/bb_http.c:httpadmin_run)
2014-01-20 17:50:51 [4988] [0] DEBUG: starting smsbox connection module
2014-01-20 17:50:51 [4988] [0] INFO: BOXC: 'smsbox-max-pending' not set,
using default (100).
2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 4
(gw/bb_boxc.c:sms_to_smsboxes)
2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 5
(gw/bb_boxc.c:smsboxc_run)
2014-01-20 17:50:51 [4988] [0] INFO: Set SMS resend frequency to 60 seconds.
2014-01-20 17:50:51 [4988] [0] INFO: SMS resend retry set to unlimited.
2014-01-20 17:50:51 [4988] [0] DEBUG: smsbox MO concatenated message
handling enabled
2014-01-20 17:50:51 [4988] [0] INFO: DLR rerouting for smsc id <(null)>
disabled.
2014-01-20 17:50:51 [4988] [0] INFO: AT2[/dev/ttyUSB0]: configuration
doesn't show modemtype. will autodetect
2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 6
(gw/smsc/smsc_at.c:at2_device_thread)
2014-01-20 17:50:51 [4988] [6] DEBUG: Thread 6
(gw/smsc/smsc_at.c:at2_device_thread) maps to pid 4988.
2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 7
(gw/bb_smscconn.c:sms_router)
2014-01-20 17:50:51 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: detecting modem
speed.
2014-01-20 17:50:51 [4988] [0] INFO:

2014-01-20 17:50:51 [4988] [6] INFO: AT2[/dev/ttyUSB0]: opening device
2014-01-20 17:50:51 [4988] [0] INFO: Kannel bearerbox II version 1.4.3
starting
2014-01-20 17:50:51 [4988] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run)
maps to pid 4988.
2014-01-20 17:50:51 [4988] [0] INFO: MAIN: Start-up done, entering mainloop
2014-01-20 17:50:51 [4988] [0] DEBUG: AT2[/dev/ttyUSB0]: start called
2014-01-20 17:50:51 [4988] [4] DEBUG: Thread 4
(gw/bb_boxc.c:sms_to_smsboxes) maps to pid 4988.
2014-01-20 17:50:51 [4988] [7] DEBUG: Thread 7
(gw/bb_smscconn.c:sms_router) maps to pid 4988.
2014-01-20 17:50:51 [4988] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run)
maps to pid 4988.
2014-01-20 17:50:51 [4988] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread)
maps to pid 4988.
2014-01-20 17:50:51 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened.
Telnet mode = 0
2014-01-20 17:50:52 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened
2014-01-20 17:50:52 [4988] [6] INFO: AT2[/dev/ttyUSB0]: speed set to 115200
2014-01-20 17:50:52 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: --> ^M
2014-01-20 17:50:54 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT^M
2014-01-20 17:50:54 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2014-01-20 17:50:54 [4988] [6] INFO: AT2[/dev/ttyUSB0]: Closing device
2014-01-20 17:50:54 [4988] [6] INFO: AT2[/dev/ttyUSB0]: detect speed is
115200
2014-01-20 17:50:54 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: detecting modem
type
2014-01-20 17:50:54 [4988] [6] INFO: AT2[/dev/ttyUSB0]: opening device
2014-01-20 17:50:54 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened.
Telnet mode = 0
2014-01-20 17:50:55 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened
2014-01-20 17:50:55 [4988] [6] INFO: AT2[/dev/ttyUSB0]: speed set to 115200
2014-01-20 17:50:55 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: --> ^M
2014-01-20 17:50:57 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT^M
2014-01-20 17:50:57 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2014-01-20 17:50:57 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT&F^M
2014-01-20 17:50:57 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
2014-01-20 17:50:57 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: --> ATE0^M
2014-01-20 17:

Re: Not Receiving SMS

2014-01-20 Thread Alejandro Mussi
If you are trying MT messages, Check if port is open.


On Mon, Jan 20, 2014 at 9:50 AM, aruna priyankara
wrote:

> Hi
>
> Please Help.
>
> My Kannel conf.
>
> #Group
> group = core
> admin-port = 13010
> smsbox-port = 13001
> admin-password = 123456
> log-file = "/var/log/kannel.log"
> #log-level = 0
> box-deny-ip = "*.*.*.*"
> box-allow-ip = "127.0.0.1"
>
> #SMSC
> group = smsc
> smsc = at
> modemtype = auto
> device=/dev/ttyUSB0
> my-number = "0720204007"
> connect-allow-ip = 127.0.0.1
> log-level = 0
>
> #Send SMS
> group = sendsms-user
> username = kannel
> password = 123456
> concatenation= true
> max-messages = 10
>
> #get SMS
> group = sms-service
> keyword-regex = .*
> catch-all = yes
> max-messages = 3
> get-url = "
> http://localhost/sms/te.php?ORIGINATOR=%p&RECEIVER=%P&SMS=%a&SOURCE_PRV=%o
> "
> catch-all = true
> concatenation = true
> accept-x-kannel-headers = true
>
> #Modems
> group = modems
> id = huawei
> name = "huawei"
> detect-string = "huawei"
> init-string = "AT+CNMI=2,1,2,2,0"
> keepalive-cmd = AT+CSQ
> reset-string = "AT+CFUN=1,0"
> message-storage = "sm"
> speed = 115200
>
> #SMSBOX SETUP
> group = smsbox
> bearerbox-host = 127.0.0.1
> sendsms-port = 13013
> global-sender = 13013
> sendsms-chars="0123456789 +-"
> log-level=0
> access-log = "/var/log/access_kannel.log"
>
> Kannel Log
>
> 2014-01-20 17:16:52 [4839] [7] DEBUG: clear_old_concat_parts called
> 2014-01-20 17:50:51 [4988] [0] INFO: Added logfile `/var/log/kannel.log'
> with level `0'.
> 2014-01-20 17:50:51 [4988] [0] INFO: HTTP: Opening server at port 13010.
> 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 1
> (gwlib/fdset.c:poller)
> 2014-01-20 17:50:51 [4988] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps
> to pid 4988.
> 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 2
> (gwlib/http.c:server_thread)
> 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 3
> (gw/bb_http.c:httpadmin_run)
> 2014-01-20 17:50:51 [4988] [0] DEBUG: starting smsbox connection module
> 2014-01-20 17:50:51 [4988] [0] INFO: BOXC: 'smsbox-max-pending' not set,
> using default (100).
> 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 4
> (gw/bb_boxc.c:sms_to_smsboxes)
> 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 5
> (gw/bb_boxc.c:smsboxc_run)
> 2014-01-20 17:50:51 [4988] [0] INFO: Set SMS resend frequency to 60
> seconds.
> 2014-01-20 17:50:51 [4988] [0] INFO: SMS resend retry set to unlimited.
> 2014-01-20 17:50:51 [4988] [0] DEBUG: smsbox MO concatenated message
> handling enabled
> 2014-01-20 17:50:51 [4988] [0] INFO: DLR rerouting for smsc id <(null)>
> disabled.
> 2014-01-20 17:50:51 [4988] [0] INFO: AT2[/dev/ttyUSB0]: configuration
> doesn't show modemtype. will autodetect
> 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 6
> (gw/smsc/smsc_at.c:at2_device_thread)
> 2014-01-20 17:50:51 [4988] [6] DEBUG: Thread 6
> (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 4988.
> 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 7
> (gw/bb_smscconn.c:sms_router)
> 2014-01-20 17:50:51 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: detecting modem
> speed.
> 2014-01-20 17:50:51 [4988] [0] INFO:
> 
> 2014-01-20 17:50:51 [4988] [6] INFO: AT2[/dev/ttyUSB0]: opening device
> 2014-01-20 17:50:51 [4988] [0] INFO: Kannel bearerbox II version 1.4.3
> starting
> 2014-01-20 17:50:51 [4988] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run)
> maps to pid 4988.
> 2014-01-20 17:50:51 [4988] [0] INFO: MAIN: Start-up done, entering mainloop
> 2014-01-20 17:50:51 [4988] [0] DEBUG: AT2[/dev/ttyUSB0]: start called
> 2014-01-20 17:50:51 [4988] [4] DEBUG: Thread 4
> (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 4988.
> 2014-01-20 17:50:51 [4988] [7] DEBUG: Thread 7
> (gw/bb_smscconn.c:sms_router) maps to pid 4988.
> 2014-01-20 17:50:51 [4988] [3] DEBUG: Thread 3
> (gw/bb_http.c:httpadmin_run) maps to pid 4988.
> 2014-01-20 17:50:51 [4988] [2] DEBUG: Thread 2
> (gwlib/http.c:server_thread) maps to pid 4988.
> 2014-01-20 17:50:51 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened.
> Telnet mode = 0
> 2014-01-20 17:50:52 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened
> 2014-01-20 17:50:52 [4988] [6] INFO: AT2[/dev/ttyUSB0]: speed set to 115200
> 2014-01-20 17:50:52 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: --> ^M
> 2014-01-20 17:50:54 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT^M
> 2014-01-20 17:50:54 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
> 2014-01-20 17:50:54 [4988] [6] INFO: AT2[/dev/ttyUSB0]: Closing device
> 2014-01-20 17:50:54 [4988] [6] INFO: AT2[/dev/ttyUSB0]: detect speed is
> 115200
> 2014-01-20 17:50:54 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: detecting modem
> type
> 2014-01-20 17:50:54 [4988] [6] INFO: AT2[/dev/ttyUSB0]: opening device
> 2014-01-20 17:50:54 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened.
> Telnet mode = 0
> 2014-01-20 17:50:55 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened
> 2014-01-20 17:50:55 [4988] [6] INFO: AT2[/dev/ttyUSB0]: speed set to 115200
> 2014-01-20 17:50:55 [4988] [6]

Re: Not Receiving SMS

2014-01-20 Thread Alvaro Cornejo
 Hi

CNMI is the command that tell modem to forward incomming sms from
modem/phone to Kannel. Therefore, you need to check it. Note that
config might different for different brands/models. Check user
manuals.

An option is to use sim-buffering and message-store comands to tell
kannel to periodically look for messages in sim or equipment memory.
Check kannel doc for details.

Regards

Alvaro
|-|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
  Visitenos en www.perusms.com


On Mon, Jan 20, 2014 at 8:16 AM, Alejandro Mussi  wrote:
> If you are trying MT messages, Check if port is open.
>
>
> On Mon, Jan 20, 2014 at 9:50 AM, aruna priyankara 
> wrote:
>>
>> Hi
>>
>> Please Help.
>>
>> My Kannel conf.
>>
>> #Group
>> group = core
>> admin-port = 13010
>> smsbox-port = 13001
>> admin-password = 123456
>> log-file = "/var/log/kannel.log"
>> #log-level = 0
>> box-deny-ip = "*.*.*.*"
>> box-allow-ip = "127.0.0.1"
>>
>> #SMSC
>> group = smsc
>> smsc = at
>> modemtype = auto
>> device=/dev/ttyUSB0
>> my-number = "0720204007"
>> connect-allow-ip = 127.0.0.1
>> log-level = 0
>>
>> #Send SMS
>> group = sendsms-user
>> username = kannel
>> password = 123456
>> concatenation= true
>> max-messages = 10
>>
>> #get SMS
>> group = sms-service
>> keyword-regex = .*
>> catch-all = yes
>> max-messages = 3
>> get-url =
>> "http://localhost/sms/te.php?ORIGINATOR=%p&RECEIVER=%P&SMS=%a&SOURCE_PRV=%o";
>> catch-all = true
>> concatenation = true
>> accept-x-kannel-headers = true
>>
>> #Modems
>> group = modems
>> id = huawei
>> name = "huawei"
>> detect-string = "huawei"
>> init-string = "AT+CNMI=2,1,2,2,0"
>> keepalive-cmd = AT+CSQ
>> reset-string = "AT+CFUN=1,0"
>> message-storage = "sm"
>> speed = 115200
>>
>> #SMSBOX SETUP
>> group = smsbox
>> bearerbox-host = 127.0.0.1
>> sendsms-port = 13013
>> global-sender = 13013
>> sendsms-chars="0123456789 +-"
>> log-level=0
>> access-log = "/var/log/access_kannel.log"
>>
>> Kannel Log
>>
>> 2014-01-20 17:16:52 [4839] [7] DEBUG: clear_old_concat_parts called
>> 2014-01-20 17:50:51 [4988] [0] INFO: Added logfile `/var/log/kannel.log'
>> with level `0'.
>> 2014-01-20 17:50:51 [4988] [0] INFO: HTTP: Opening server at port 13010.
>> 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 1
>> (gwlib/fdset.c:poller)
>> 2014-01-20 17:50:51 [4988] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps
>> to pid 4988.
>> 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 2
>> (gwlib/http.c:server_thread)
>> 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 3
>> (gw/bb_http.c:httpadmin_run)
>> 2014-01-20 17:50:51 [4988] [0] DEBUG: starting smsbox connection module
>> 2014-01-20 17:50:51 [4988] [0] INFO: BOXC: 'smsbox-max-pending' not set,
>> using default (100).
>> 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 4
>> (gw/bb_boxc.c:sms_to_smsboxes)
>> 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 5
>> (gw/bb_boxc.c:smsboxc_run)
>> 2014-01-20 17:50:51 [4988] [0] INFO: Set SMS resend frequency to 60
>> seconds.
>> 2014-01-20 17:50:51 [4988] [0] INFO: SMS resend retry set to unlimited.
>> 2014-01-20 17:50:51 [4988] [0] DEBUG: smsbox MO concatenated message
>> handling enabled
>> 2014-01-20 17:50:51 [4988] [0] INFO: DLR rerouting for smsc id <(null)>
>> disabled.
>> 2014-01-20 17:50:51 [4988] [0] INFO: AT2[/dev/ttyUSB0]: configuration
>> doesn't show modemtype. will autodetect
>> 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 6
>> (gw/smsc/smsc_at.c:at2_device_thread)
>> 2014-01-20 17:50:51 [4988] [6] DEBUG: Thread 6
>> (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 4988.
>> 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 7
>> (gw/bb_smscconn.c:sms_router)
>> 2014-01-20 17:50:51 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: detecting modem
>> speed.
>> 2014-01-20 17:50:51 [4988] [0] INFO:
>> 
>> 2014-01-20 17:50:51 [4988] [6] INFO: AT2[/dev/ttyUSB0]: opening device
>> 2014-01-20 17:50:51 [4988] [0] INFO: Kannel bearerbox II version 1.4.3
>> starting
>> 2014-01-20 17:50:51 [4988] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run)
>> maps to pid 4988.
>> 2014-01-20 17:50:51 [4988] [0] INFO: MAIN: Start-up done, entering
>> mainloop
>> 2014-01-20 17:50:51 [4988] [0] DEBUG: AT2[/dev/ttyUSB0]: start called
>> 2014-01-20 17:50:51 [4988] [4] DEBUG: Thread 4
>> (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 4988.
>> 2014-01-20 17:50:51 [4988] [7] DEBUG: Thread 7
>> (gw/bb_smscconn.c:sms_router) maps to pid 4988.
>> 2014-01-20 17:50:51 [4988] [3] DEBUG: Thread 3
>> (gw/bb_http.c:httpadmin_run) maps to pid 4988.
>> 2014-01-20 17:50:51 [4988] [2] DEBUG: Thread 2
>> (gwlib/http.c:server_thread) maps to pid 4988.
>> 2014-01-20 17:50:51 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened.
>> Telnet mode = 0
>> 2014-01-20 17:

Re: Not Receiving SMS

2014-01-20 Thread Alvaro Cornejo
Hi

Always CC kannel list.

Then it might be a "hadware" issue. Check that the device is not
locked with your VM. a device/port can not be used at the same time by
the host and the VM.

Again, CNMI tells modem to forward sms to kannel. If you do not see
anything on kannel, then modem is not sending them.

It might be that the memory/sim at the modem is full. Therefore modem
is not receiving new messages, thus CNMI has "nothing" to send to
kannel. Check a previuos email on list from me last week. I talk about
similar issue. Also manually delete messages in sim/modem and test
again.

Regards

Alvaro

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


On Mon, Jan 20, 2014 at 10:51 AM, aruna priyankara
 wrote:
> Hi Alvaro
>
> #Modems
> group = modems
> id = huawei
> name = "huawei"
> detect-string = "huawei"
> init-string = "AT+CNMI=2,1,2,2,0"
> keepalive-cmd = AT+CSQ
> reset-string = "AT+CFUN=1,0"
> message-storage = "sm"
> speed = 115200
>
> Those are the configs i am using .. in my VM with same modem i can get get
> inbound sms. also can set out sms.
> But my physical desktop i just can send out sms. can't get inbound sms.
>
> When i send SMS to system, it's doesn't grabbing those.
>
> Kannel Log
> 2014-01-20 17:16:52 [4839] [7] DEBUG: clear_old_concat_parts called
> 2014-01-20 17:50:51 [4988] [0] INFO: Added logfile `/var/log/kannel.log'
> with level `0'.
> 2014-01-20 17:50:51 [4988] [0] INFO: HTTP: Opening server at port 13010.
> 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 1
> (gwlib/fdset.c:poller)
> 2014-01-20 17:50:51 [4988] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps
> to pid 4988.
> 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 2
> (gwlib/http.c:server_thread)
> 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 3
> (gw/bb_http.c:httpadmin_run)
> 2014-01-20 17:50:51 [4988] [0] DEBUG: starting smsbox connection module
> 2014-01-20 17:50:51 [4988] [0] INFO: BOXC: 'smsbox-max-pending' not set,
> using default (100).
> 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 4
> (gw/bb_boxc.c:sms_to_smsboxes)
> 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 5
> (gw/bb_boxc.c:smsboxc_run)
> 2014-01-20 17:50:51 [4988] [0] INFO: Set SMS resend frequency to 60 seconds.
> 2014-01-20 17:50:51 [4988] [0] INFO: SMS resend retry set to unlimited.
> 2014-01-20 17:50:51 [4988] [0] DEBUG: smsbox MO concatenated message
> handling enabled
> 2014-01-20 17:50:51 [4988] [0] INFO: DLR rerouting for smsc id <(null)>
> disabled.
> 2014-01-20 17:50:51 [4988] [0] INFO: AT2[/dev/ttyUSB0]: configuration
> doesn't show modemtype. will autodetect
> 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 6
> (gw/smsc/smsc_at.c:at2_device_thread)
> 2014-01-20 17:50:51 [4988] [6] DEBUG: Thread 6
> (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 4988.
> 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 7
> (gw/bb_smscconn.c:sms_router)
> 2014-01-20 17:50:51 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: detecting modem
> speed.
> 2014-01-20 17:50:51 [4988] [0] INFO:
> 
> 2014-01-20 17:50:51 [4988] [6] INFO: AT2[/dev/ttyUSB0]: opening device
> 2014-01-20 17:50:51 [4988] [0] INFO: Kannel bearerbox II version 1.4.3
> starting
> 2014-01-20 17:50:51 [4988] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run)
> maps to pid 4988.
> 2014-01-20 17:50:51 [4988] [0] INFO: MAIN: Start-up done, entering mainloop
> 2014-01-20 17:50:51 [4988] [0] DEBUG: AT2[/dev/ttyUSB0]: start called
> 2014-01-20 17:50:51 [4988] [4] DEBUG: Thread 4
> (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 4988.
> 2014-01-20 17:50:51 [4988] [7] DEBUG: Thread 7 (gw/bb_smscconn.c:sms_router)
> maps to pid 4988.
> 2014-01-20 17:50:51 [4988] [3] DEBUG: Thread 3 (gw/bb_http.c:httpadmin_run)
> maps to pid 4988.
> 2014-01-20 17:50:51 [4988] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread)
> maps to pid 4988.
> 2014-01-20 17:50:51 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened.
> Telnet mode = 0
> 2014-01-20 17:50:52 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened
> 2014-01-20 17:50:52 [4988] [6] INFO: AT2[/dev/ttyUSB0]: speed set to 115200
> 2014-01-20 17:50:52 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: --> ^M
> 2014-01-20 17:50:54 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: --> AT^M
> 2014-01-20 17:50:54 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: <-- OK
> 2014-01-20 17:50:54 [4988] [6] INFO: AT2[/dev/ttyUSB0]: Closing device
> 2014-01-20 17:50:54 [4988] [6] INFO: AT2[/dev/ttyUSB0]: detect speed is
> 115200
> 2014-01-20 17:50:54 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: detecting modem
> type
> 2014-01-20 17:50:54 [4988] [6] INFO: AT2[/dev/ttyUSB0]: opening device
> 2014-01-20 17:50:54 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: device opened.
> Telnet mode = 0
> 2014-01-20 17

Re: Not Receiving SMS

2014-01-20 Thread aruna priyankara
HI Alvaro

sorry this is my first time :-) thats why i didn't do that CC thing.

I have my VM in my lap top. same moden works fine in Oracle VM installed on
my lap top.
When i try that in my PC Desktop, it's not getting inbound sms's.

I deleted all the sms's in the modem and there wont be any space issue.

Is there a way to check whether kannel can read dongle's smses in command
line. (By using command)
Because i can't see any related things on kannel logs.

Also

(Check a previuos email on list from me last week.) - How i get those
things sir  Please help. sorry for disturbing you.

REgards
Aruna


On Mon, Jan 20, 2014 at 9:36 PM, Alvaro Cornejo wrote:

> Hi
>
> Always CC kannel list.
>
> Then it might be a "hadware" issue. Check that the device is not
> locked with your VM. a device/port can not be used at the same time by
> the host and the VM.
>
> Again, CNMI tells modem to forward sms to kannel. If you do not see
> anything on kannel, then modem is not sending them.
>
> It might be that the memory/sim at the modem is full. Therefore modem
> is not receiving new messages, thus CNMI has "nothing" to send to
> kannel. Check a previuos email on list from me last week. I talk about
> similar issue. Also manually delete messages in sim/modem and test
> again.
>
> Regards
>
> Alvaro
>
>
> |-|
> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
> celular y Nextel
> en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
> SMS y GPRS online
>   Visitenos en www.perusms.com
>
>
> On Mon, Jan 20, 2014 at 10:51 AM, aruna priyankara
>  wrote:
> > Hi Alvaro
> >
> > #Modems
> > group = modems
> > id = huawei
> > name = "huawei"
> > detect-string = "huawei"
> > init-string = "AT+CNMI=2,1,2,2,0"
> > keepalive-cmd = AT+CSQ
> > reset-string = "AT+CFUN=1,0"
> > message-storage = "sm"
> > speed = 115200
> >
> > Those are the configs i am using .. in my VM with same modem i can get
> get
> > inbound sms. also can set out sms.
> > But my physical desktop i just can send out sms. can't get inbound sms.
> >
> > When i send SMS to system, it's doesn't grabbing those.
> >
> > Kannel Log
> > 2014-01-20 17:16:52 [4839] [7] DEBUG: clear_old_concat_parts called
> > 2014-01-20 17:50:51 [4988] [0] INFO: Added logfile `/var/log/kannel.log'
> > with level `0'.
> > 2014-01-20 17:50:51 [4988] [0] INFO: HTTP: Opening server at port 13010.
> > 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 1
> > (gwlib/fdset.c:poller)
> > 2014-01-20 17:50:51 [4988] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
> maps
> > to pid 4988.
> > 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 2
> > (gwlib/http.c:server_thread)
> > 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 3
> > (gw/bb_http.c:httpadmin_run)
> > 2014-01-20 17:50:51 [4988] [0] DEBUG: starting smsbox connection module
> > 2014-01-20 17:50:51 [4988] [0] INFO: BOXC: 'smsbox-max-pending' not set,
> > using default (100).
> > 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 4
> > (gw/bb_boxc.c:sms_to_smsboxes)
> > 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 5
> > (gw/bb_boxc.c:smsboxc_run)
> > 2014-01-20 17:50:51 [4988] [0] INFO: Set SMS resend frequency to 60
> seconds.
> > 2014-01-20 17:50:51 [4988] [0] INFO: SMS resend retry set to unlimited.
> > 2014-01-20 17:50:51 [4988] [0] DEBUG: smsbox MO concatenated message
> > handling enabled
> > 2014-01-20 17:50:51 [4988] [0] INFO: DLR rerouting for smsc id <(null)>
> > disabled.
> > 2014-01-20 17:50:51 [4988] [0] INFO: AT2[/dev/ttyUSB0]: configuration
> > doesn't show modemtype. will autodetect
> > 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 6
> > (gw/smsc/smsc_at.c:at2_device_thread)
> > 2014-01-20 17:50:51 [4988] [6] DEBUG: Thread 6
> > (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 4988.
> > 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 7
> > (gw/bb_smscconn.c:sms_router)
> > 2014-01-20 17:50:51 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: detecting modem
> > speed.
> > 2014-01-20 17:50:51 [4988] [0] INFO:
> > 
> > 2014-01-20 17:50:51 [4988] [6] INFO: AT2[/dev/ttyUSB0]: opening device
> > 2014-01-20 17:50:51 [4988] [0] INFO: Kannel bearerbox II version 1.4.3
> > starting
> > 2014-01-20 17:50:51 [4988] [5] DEBUG: Thread 5 (gw/bb_boxc.c:smsboxc_run)
> > maps to pid 4988.
> > 2014-01-20 17:50:51 [4988] [0] INFO: MAIN: Start-up done, entering
> mainloop
> > 2014-01-20 17:50:51 [4988] [0] DEBUG: AT2[/dev/ttyUSB0]: start called
> > 2014-01-20 17:50:51 [4988] [4] DEBUG: Thread 4
> > (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 4988.
> > 2014-01-20 17:50:51 [4988] [7] DEBUG: Thread 7
> (gw/bb_smscconn.c:sms_router)
> > maps to pid 4988.
> > 2014-01-20 17:50:51 [4988] [3] DEBUG: Thread 3
> (gw/bb_http.c:httpadmin_run)
> > maps to pid 4988.
> > 2014-01-20 17:50:51 [4988] [2] DEBUG: Thread 2
> (gwlib/http.c:server_thread)
> 

Re: Not Receiving SMS

2014-01-20 Thread Alvaro Cornejo
Hi

In kannel web page there is a link to the mailing list messages. Do a
search on CMGR or CMGD.

This commands allows you to check/manage messages in phone sim/memory.

You can algo place the sim on any phone and read/delete the messages
from the phone itself.

For forcing kannel to look for messages on modem use sim-buffering and
message-store config directives.

Regards

Alvaro

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


On Mon, Jan 20, 2014 at 11:40 AM, aruna priyankara
 wrote:
> HI Alvaro
>
> sorry this is my first time :-) thats why i didn't do that CC thing.
>
> I have my VM in my lap top. same moden works fine in Oracle VM installed on
> my lap top.
> When i try that in my PC Desktop, it's not getting inbound sms's.
>
> I deleted all the sms's in the modem and there wont be any space issue.
>
> Is there a way to check whether kannel can read dongle's smses in command
> line. (By using command)
> Because i can't see any related things on kannel logs.
>
> Also
>
> (Check a previuos email on list from me last week.) - How i get those things
> sir  Please help. sorry for disturbing you.
>
> REgards
> Aruna
>
>
> On Mon, Jan 20, 2014 at 9:36 PM, Alvaro Cornejo 
> wrote:
>>
>> Hi
>>
>> Always CC kannel list.
>>
>> Then it might be a "hadware" issue. Check that the device is not
>> locked with your VM. a device/port can not be used at the same time by
>> the host and the VM.
>>
>> Again, CNMI tells modem to forward sms to kannel. If you do not see
>> anything on kannel, then modem is not sending them.
>>
>> It might be that the memory/sim at the modem is full. Therefore modem
>> is not receiving new messages, thus CNMI has "nothing" to send to
>> kannel. Check a previuos email on list from me last week. I talk about
>> similar issue. Also manually delete messages in sim/modem and test
>> again.
>>
>> Regards
>>
>> Alvaro
>>
>>
>> |-|
>> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
>> celular y Nextel
>> en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
>> SMS y GPRS online
>>   Visitenos en www.perusms.com
>>
>>
>> On Mon, Jan 20, 2014 at 10:51 AM, aruna priyankara
>>  wrote:
>> > Hi Alvaro
>> >
>> > #Modems
>> > group = modems
>> > id = huawei
>> > name = "huawei"
>> > detect-string = "huawei"
>> > init-string = "AT+CNMI=2,1,2,2,0"
>> > keepalive-cmd = AT+CSQ
>> > reset-string = "AT+CFUN=1,0"
>> > message-storage = "sm"
>> > speed = 115200
>> >
>> > Those are the configs i am using .. in my VM with same modem i can get
>> > get
>> > inbound sms. also can set out sms.
>> > But my physical desktop i just can send out sms. can't get inbound sms.
>> >
>> > When i send SMS to system, it's doesn't grabbing those.
>> >
>> > Kannel Log
>> > 2014-01-20 17:16:52 [4839] [7] DEBUG: clear_old_concat_parts called
>> > 2014-01-20 17:50:51 [4988] [0] INFO: Added logfile `/var/log/kannel.log'
>> > with level `0'.
>> > 2014-01-20 17:50:51 [4988] [0] INFO: HTTP: Opening server at port 13010.
>> > 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 1
>> > (gwlib/fdset.c:poller)
>> > 2014-01-20 17:50:51 [4988] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
>> > maps
>> > to pid 4988.
>> > 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 2
>> > (gwlib/http.c:server_thread)
>> > 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 3
>> > (gw/bb_http.c:httpadmin_run)
>> > 2014-01-20 17:50:51 [4988] [0] DEBUG: starting smsbox connection module
>> > 2014-01-20 17:50:51 [4988] [0] INFO: BOXC: 'smsbox-max-pending' not set,
>> > using default (100).
>> > 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 4
>> > (gw/bb_boxc.c:sms_to_smsboxes)
>> > 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 5
>> > (gw/bb_boxc.c:smsboxc_run)
>> > 2014-01-20 17:50:51 [4988] [0] INFO: Set SMS resend frequency to 60
>> > seconds.
>> > 2014-01-20 17:50:51 [4988] [0] INFO: SMS resend retry set to unlimited.
>> > 2014-01-20 17:50:51 [4988] [0] DEBUG: smsbox MO concatenated message
>> > handling enabled
>> > 2014-01-20 17:50:51 [4988] [0] INFO: DLR rerouting for smsc id <(null)>
>> > disabled.
>> > 2014-01-20 17:50:51 [4988] [0] INFO: AT2[/dev/ttyUSB0]: configuration
>> > doesn't show modemtype. will autodetect
>> > 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 6
>> > (gw/smsc/smsc_at.c:at2_device_thread)
>> > 2014-01-20 17:50:51 [4988] [6] DEBUG: Thread 6
>> > (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 4988.
>> > 2014-01-20 17:50:51 [4988] [0] DEBUG: Started thread 7
>> > (gw/bb_smscconn.c:sms_router)
>> > 2014-01-20 17:50:51 [4988] [6] DEBUG: AT2[/dev/ttyUSB0]: detecti

Kannel not receiving sms from configured SMSC

2008-10-14 Thread harry larry
Hi everyone,

I have a live Kannel installation that binds to two SMSC server at startup 
using smpp, it can send sms through both SMSC's but it cannot receive or at 
least when i send an sms to the shortcode provided by the parent Telco i get a 
delivery report, and afterwards a "Network Error" message from the Telco but 
Kannel's status report has no records of this communication from the SMSC (both 
of them). Here is a copy of my status report and the kannel.conf file.


Kannel bearerbox version `1.4.1'.
Build `Sep  8 2007 16:47:54', compiler `3.4.6 20060404 (Red Hat 3.4.6-8)'.
System Linux, release 2.6.9-5.ELsmp, version #1 SMP Wed Jan 5 19:30:39 EST 
2005, machine i686.
Hostname vas-fcs, IP 127.0.0.1.
Libxml version 2.6.16.
Using OpenSSL 0.9.7a Feb 19 2003.
Using native malloc. 
Status: running, uptime 0d 0h 0m 8s
WDP: received 0 (0 queued), sent 0 (0 queued)
SMS: received 0 (0 queued), sent 0 (0 queued), store size -1
SMS: inbound 0.00 msg/sec, outbound 0.00 msg/sec
DLR: 0 queued, using internal storage
Box connections:
smsbox:(none), IP 127.0.0.1 (0 queued), (on-line 0d 0h 0m 8s) 
SMSC connections:
SMPP:172.17.5.247:3787/3787:vmob87:esme
SMPP:172.17.5.247:3787/3787:vmob87:esme (online 8s, rcvd 0, sent 0, failed 0, 
queued 0 msgs)
SMPP:10.200.6.247:3787/3787:vmob87:esme
SMPP:10.200.6.247:3787/3787:vmob87:esme (online 8s, rcvd 0, sent 0, failed 0, 
queued 0 msgs)




Kannel.conf file

group = core
admin-port = 13000
admin-password = vaskannel
smsbox-port = 13001
log-file = "/var/log/kannel/bearerbox.log"
log-level = 0
box-deny-ip = ""
box-allow-ip = "*.*.*.*"

group=smsc
smsc=smpp
host=172.17.5.247
port=3787 
receive-port=3787
smsc-username=vmob87
smsc-password=berry
interface-version=34
system-type="esme"
source-addr-ton=5
source-addr-npi=0
address-range =""
no-dlr=1
log-file="/var/log/kannel/smsc1.log"
log-level=0

group=smsc
smsc=smpp
host=10.200.6.247
port=3787
receive-port=3787
smsc-username=vmob87
smsc-password=berry
interface-version=34
system-type="esme"
source-addr-ton=5
source-addr-npi= 0
address-range=""
no-dlr=1
log-file="/var/log/kannel/smsc2.log"
log-level=0


group = smsbox
bearerbox-host = localhost
sendsms-port = 13009
sendsms-chars = "0123456789"
log-file = "/var/log/kannel/sendbox.log"
log-level = 0

group=sms-service
keyword= 
catch-all=yes
get-url="http://10.210.7.193:8087/smsPlugin/smsPlugin?subscriber=%p&message=%a";

group=sms-service
keyword=default
text=Received

group = sendsms-user
username = admin
password = password


 Thanks for your help

Regards

Nnamdi.



  

kannel able to send but not receiving sms

2012-05-11 Thread bilal kamoto
Hi am using Nokia 5800 xpressmusic, I tried using Mincom to initialize the
modem with AT+CNM=? It gave me an error what should be my next move 

Please help



Re: kannel able to send but not receiving sms

2012-05-11 Thread Alvaro Cornejo
Hi

If your modem does not support CNMI command --common in nokia
phones--, it is not possible to configure it to fwd messages to kannel
and form there to your app.

Try with sim-buffering=true in your modem config so kannel will search
for inc messages in the modem from time to time.

Regards

Alvaro


|-|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
              Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com


On Fri, May 11, 2012 at 8:01 AM, bilal kamoto  wrote:
> Hi am using Nokia 5800 xpressmusic, I tried using Mincom to initialize the
> modem with AT+CNM=? It gave me an error what should be my next move
>
> Please help



Re: kannel able to send but not receiving sms

2012-05-14 Thread Alvaro Cornejo
Allways cc list. Others can benefiy from it

I have no experience with huawei modems. Seach the list for coments.

Bind error is because you have another instance of the offending box
running. You can either use the http admin interface or use a init script
to handle this. Check userguide for detail.

Regards

Alvaro

On Monday, May 14, 2012, bilal kamoto  wrote:
> Hi
> I've tried sim-buffering still doesn't work. Am thinking of changing the
> modem to Huawei but am not sure of the model that will support commands to
> receive sms in the kannel.
> Another problem every time I re-run the the bearerbox it show address
> already in use: bind system error do you have a permanent solution rather
> than using < kill pid... to kill the processes
>
> -Original Message-
> From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com]
> Sent: 11 May 2012 18:41
> To: bilal kamoto
> Cc: users@kannel.org
> Subject: Re: kannel able to send but not receiving sms
>
> Hi
>
> If your modem does not support CNMI command --common in nokia phones--, it
> is not possible to configure it to fwd messages to kannel and form there
to
> your app.
>
> Try with sim-buffering=true in your modem config so kannel will search for
> inc messages in the modem from time to time.
>
> Regards
>
> Alvaro
>
>
>
|---
> --|
> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
> celular y Nextel en el Perú, México y en mas de 180 paises. Use
aplicaciones
> 2 vias via SMS y GPRS online
>   Visitenos en www.perusms.NET www.smsglobal.com.mx y
> www.pravcom.com
>
>
> On Fri, May 11, 2012 at 8:01 AM, bilal kamoto  wrote:
>> Hi am using Nokia 5800 xpressmusic, I tried using Mincom to initialize
>> the modem with AT+CNM=? It gave me an error what should be my next
>> move
>>
>> Please help
>
>

-- 
|-|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS
y GPRS online
  Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com


RE: kannel able to send but not receiving sms

2012-05-19 Thread bilal kamoto

i have installed gnome admin network to deal with the bind am  able to see 
other applications running on it but i cant stop them really dont have a clue 
how..

another thing i want to be forwarding the messages from the kannel to mysql 
database and what is in the text field should be used to query information and 
it should automatically return the values to the initiator of sms.. please help

# HTTP administration is disabled by default. Make sure you set the
# password if you enable it.

group = core
admin-port = 80
admin-password = bar
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1;192.168.0.*"
smsbox-port = 84
#wapbox-port = 13004
wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
access-log="/var/log/kannel/access.log"
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1;192.168.0.*"

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

# My modem
group = smsc
smsc = at
smsc-id = Nokia 5800 XpressMusic
modemtype = Nokia
device = /dev/ttyUSB0
speed = 0
#pin = 2345
sim-buffering = true
#message-storage = MT

# My modem group
group = modems
id = Nokia
name = Nokia
#detect-string = NOKIA
#keepalive-cmd = "AT+CBC;+CSQ"
#init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
#init-string = "AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0"
#init-string = "AT+CMGL=0,1,2"
#init-string = "AT+CNMI=1,1,0,2,1;+CMEE=1"
init-string = "AT+CNMI=2,1,2,2,0;+CMEE=1"
#enable-mms = true
#sim-buffering = true

# fake smsc
group = smsbox-route
smsbox-id = bil
smsc-id = Nokia 5800 XpressMusic
#port = 1
#connect-allow-ip = 127.0.0.1

#Send SMS
group = smsbox
smsbox-id = bil
bearerbox-host = localhost
sendsms-port = 13131
#receivesms-port = 13132
sendsms-chars = "0123456789 "
global-sender = +255659375093
access-log = "kannel.access"
log-file = "smsbox.log"
log-level = 0

#Receive SMS
group = sms-service
#keyword =
keyword-regex = .*
catch-all = yes
#get-url = "http://localhost/kannel/receivesms.php?sender=%p&; text=%b"
accept-x-kannel-headers = true
max-messages = 0

#Authentication
group = sendsms-user
username = jones
password = jones
Date: Mon, 14 May 2012 21:10:16 -0500
Subject: Re: kannel able to send but not receiving sms
From: cornejo.al...@gmail.com
To: bgk...@hotmail.com
CC: us...@vm1.kannel.org

Allways cc list. Others can benefiy from it

I have no experience with huawei modems. Seach the list for coments.

Bind error is because you have another instance of the offending box running. 
You can either use the http admin interface or use a init script to handle 
this. Check userguide for detail.


Regards

Alvaro

On Monday, May 14, 2012, bilal kamoto  wrote:
> Hi
> I've tried sim-buffering still doesn't work. Am thinking of changing the

> modem to Huawei but am not sure of the model that will support commands to
> receive sms in the kannel.
> Another problem every time I re-run the the bearerbox it show address
> already in use: bind system error do you have a permanent solution rather

> than using < kill pid... to kill the processes
>
> -Original Message-
> From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com]
> Sent: 11 May 2012 18:41

> To: bilal kamoto
> Cc: users@kannel.org
> Subject: Re: kannel able to send but not receiving sms
>
> Hi
>
> If your modem does not support CNMI command --common in nokia phones--, it

> is not possible to configure it to fwd messages to kannel and form there to
> your app.
>
> Try with sim-buffering=true in your modem config so kannel will search for
> inc messages in the modem from time to time.

>
> Regards
>
> Alvaro
>
>
> |---
> --|
> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier

> celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones
> 2 vias via SMS y GPRS online
>   Visitenos en www.perusms.NET www.smsglobal.com.mx y

> www.pravcom.com
>
>
> On Fri, May 11, 2012 at 8:01 AM, bilal kamoto  wrote:
>> Hi am using Nokia 5800 xpressmusic, I tried using Mincom to initialize

>> the modem with AT+CNM=? It gave me an error what should be my next
>> move
>>
>> Please help
>
>

-- 
|-|

Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular 
y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y 
GPRS online
  Visitenos en www.perusms.NET www.smsglobal.com.mx y 
www.pravcom.com
  

Re: kannel able to send but not receiving sms

2012-05-21 Thread Alvaro Cornejo
Hi

AGAIN: PLEASE CC the list !!! You can benefit from faster and multiple
responses and others in list can also benefit of them !!!

Kannel can not insert MO to a database --nor handle dlrs outside
itself--. You need to do that yourself. You can use get-url for
defining what you want to insert to the database, Your script can be
in any language you know.

About kannel restart each time you do a change a config, it is the
normal behaviour for kannel; however if you only change SMSC
parameters, you can just restart the smsc. Check kannel http admin.

Im both cases, refer to user guide for more info & details.

Regards

Alvaro



|-|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
              Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com


On Sun, May 20, 2012 at 4:49 PM, bilal kamoto  wrote:
> Am able to receive now but I want to be able to forward the messages to
> database. Can I forward them directly from kannel to database or I need to
> create a php script to do the job.
>
> Am still failing to deal with the bind error which is really annoying I need
> to restart my system every time I make changes
>
>
>
> Thanks in advance
>
>
>
>
>
> From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com]
> Sent: 15 May 2012 05:10
> To: bilal kamoto
> Cc: us...@vm1.kannel.org
>
>
> Subject: Re: kannel able to send but not receiving sms
>
>
>
> Allways cc list. Others can benefiy from it
>
> I have no experience with huawei modems. Seach the list for coments.
>
> Bind error is because you have another instance of the offending box
> running. You can either use the http admin interface or use a init script to
> handle this. Check userguide for detail.
>
> Regards
>
> Alvaro
>
> On Monday, May 14, 2012, bilal kamoto  wrote:
>> Hi
>> I've tried sim-buffering still doesn't work. Am thinking of changing the
>> modem to Huawei but am not sure of the model that will support commands to
>> receive sms in the kannel.
>> Another problem every time I re-run the the bearerbox it show address
>> already in use: bind system error do you have a permanent solution rather
>> than using < kill pid... to kill the processes
>>
>> -Original Message-----
>> From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com]
>> Sent: 11 May 2012 18:41
>> To: bilal kamoto
>> Cc: users@kannel.org
>> Subject: Re: kannel able to send but not receiving sms
>>
>> Hi
>>
>> If your modem does not support CNMI command --common in nokia phones--, it
>> is not possible to configure it to fwd messages to kannel and form there
>> to
>> your app.
>>
>> Try with sim-buffering=true in your modem config so kannel will search for
>> inc messages in the modem from time to time.
>>
>> Regards
>>
>> Alvaro
>>
>>
>>
>> |---
>> --|
>> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
>> celular y Nextel en el Perú, México y en mas de 180 paises. Use
>> aplicaciones
>> 2 vias via SMS y GPRS online
>>               Visitenos en www.perusms.NET www.smsglobal.com.mx y
>> www.pravcom.com
>>
>>
>> On Fri, May 11, 2012 at 8:01 AM, bilal kamoto  wrote:
>>> Hi am using Nokia 5800 xpressmusic, I tried using Mincom to initialize
>>> the modem with AT+CNM=? It gave me an error what should be my next
>>> move
>>>
>>> Please help
>>
>>
>
> --
> |-|
> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
> celular y Nextel
> en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y
> GPRS online
>               Visitenos en www.perusms.NET www.smsglobal.com.mx y
> www.pravcom.com



Re: kannel able to send but not receiving sms

2012-05-21 Thread spameden
Yeah, sadly kannel doesn't support reload feature.

But you can dynamically add / remove smsc from kannel.

You can use SQLBox, put it in the middle of bearerbox and smsbox to handle
messages in database.

2012/5/21 Alvaro Cornejo 

> Hi
>
> AGAIN: PLEASE CC the list !!! You can benefit from faster and multiple
> responses and others in list can also benefit of them !!!
>
> Kannel can not insert MO to a database --nor handle dlrs outside
> itself--. You need to do that yourself. You can use get-url for
> defining what you want to insert to the database, Your script can be
> in any language you know.
>
> About kannel restart each time you do a change a config, it is the
> normal behaviour for kannel; however if you only change SMSC
> parameters, you can just restart the smsc. Check kannel http admin.
>
> Im both cases, refer to user guide for more info & details.
>
> Regards
>
> Alvaro
>
>
>
>
> |-|
> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
> celular y Nextel
> en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
> SMS y GPRS online
>   Visitenos en www.perusms.NET www.smsglobal.com.mx y
> www.pravcom.com
>
>
> On Sun, May 20, 2012 at 4:49 PM, bilal kamoto  wrote:
> > Am able to receive now but I want to be able to forward the messages to
> > database. Can I forward them directly from kannel to database or I need
> to
> > create a php script to do the job.
> >
> > Am still failing to deal with the bind error which is really annoying I
> need
> > to restart my system every time I make changes
> >
> >
> >
> > Thanks in advance
> >
> >
> >
> >
> >
> > From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com]
> > Sent: 15 May 2012 05:10
> > To: bilal kamoto
> > Cc: us...@vm1.kannel.org
> >
> >
> > Subject: Re: kannel able to send but not receiving sms
> >
> >
> >
> > Allways cc list. Others can benefiy from it
> >
> > I have no experience with huawei modems. Seach the list for coments.
> >
> > Bind error is because you have another instance of the offending box
> > running. You can either use the http admin interface or use a init
> script to
> > handle this. Check userguide for detail.
> >
> > Regards
> >
> > Alvaro
> >
> > On Monday, May 14, 2012, bilal kamoto  wrote:
> >> Hi
> >> I've tried sim-buffering still doesn't work. Am thinking of changing the
> >> modem to Huawei but am not sure of the model that will support commands
> to
> >> receive sms in the kannel.
> >> Another problem every time I re-run the the bearerbox it show address
> >> already in use: bind system error do you have a permanent solution
> rather
> >> than using < kill pid... to kill the processes
> >>
> >> -Original Message-
> >> From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com]
> >> Sent: 11 May 2012 18:41
> >> To: bilal kamoto
> >> Cc: users@kannel.org
> >> Subject: Re: kannel able to send but not receiving sms
> >>
> >> Hi
> >>
> >> If your modem does not support CNMI command --common in nokia phones--,
> it
> >> is not possible to configure it to fwd messages to kannel and form there
> >> to
> >> your app.
> >>
> >> Try with sim-buffering=true in your modem config so kannel will search
> for
> >> inc messages in the modem from time to time.
> >>
> >> Regards
> >>
> >> Alvaro
> >>
> >>
> >>
> >>
> |---
> >> --|
> >> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
> >> celular y Nextel en el Perú, México y en mas de 180 paises. Use
> >> aplicaciones
> >> 2 vias via SMS y GPRS online
> >>   Visitenos en www.perusms.NET www.smsglobal.com.mx y
> >> www.pravcom.com
> >>
> >>
> >> On Fri, May 11, 2012 at 8:01 AM, bilal kamoto 
> wrote:
> >>> Hi am using Nokia 5800 xpressmusic, I tried using Mincom to initialize
> >>> the modem with AT+CNM=? It gave me an error what should be my next
> >>> move
> >>>
> >>> Please help
> >>
> >>
> >
> > --
> >
> |-|
> > Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
> > celular y Nextel
> > en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
> SMS y
> > GPRS online
> >   Visitenos en www.perusms.NET www.smsglobal.com.mx y
> > www.pravcom.com
>
>


Re: kannel able to send but not receiving sms

2012-05-21 Thread Tapan Kumar Thapa
Hi,

Can we send any HUP signal to smsbox/bearerbox to reload/address this?

Sent from my iPhone

Regards
Tapan Kumar Thapa
Manager-Tech Support
HT Mobile Solutions Limited
Mob-919871701375

On May 21, 2012, at 7:42 PM, spameden  wrote:

> Yeah, sadly kannel doesn't support reload feature.
> 
> But you can dynamically add / remove smsc from kannel.
> 
> You can use SQLBox, put it in the middle of bearerbox and smsbox to handle 
> messages in database.
> 
> 2012/5/21 Alvaro Cornejo 
> Hi
> 
> AGAIN: PLEASE CC the list !!! You can benefit from faster and multiple
> responses and others in list can also benefit of them !!!
> 
> Kannel can not insert MO to a database --nor handle dlrs outside
> itself--. You need to do that yourself. You can use get-url for
> defining what you want to insert to the database, Your script can be
> in any language you know.
> 
> About kannel restart each time you do a change a config, it is the
> normal behaviour for kannel; however if you only change SMSC
> parameters, you can just restart the smsc. Check kannel http admin.
> 
> Im both cases, refer to user guide for more info & details.
> 
> Regards
> 
> Alvaro
> 
> 
> 
> |-|
> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
> celular y Nextel
> en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
> SMS y GPRS online
>   Visitenos en www.perusms.NET www.smsglobal.com.mx y
> www.pravcom.com
> 
> 
> On Sun, May 20, 2012 at 4:49 PM, bilal kamoto  wrote:
> > Am able to receive now but I want to be able to forward the messages to
> > database. Can I forward them directly from kannel to database or I need to
> > create a php script to do the job.
> >
> > Am still failing to deal with the bind error which is really annoying I need
> > to restart my system every time I make changes
> >
> >
> >
> > Thanks in advance
> >
> >
> >
> >
> >
> > From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com]
> > Sent: 15 May 2012 05:10
> > To: bilal kamoto
> > Cc: us...@vm1.kannel.org
> >
> >
> > Subject: Re: kannel able to send but not receiving sms
> >
> >
> >
> > Allways cc list. Others can benefiy from it
> >
> > I have no experience with huawei modems. Seach the list for coments.
> >
> > Bind error is because you have another instance of the offending box
> > running. You can either use the http admin interface or use a init script to
> > handle this. Check userguide for detail.
> >
> > Regards
> >
> > Alvaro
> >
> > On Monday, May 14, 2012, bilal kamoto  wrote:
> >> Hi
> >> I've tried sim-buffering still doesn't work. Am thinking of changing the
> >> modem to Huawei but am not sure of the model that will support commands to
> >> receive sms in the kannel.
> >> Another problem every time I re-run the the bearerbox it show address
> >> already in use: bind system error do you have a permanent solution rather
> >> than using < kill pid... to kill the processes
> >>
> >> -Original Message-
> >> From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com]
> >> Sent: 11 May 2012 18:41
> >> To: bilal kamoto
> >> Cc: users@kannel.org
> >> Subject: Re: kannel able to send but not receiving sms
> >>
> >> Hi
> >>
> >> If your modem does not support CNMI command --common in nokia phones--, it
> >> is not possible to configure it to fwd messages to kannel and form there
> >> to
> >> your app.
> >>
> >> Try with sim-buffering=true in your modem config so kannel will search for
> >> inc messages in the modem from time to time.
> >>
> >> Regards
> >>
> >> Alvaro
> >>
> >>
> >>
> >> |---
> >> --|
> >> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
> >> celular y Nextel en el Perú, México y en mas de 180 paises. Use
> >> aplicaciones
> >> 2 vias via SMS y GPRS online
> >>   Visitenos en www.perusms.NET www.smsglobal.com.mx y
> >> www.pravcom.com
> >>
> >>
> >> On Fri, May 11, 2012 at 8:01 AM, bilal kamoto  wrote:
> >>> Hi am using Nokia 5800 xpressmusic, I tried using Mincom to initialize
> >>> the modem with AT+CNM=? It gave me an error what should be my next
> >>> move
> >>>
> >>> Please help
> >>
> >>
> >
> > --
> > |-|
> > Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
> > celular y Nextel
> > en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y
> > GPRS online
> >   Visitenos en www.perusms.NET www.smsglobal.com.mx y
> > www.pravcom.com
> 
> 


RE: kannel able to send but not receiving sms

2012-05-21 Thread Rene Kluwen
No, all that Kannel does on receiving a HUP signal is re-open the log files. 
But it doesn’t reload the config.

 

== Rene

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
Tapan Kumar Thapa
Sent: Monday, 21 May, 2012 16:49
To: spameden
Cc: users
Subject: Re: kannel able to send but not receiving sms

 

Hi,

 

Can we send any HUP signal to smsbox/bearerbox to reload/address this?

Sent from my iPhone

 

Regards

Tapan Kumar Thapa

Manager-Tech Support

HT Mobile Solutions Limited

Mob-919871701375


On May 21, 2012, at 7:42 PM, spameden  wrote:

Yeah, sadly kannel doesn't support reload feature.

But you can dynamically add / remove smsc from kannel.

You can use SQLBox, put it in the middle of bearerbox and smsbox to handle 
messages in database.

2012/5/21 Alvaro Cornejo 

Hi

AGAIN: PLEASE CC the list !!! You can benefit from faster and multiple
responses and others in list can also benefit of them !!!

Kannel can not insert MO to a database --nor handle dlrs outside
itself--. You need to do that yourself. You can use get-url for
defining what you want to insert to the database, Your script can be
in any language you know.

About kannel restart each time you do a change a config, it is the
normal behaviour for kannel; however if you only change SMSC
parameters, you can just restart the smsc. Check kannel http admin.

Im both cases, refer to user guide for more info & details.

Regards

Alvaro




|-|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
  Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com



On Sun, May 20, 2012 at 4:49 PM, bilal kamoto  wrote:
> Am able to receive now but I want to be able to forward the messages to
> database. Can I forward them directly from kannel to database or I need to
> create a php script to do the job.
>
> Am still failing to deal with the bind error which is really annoying I need
> to restart my system every time I make changes
>
>
>
> Thanks in advance

>
>
>
>
>
> From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com]

> Sent: 15 May 2012 05:10
> To: bilal kamoto
> Cc: us...@vm1.kannel.org

>
>
> Subject: Re: kannel able to send but not receiving sms
>
>
>
> Allways cc list. Others can benefiy from it
>
> I have no experience with huawei modems. Seach the list for coments.
>
> Bind error is because you have another instance of the offending box
> running. You can either use the http admin interface or use a init script to
> handle this. Check userguide for detail.
>
> Regards
>
> Alvaro
>
> On Monday, May 14, 2012, bilal kamoto  wrote:
>> Hi
>> I've tried sim-buffering still doesn't work. Am thinking of changing the
>> modem to Huawei but am not sure of the model that will support commands to
>> receive sms in the kannel.
>> Another problem every time I re-run the the bearerbox it show address
>> already in use: bind system error do you have a permanent solution rather
>> than using < kill pid... to kill the processes
>>
>> -Original Message-----
>> From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com]
>> Sent: 11 May 2012 18:41
>> To: bilal kamoto
>> Cc: users@kannel.org
>> Subject: Re: kannel able to send but not receiving sms
>>
>> Hi
>>
>> If your modem does not support CNMI command --common in nokia phones--, it
>> is not possible to configure it to fwd messages to kannel and form there
>> to
>> your app.
>>
>> Try with sim-buffering=true in your modem config so kannel will search for
>> inc messages in the modem from time to time.
>>
>> Regards
>>
>> Alvaro
>>
>>
>>
>> |---
>> --|
>> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
>> celular y Nextel en el Perú, México y en mas de 180 paises. Use
>> aplicaciones
>> 2 vias via SMS y GPRS online
>>   Visitenos en www.perusms.NET www.smsglobal.com.mx y
>> www.pravcom.com
>>
>>
>> On Fri, May 11, 2012 at 8:01 AM, bilal kamoto  wrote:
>>> Hi am using Nokia 5800 xpressmusic, I tried using Mincom to initialize
>>> the modem with AT+CNM=? It gave me an error what should be my next
>>> move
>>>
>>> Please help
>>
>>
>
> --
> |-|
> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
> celular y Nextel
> en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y
> GPRS online
>   Visitenos en www.perusms.NET www.smsglobal.com.mx y
> www.pravcom.com

 



RE: kannel able to send but not receiving sms

2012-05-21 Thread bilal kamoto
Thanks the bind error managed to sort it out, forwarding the sms to an
application then to database is what I need to crack, 

 

 

From: spameden [mailto:spame...@gmail.com] 
Sent: 21 May 2012 17:12
To: Alvaro Cornejo
Cc: bilal kamoto; users
Subject: Re: kannel able to send but not receiving sms

 

Yeah, sadly kannel doesn't support reload feature.

But you can dynamically add / remove smsc from kannel.

You can use SQLBox, put it in the middle of bearerbox and smsbox to handle
messages in database.

2012/5/21 Alvaro Cornejo 

Hi

AGAIN: PLEASE CC the list !!! You can benefit from faster and multiple
responses and others in list can also benefit of them !!!

Kannel can not insert MO to a database --nor handle dlrs outside
itself--. You need to do that yourself. You can use get-url for
defining what you want to insert to the database, Your script can be
in any language you know.

About kannel restart each time you do a change a config, it is the
normal behaviour for kannel; however if you only change SMSC
parameters, you can just restart the smsc. Check kannel http admin.

Im both cases, refer to user guide for more info & details.

Regards

Alvaro




|---
--|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
  Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com



On Sun, May 20, 2012 at 4:49 PM, bilal kamoto  wrote:
> Am able to receive now but I want to be able to forward the messages to
> database. Can I forward them directly from kannel to database or I need to
> create a php script to do the job.
>
> Am still failing to deal with the bind error which is really annoying I
need
> to restart my system every time I make changes
>
>
>
> Thanks in advance

>
>
>
>
>
> From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com]

> Sent: 15 May 2012 05:10
> To: bilal kamoto
> Cc: us...@vm1.kannel.org

>
>
> Subject: Re: kannel able to send but not receiving sms
>
>
>
> Allways cc list. Others can benefiy from it
>
> I have no experience with huawei modems. Seach the list for coments.
>
> Bind error is because you have another instance of the offending box
> running. You can either use the http admin interface or use a init script
to
> handle this. Check userguide for detail.
>
> Regards
>
> Alvaro
>
> On Monday, May 14, 2012, bilal kamoto  wrote:
>> Hi
>> I've tried sim-buffering still doesn't work. Am thinking of changing the
>> modem to Huawei but am not sure of the model that will support commands
to
>> receive sms in the kannel.
>> Another problem every time I re-run the the bearerbox it show address
>> already in use: bind system error do you have a permanent solution rather
>> than using < kill pid... to kill the processes
>>
>> -Original Message-----
>> From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com]
>> Sent: 11 May 2012 18:41
>> To: bilal kamoto
>> Cc: users@kannel.org
>> Subject: Re: kannel able to send but not receiving sms
>>
>> Hi
>>
>> If your modem does not support CNMI command --common in nokia phones--,
it
>> is not possible to configure it to fwd messages to kannel and form there
>> to
>> your app.
>>
>> Try with sim-buffering=true in your modem config so kannel will search
for
>> inc messages in the modem from time to time.
>>
>> Regards
>>
>> Alvaro
>>
>>
>>
>>
|---
>> --|
>> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
>> celular y Nextel en el Perú, México y en mas de 180 paises. Use
>> aplicaciones
>> 2 vias via SMS y GPRS online
>>   Visitenos en www.perusms.NET www.smsglobal.com.mx y
>> www.pravcom.com
>>
>>
>> On Fri, May 11, 2012 at 8:01 AM, bilal kamoto  wrote:
>>> Hi am using Nokia 5800 xpressmusic, I tried using Mincom to initialize
>>> the modem with AT+CNM=? It gave me an error what should be my next
>>> move
>>>
>>> Please help
>>
>>
>
> --
>
|---
--|
> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
> celular y Nextel
> en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS
y
> GPRS online
>   Visitenos en www.perusms.NET www.smsglobal.com.mx y
> www.pravcom.com

 



RE: kannel able to send but not receiving sms

2012-05-22 Thread bilal kamoto
Thanks the bind error managed to sort it out, forwarding the sms to an
application then to database is what I need to crack

 

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of bilal kamoto
Sent: 19 May 2012 17:09
To: cornejo.alv...@gmail.com
Cc: users@kannel.org
Subject: RE: kannel able to send but not receiving sms

 

i have installed gnome admin network to deal with the bind am  able to see
other applications running on it but i cant stop them really dont have a
clue how..

another thing i want to be forwarding the messages from the kannel to mysql
database and what is in the text field should be used to query information
and it should automatically return the values to the initiator of sms..
please help

# HTTP administration is disabled by default. Make sure you set the
# password if you enable it.

group = core
admin-port = 80
admin-password = bar
admin-deny-ip = "*.*.*.*"
admin-allow-ip = "127.0.0.1;192.168.0.*"
smsbox-port = 84
#wapbox-port = 13004
wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
access-log="/var/log/kannel/access.log"
box-deny-ip = "*.*.*.*"
box-allow-ip = "127.0.0.1;192.168.0.*"

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

# My modem
group = smsc
smsc = at
smsc-id = Nokia 5800 XpressMusic
modemtype = Nokia
device = /dev/ttyUSB0
speed = 0
#pin = 2345
sim-buffering = true
#message-storage = MT

# My modem group
group = modems
id = Nokia
name = Nokia
#detect-string = NOKIA
#keepalive-cmd = "AT+CBC;+CSQ"
#init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
#init-string = "AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0"
#init-string = "AT+CMGL=0,1,2"
#init-string = "AT+CNMI=1,1,0,2,1;+CMEE=1"
init-string = "AT+CNMI=2,1,2,2,0;+CMEE=1"
#enable-mms = true
#sim-buffering = true

# fake smsc
group = smsbox-route
smsbox-id = bil
smsc-id = Nokia 5800 XpressMusic
#port = 1
#connect-allow-ip = 127.0.0.1

#Send SMS
group = smsbox
smsbox-id = bil
bearerbox-host = localhost
sendsms-port = 13131
#receivesms-port = 13132
sendsms-chars = "0123456789 "
global-sender = +255659375093
access-log = "kannel.access"
log-file = "smsbox.log"
log-level = 0

#Receive SMS
group = sms-service
#keyword =
keyword-regex = .*
catch-all = yes
#get-url = "http://localhost/kannel/receivesms.php?sender=%p
<http://localhost/kannel/receivesms.php?sender=%25p&%20text=%25b> &
text=%b"
accept-x-kannel-headers = true
max-messages = 0

#Authentication
group = sendsms-user
username = jones
password = jones

  _  

Date: Mon, 14 May 2012 21:10:16 -0500
Subject: Re: kannel able to send but not receiving sms
From: cornejo.al...@gmail.com
To: bgk...@hotmail.com
CC: us...@vm1.kannel.org

Allways cc list. Others can benefiy from it

I have no experience with huawei modems. Seach the list for coments.

Bind error is because you have another instance of the offending box
running. You can either use the http admin interface or use a init script to
handle this. Check userguide for detail.

Regards

Alvaro

On Monday, May 14, 2012, bilal kamoto  wrote:
> Hi
> I've tried sim-buffering still doesn't work. Am thinking of changing the
> modem to Huawei but am not sure of the model that will support commands to
> receive sms in the kannel.
> Another problem every time I re-run the the bearerbox it show address
> already in use: bind system error do you have a permanent solution rather
> than using < kill pid... to kill the processes
>
> -Original Message-
> From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com]
> Sent: 11 May 2012 18:41
> To: bilal kamoto
> Cc: users@kannel.org
> Subject: Re: kannel able to send but not receiving sms
>
> Hi
>
> If your modem does not support CNMI command --common in nokia phones--, it
> is not possible to configure it to fwd messages to kannel and form there
to
> your app.
>
> Try with sim-buffering=true in your modem config so kannel will search for
> inc messages in the modem from time to time.
>
> Regards
>
> Alvaro
>
>
>
|---
> --|
> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
> celular y Nextel en el Perú, México y en mas de 180 paises. Use
aplicaciones
> 2 vias via SMS y GPRS online
>   Visitenos en www.perusms.NET www.smsglobal.com.mx y
> www.pravcom.com
>
>
> On Fri, May 11, 2012 at 8:01 AM, bilal kamoto  wrote:
>> Hi am using Nokia 5800 xpressmusic, I tried using Mincom to initialize
>> the modem with AT+CNM=? It gave me an error what should be my next
>> move
>>
>> Please help
>
>

-- 
|---
--|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y
GPRS online
  Visitenos en www.perusms.NET www.smsglobal.com.mx y
www.pravcom.com



Re: kannel able to send but not receiving sms

2012-05-22 Thread spameden
Please don't spam the list with the same messages.

Thanks.

2012/5/22 bilal kamoto 

> Thanks the bind error managed to sort it out, forwarding the sms to an
> application then to database is what I need to crack
>
> ** **
>
> ** **
>
> *From:* users-boun...@kannel.org [mailto:users-boun...@kannel.org] *On
> Behalf Of *bilal kamoto
> *Sent:* 19 May 2012 17:09
> *To:* cornejo.alv...@gmail.com
> *Cc:* users@kannel.org
> *Subject:* RE: kannel able to send but not receiving sms
>
> ** **
>
> i have installed gnome admin network to deal with the bind am  able to see
> other applications running on it but i cant stop them really dont have a
> clue how..
>
> another thing i want to be forwarding the messages from the kannel to
> mysql database and what is in the text field should be used to query
> information and it should automatically return the values to the initiator
> of sms.. please help
>
> # HTTP administration is disabled by default. Make sure you set the
> # password if you enable it.
>
> group = core
> admin-port = 80
> admin-password = bar
> admin-deny-ip = "*.*.*.*"
> admin-allow-ip = "127.0.0.1;192.168.0.*"
> smsbox-port = 84
> #wapbox-port = 13004
> wdp-interface-name = "*"
> log-file = "/var/log/kannel/bearerbox.log"
> access-log="/var/log/kannel/access.log"
> box-deny-ip = "*.*.*.*"
> box-allow-ip = "127.0.0.1;192.168.0.*"
>
> group = wapbox
> bearerbox-host = localhost
> log-file = "/var/log/kannel/wapbox.log"
>
> # My modem
> group = smsc
> smsc = at
> smsc-id = Nokia 5800 XpressMusic
> modemtype = Nokia
> device = /dev/ttyUSB0
> speed = 0
> #pin = 2345
> sim-buffering = true
> #message-storage = MT
>
> # My modem group
> group = modems
> id = Nokia
> name = Nokia
> #detect-string = NOKIA
> #keepalive-cmd = "AT+CBC;+CSQ"
> #init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
> #init-string = "AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0"
> #init-string = "AT+CMGL=0,1,2"
> #init-string = "AT+CNMI=1,1,0,2,1;+CMEE=1"
> init-string = "AT+CNMI=2,1,2,2,0;+CMEE=1"
> #enable-mms = true
> #sim-buffering = true
>
> # fake smsc
> group = smsbox-route
> smsbox-id = bil
> smsc-id = Nokia 5800 XpressMusic
> #port = 1
> #connect-allow-ip = 127.0.0.1
>
> #Send SMS
> group = smsbox
> smsbox-id = bil
> bearerbox-host = localhost
> sendsms-port = 13131
> #receivesms-port = 13132
> sendsms-chars = "0123456789 "
> global-sender = +255659375093
> access-log = "kannel.access"
> log-file = "smsbox.log"
> log-level = 0
>
> #Receive SMS
> group = sms-service
> #keyword =
> keyword-regex = .*
> catch-all = yes
> #get-url = "http://localhost/kannel/receivesms.php?sender=%p&; 
> text=%b<http://localhost/kannel/receivesms.php?sender=%25p&%20text=%25b>
> "
> accept-x-kannel-headers = true
> max-messages = 0
>
> #Authentication
> group = sendsms-user
> username = jones
> password = jones
> --
>
> Date: Mon, 14 May 2012 21:10:16 -0500
> Subject: Re: kannel able to send but not receiving sms
> From: cornejo.al...@gmail.com
> To: bgk...@hotmail.com
> CC: us...@vm1.kannel.org
>
> Allways cc list. Others can benefiy from it
>
> I have no experience with huawei modems. Seach the list for coments.
>
> Bind error is because you have another instance of the offending box
> running. You can either use the http admin interface or use a init script
> to handle this. Check userguide for detail.
>
> Regards
>
> Alvaro
>
> On Monday, May 14, 2012, bilal kamoto  wrote:
> > Hi
> > I've tried sim-buffering still doesn't work. Am thinking of changing the
> > modem to Huawei but am not sure of the model that will support commands
> to
> > receive sms in the kannel.
> > Another problem every time I re-run the the bearerbox it show address
> > already in use: bind system error do you have a permanent solution rather
> > than using < kill pid... to kill the processes
> >
> > -Original Message-
> > From: Alvaro Cornejo [mailto:cornejo.alv...@gmail.com]
> > Sent: 11 May 2012 18:41
> > To: bilal kamoto
> > Cc: users@kannel.org
> > Subject: Re: kannel able to send but not receiving sms
> >
> > Hi
> >
> > If your modem does not support CNMI command --common in nokia phones--,
> it
> > is not possible to configure it to fwd messages to kannel and form there
> to
> > your app.
> >
> > Try

RE: kannel able to send but not receiving sms

2012-05-28 Thread bilal kamoto
Hi

I’ve  installed and configured sqlbox but am not sure of the sequence of
starting the bearerbox, smsbox and sqlbox.

starting bearerbox and smsbox works perfectly fine but when I start
sqlbox,,the localhost bearerbox connects perfectly but there is an error
when connecting to smsbox “ bind system error address already

# Sample configuration file for Kannel bearerbox on Debian.

 

# See the documentation for explanations of fields.

 

#

 

 

 

# HTTP administration is disabled by default. Make sure you set the

 

# password if you enable it.

 

 

 

group = core

 

admin-port = 443

 

admin-password = bar

 

admin-deny-ip = "*.*.*.*"

 

admin-allow-ip = "127.0.0.1;192.168.0.*"

 

smsbox-port = 444

 

#wapbox-port = 13004

 

wdp-interface-name = "*"

 

log-file = "/var/log/kannel/bearerbox.log"

 

access-log="/var/log/kannel/access.log"

 

box-deny-ip = "*.*.*.*"

 

box-allow-ip = "127.0.0.1;192.168.0.*"

 

dlr-storage = internal

 

 

 

group = wapbox

 

bearerbox-host = localhost

 

log-file = "/var/log/kannel/wapbox.log"

 

 

 

# My modem

 

group = smsc

 

smsc = at

 

smsc-id = Nokia 5800 XpressMusic

 

modemtype = Nokia

 

device = /dev/ttyUSB0

 

speed = 0

 

#pin = 2345

 

sim-buffering = true

 

#message-storage = MT

 

 

 

# My modem group

 

group = modems

 

id = Nokia

 

name = Nokia

 

#detect-string = NOKIA

 

#keepalive-cmd = "AT+CBC;+CSQ"

 

init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

 

#init-string = "AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0"

 

#init-string = "AT+CMGL=0,1,2"

 

init-string = "AT+CNMI=1,2,0,1,0;+CMEE=1"

 

#init-string = "AT+CNMI=2,1,2,2,0;+CMEE=1"

 

#message-storage = MT

 

#sim-buffering = true

 

 

 

#group = sqlbox

 

#id = mydlr

 

#smsbox-id = bil

 

#global-sender = "+265999307939"

 

#bearerbox-host = localhost

 

#bearerbox-port = 443

 

#smsbox-port = 444

 

#smsbox-port-ssl = false

 

#sql-log-table = sent_sms

 

#sql-insert-table = send_sms

 

#log-file = "/var/log/kannel/kannel-sqlbox.log"

 

#log-level = 0

 

#include = " /usr/share/doc/kannel/examples/dlr-mysql.conf"

 

 

 

# fake smsc

 

group = smsbox-route

 

smsbox-id = bil

 

smsc-id = Nokia 5800 XpressMusic

 

#port = 1

 

#connect-allow-ip = 127.0.0.1

 

 

 

#Send SMS

 

group = smsbox

 

smsbox-id = bil

 

bearerbox-host = localhost

 

sendsms-port = 13131

 

#sms-center-number = +29900140

 

sendsms-chars = "0123456789 "

 

global-sender = +##

access-log = "kannel.access"

 

log-file = "smsbox.log"

 

log-level = 0

 

 

 

#Receive SMS

 

group = sms-service

 

#keyword =

 

keyword-regex = .*

 

catch-all = yes

 

get-url = "http://localhost/receivesms.php?sender=%p&; text=%b"

 

accept-x-kannel-headers = true

 

max-messages = 1

 

 

 

#group = mysql-connection

 

#id = mydrl

 

#host = localhost

 

#username = root

 

#password = boo

#database = kan

 

#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 = mask

 

#field-status = status

 

#field-boxc-id = boxc

 

 

 

#Authentication

 

group = sendsms-user

 

username = jones

 

password = jones

 

 

sql.conf file

 

group = sqlbox

 

id = mydlr

 

smsbox-id = bil

 

global-sender = "+"

 

bearerbox-host = localhost

 

bearerbox-port = 443

 

smsbox-port = 444

 

smsbox-port-ssl = false

 

sql-log-table = sent_sms

 

sql-insert-table = send_sms

 

log-file = "/var/log/kannel/kannel-sqlbox.log"

 

log-level = 0

 

 

 

group = mysql-connection

 

id = mydlr

 

host = localhost

 

username = root

 

password = bookert

 

database = dlr

 

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 = mask

 

field-status = status

 

field-boxc-id = boxc 

 

 

 

From: spameden [mailto:spame...@gmail.com] 
Sent: 22 May 2012 15:45
To: bilal kamoto
Cc: Alvaro Cornejo; users@kannel.org
Subject: Re: kannel able to send but not receiving sms

 

Please don't spam the list with the same messages.

Thanks.

2012/5/22 bilal kamoto 

Thanks the bind error managed to sort it out, forwarding the sms to an
application then to database is what I need to crack

 

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of bilal kamoto
Sent: 19 May 2012 17:09
To: cornejo.alv...@gmail.com
Cc: users@kannel.org
Subject: RE: kannel able to send but not re

RE: kannel able to send but not receiving sms

2012-05-31 Thread bilal kamoto

hi am trying to forward sms using the sqlbox but i get this error " DRL:mysl 
connection settings for mydlr are not specified! am lost here are my 
kannel.conf and sql.confpleaase help. HTTP administration is disabled by 
default. Make sure you set the# password if you enable it.
group = coreadmin-port = 443admin-password = baradmin-deny-ip = 
"*.*.*.*"admin-allow-ip = "127.0.0.1;192.168.0.*"smsbox-port = 446#wapbox-port 
= 13004wdp-interface-name = "*"log-file = 
"/var/log/kannel/bearerbox.log"access-log="/var/log/kannel/access.log"box-deny-ip
 = "*.*.*.*"box-allow-ip = "127.0.0.1;192.168.0.*"dlr-storage = mysql
group = wapboxbearerbox-host = localhostlog-file = "/var/log/kannel/wapbox.log"
# My modemgroup = smscsmsc = atsmsc-id = Nokia 5800 XpressMusicmodemtype = 
Nokiadevice = /dev/ttyUSB0speed = 0#pin = 2345sim-buffering = 
true#message-storage = MT
# My modem groupgroup = modemsid = Nokianame = Nokia#detect-string = 
NOKIA#keepalive-cmd = "AT+CBC;+CSQ"init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 
+FCLASS=0"#init-string = "AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0"#init-string = 
"AT+CMGL=0,1,2"#init-string = "AT+CNMI=1,2,0,1,0;+CMEE=1"init-string = 
"AT+CNMI=2,1,2,2,0;+CMEE=1"message-storage = sm#sim-buffering = true
# fake smscgroup = smsbox-routesmsbox-id = bilsmsc-id = Nokia 5800 
XpressMusic#port = 1#connect-allow-ip = 127.0.0.1
#Send SMSgroup = smsboxsmsbox-id = bilbearerbox-host = localhostsendsms-port = 
13131#sms-center-number = +2659900140sendsms-chars = "0123456789 "global-sender 
= +265999307939access-log = "kannel.access"log-file = "smsbox.log"log-level = 0
#Receive SMSgroup = sms-service#keyword =keyword-regex = .*catch-all = 
yesget-url = "http://localhost/receivesms.php?sender=%p&; 
text=%b"accept-x-kannel-headers = truemax-messages = 5
#group = sqlbox#id = mydlr#smsbox-id = bil#global-sender = 
"+2###"#bearerbox-host = localhost#bearerbox-port = 443#smsbox-port = 
444#smsbox-port-ssl = false#sql-log-table = sent_sms#sql-insert-table = 
send_sms#log-file = "/var/log/kannel/kannel-sqlbox.log"#log-level = 0
group = mysql-connectionid = mydrlhost = localhostusername = rootpassword = 
bookertdatabase = kanmax-connections = 1
group = dlr-dbid = mydlrtable = dlrfield-smsc = smscfield-timestamp = 
tsfield-destination = destinationfield-source = sourcefield-service = 
servicefield-url = urlfield-mask = maskfield-status = statusfield-boxc-id = boxc
#Authenticationgroup = sendsms-userusername = jonespassword = jones
sql.conf
group = sqlboxid = mydlrsmsbox-id = bilglobal-sender = "+2##"bearerbox-host = 
localhostbearerbox-port = 443smsbox-port = 13131smsbox-port-ssl = 
falsesql-log-table = sent_smssql-insert-table = send_smslog-file = 
"/var/log/kannel/kannel-sqlbox.log"log-level = 0
#group = mysql-connection#id = mydlr#host = localhost#username = root#password 
= bookert#database = dlr#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 = mask#field-status = status#field-boxc-id = 
boxc
> Date: Mon, 21 May 2012 08:52:43 -0500
> Subject: Re: kannel able to send but not receiving sms
> From: cornejo.alv...@gmail.com
> To: bgk...@hotmail.com; users@kannel.org
> 
> Hi
> 
> AGAIN: PLEASE CC the list !!! You can benefit from faster and multiple
> responses and others in list can also benefit of them !!!
> 
> Kannel can not insert MO to a database --nor handle dlrs outside
> itself--. You need to do that yourself. You can use get-url for
> defining what you want to insert to the database, Your script can be
> in any language you know.
> 
> About kannel restart each time you do a change a config, it is the
> normal behaviour for kannel; however if you only change SMSC
> parameters, you can just restart the smsc. Check kannel http admin.
> 
> Im both cases, refer to user guide for more info & details.
> 
> Regards
> 
> Alvaro
> 
> 
> 
> |-|
> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
> celular y Nextel
> en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
> SMS y GPRS online
>   Visitenos en www.perusms.NET www.smsglobal.com.mx y
> www.pravcom.com
> 
> 
> On Sun, May 20, 2012 at 4:49 PM, bilal kamoto  wrote:
> > Am able to receive now but I want to be able to forward the messages to
> > database. Can I forward them directly from kannel to database or I need to
> > create a php script to do the job.
> >
> >

RE: kannel able to send but not receiving sms

2012-06-02 Thread Rene Kluwen
You have the ports mixed up.

Also port 443 is not a wise choice, because it is used by https already.

 

== Rene

 

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of bilal kamoto
Sent: Monday, 28 May, 2012 21:29
To: 'spameden'
Cc: users@kannel.org
Subject: RE: kannel able to send but not receiving sms

 

Hi

I’ve  installed and configured sqlbox but am not sure of the sequence of
starting the bearerbox, smsbox and sqlbox.

starting bearerbox and smsbox works perfectly fine but when I start
sqlbox,,the localhost bearerbox connects perfectly but there is an error
when connecting to smsbox “ bind system error address already

# Sample configuration file for Kannel bearerbox on Debian.

 

# See the documentation for explanations of fields.

 

#

 

 

 

# HTTP administration is disabled by default. Make sure you set the

 

# password if you enable it.

 

 

 

group = core

 

admin-port = 443

 

admin-password = bar

 

admin-deny-ip = "*.*.*.*"

 

admin-allow-ip = "127.0.0.1;192.168.0.*"

 

smsbox-port = 444

 

#wapbox-port = 13004

 

wdp-interface-name = "*"

 

log-file = "/var/log/kannel/bearerbox.log"

 

access-log="/var/log/kannel/access.log"

 

box-deny-ip = "*.*.*.*"

 

box-allow-ip = "127.0.0.1;192.168.0.*"

 

dlr-storage = internal

 

 

 

group = wapbox

 

bearerbox-host = localhost

 

log-file = "/var/log/kannel/wapbox.log"

 

 

 

# My modem

 

group = smsc

 

smsc = at

 

smsc-id = Nokia 5800 XpressMusic

 

modemtype = Nokia

 

device = /dev/ttyUSB0

 

speed = 0

 

#pin = 2345

 

sim-buffering = true

 

#message-storage = MT

 

 

 

# My modem group

 

group = modems

 

id = Nokia

 

name = Nokia

 

#detect-string = NOKIA

 

#keepalive-cmd = "AT+CBC;+CSQ"

 

init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

 

#init-string = "AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0"

 

#init-string = "AT+CMGL=0,1,2"

 

init-string = "AT+CNMI=1,2,0,1,0;+CMEE=1"

 

#init-string = "AT+CNMI=2,1,2,2,0;+CMEE=1"

 

#message-storage = MT

 

#sim-buffering = true

 

 

 

#group = sqlbox

 

#id = mydlr

 

#smsbox-id = bil

 

#global-sender = "+265999307939"

 

#bearerbox-host = localhost

 

#bearerbox-port = 443

 

#smsbox-port = 444

 

#smsbox-port-ssl = false

 

#sql-log-table = sent_sms

 

#sql-insert-table = send_sms

 

#log-file = "/var/log/kannel/kannel-sqlbox.log"

 

#log-level = 0

 

#include = " /usr/share/doc/kannel/examples/dlr-mysql.conf"

 

 

 

# fake smsc

 

group = smsbox-route

 

smsbox-id = bil

 

smsc-id = Nokia 5800 XpressMusic

 

#port = 1

 

#connect-allow-ip = 127.0.0.1

 

 

 

#Send SMS

 

group = smsbox

 

smsbox-id = bil

 

bearerbox-host = localhost

 

sendsms-port = 13131

 

#sms-center-number = +29900140

 

sendsms-chars = "0123456789 "

 

global-sender = +##

access-log = "kannel.access"

 

log-file = "smsbox.log"

 

log-level = 0

 

 

 

#Receive SMS

 

group = sms-service

 

#keyword =

 

keyword-regex = .*

 

catch-all = yes

 

get-url = "http://localhost/receivesms.php?sender=%p&; text=%b"

 

accept-x-kannel-headers = true

 

max-messages = 1

 

 

 

#group = mysql-connection

 

#id = mydrl

 

#host = localhost

 

#username = root

 

#password = boo

#database = kan

 

#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 = mask

 

#field-status = status

 

#field-boxc-id = boxc

 

 

 

#Authentication

 

group = sendsms-user

 

username = jones

 

password = jones

 

 

sql.conf file

 

group = sqlbox

 

id = mydlr

 

smsbox-id = bil

 

global-sender = "+"

 

bearerbox-host = localhost

 

bearerbox-port = 443

 

smsbox-port = 444

 

smsbox-port-ssl = false

 

sql-log-table = sent_sms

 

sql-insert-table = send_sms

 

log-file = "/var/log/kannel/kannel-sqlbox.log"

 

log-level = 0

 

 

 

group = mysql-connection

 

id = mydlr

 

host = localhost

 

username = root

 

password = bookert

 

database = dlr

 

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 = mask

 

field-status = status

 

field-boxc-id = boxc 

 

 

 

From: spameden [mailto:spame...@gmail.com] 
Sent: 22 May 2012 15:45
To: bilal kamoto
Cc: Alvaro Cornejo; users@kannel.org
Subject: Re: kannel able to send but not receiving sms

 

Please don't spam the list with the same messages.

Thanks.

2012/5/22 bi

RE: kannel able to send but not receiving sms

2012-06-02 Thread bilal kamoto

i have changed it to 13000 and 13001 and am still getting the same error,,when 
i remove the line of smsbox port in the sql.conf it connects perfectly.i 
another thing the DRL rerouting is disable how can solve this problem?

From: rene.klu...@chimit.nl
To: bgk...@hotmail.com; spame...@gmail.com
CC: users@kannel.org
Subject: RE: kannel able to send but not receiving sms
Date: Sat, 2 Jun 2012 14:48:29 +0200


You have the ports mixed up.Also port 443 is not a wise choice, because it is 
used by https already. == Rene  From: users-boun...@kannel.org 
[mailto:users-boun...@kannel.org] On Behalf Of bilal kamoto
Sent: Monday, 28 May, 2012 21:29
To: 'spameden'
Cc: users@kannel.org
Subject: RE: kannel able to send but not receiving sms HiI’ve  installed and 
configured sqlbox but am not sure of the sequence of starting the bearerbox, 
smsbox and sqlbox.starting bearerbox and smsbox works perfectly fine but when I 
start sqlbox,,the localhost bearerbox connects perfectly but there is an error 
when connecting to smsbox “ bind system error address already# Sample 
configuration file for Kannel bearerbox on Debian. # See the documentation for 
explanations of fields. #   # HTTP administration is disabled by default. Make 
sure you set the # password if you enable it.   group = core admin-port = 443 
admin-password = bar admin-deny-ip = "*.*.*.*" admin-allow-ip = 
"127.0.0.1;192.168.0.*" smsbox-port = 444 #wapbox-port = 13004 
wdp-interface-name = "*" log-file = "/var/log/kannel/bearerbox.log" 
access-log="/var/log/kannel/access.log" box-deny-ip = "*.*.*.*" box-allow-ip = 
"127.0.0.1;192.168.0.*" dlr-storage = internal   group = wapbox bearerbox-host 
= localhost log-file = "/var/log/kannel/wapbox.log"   # My modem group = smsc 
smsc = at smsc-id = Nokia 5800 XpressMusic modemtype = Nokia device = 
/dev/ttyUSB0 speed = 0 #pin = 2345 sim-buffering = true #message-storage = MT   
# My modem group group = modems id = Nokia name = Nokia #detect-string = NOKIA 
#keepalive-cmd = "AT+CBC;+CSQ" init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 
+FCLASS=0" #init-string = "AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0" #init-string = 
"AT+CMGL=0,1,2" init-string = "AT+CNMI=1,2,0,1,0;+CMEE=1" #init-string = 
"AT+CNMI=2,1,2,2,0;+CMEE=1" #message-storage = MT #sim-buffering = true   
#group = sqlbox #id = mydlr #smsbox-id = bil #global-sender = "+265999307939" 
#bearerbox-host = localhost #bearerbox-port = 443 #smsbox-port = 444 
#smsbox-port-ssl = false #sql-log-table = sent_sms #sql-insert-table = send_sms 
#log-file = "/var/log/kannel/kannel-sqlbox.log" #log-level = 0 #include = " 
/usr/share/doc/kannel/examples/dlr-mysql.conf"   # fake smsc group = 
smsbox-route smsbox-id = bil smsc-id = Nokia 5800 XpressMusic #port = 1 
#connect-allow-ip = 127.0.0.1   #Send SMS group = smsbox smsbox-id = bil 
bearerbox-host = localhost sendsms-port = 13131 #sms-center-number = +29900140 
sendsms-chars = "0123456789 " global-sender = +##access-log = 
"kannel.access" log-file = "smsbox.log" log-level = 0   #Receive SMS group = 
sms-service #keyword = keyword-regex = .* catch-all = yes get-url = 
"http://localhost/receivesms.php?sender=%p&; text=%b" 
accept-x-kannel-headers = true max-messages = 1   #group = mysql-connection #id 
= mydrl #host = localhost #username = root #password = boo#database = kan 
#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 = mask 
#field-status = status #field-boxc-id = boxc   #Authentication group = 
sendsms-user username = jones password = jones  sql.conf file group = sqlbox id 
= mydlr smsbox-id = bil global-sender = "+" bearerbox-host = localhost 
bearerbox-port = 443 smsbox-port = 444 smsbox-port-ssl = false sql-log-table = 
sent_sms sql-insert-table = send_sms log-file = 
"/var/log/kannel/kannel-sqlbox.log" log-level = 0   group = mysql-connection id 
= mydlr host = localhost username = root password = bookert database = dlr 
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 = mask field-status = status 
field-boxc-id = boxcFrom: spameden [mailto:spame...@gmail.com] 
Sent: 22 May 2012 15:45
To: bilal kamoto
Cc: Alvaro Cornejo; users@kannel.org
Subject: Re: kannel able to send but not receiving sms Please don't spam the 
list with the same messages.

Thanks.2012/5/22 bilal kamoto Thanks the bind error managed 
to sort it out, forwarding the sms to an application then to database is what I 
need to crack  From: users-boun...@kannel.org [mai

not receiving SMS from Modem but can send SMS

2014-06-21 Thread Hatem Sabrey
Hello all, 
after long period of reading and trying to configure the kannel server, it is 
now working and sending SMS...

but i cannot receive SMS ?? 
Detailswhen Using the USB modem Huawei K3565...
the tail for the smsc001.log shows that the device is opened according to the 
following log(1) part, and when sending the SMS it sent normally.
but i cannot receive any SMS to the system even there is no record that there 
is any action is initiated from the modem to the smsbox.
thank you for your help in advance.

###Log(1)  2014-06-21 
18:16:09 [17529] [6] INFO: AT2[dongle01]: opening device2014-06-21 18:16:09 
[17529] [6] DEBUG: AT2[dongle01]: device opened. Telnet mode = 02014-06-21 
18:16:09 [17529] [6] DEBUG: AT2[dongle01]: device opened2014-06-21 18:16:09 
[17529] [6] INFO: AT2[dongle01]: Logging in2014-06-21 18:16:10 [17529] [6] 
INFO: AT2[dongle01]: init device2014-06-21 18:16:10 [17529] [6] INFO: 
AT2[dongle01]: speed set to 1152002014-06-21 18:16:10 [17529] [6] DEBUG: 
AT2[dongle01]: --> ATZ^M2014-06-21 18:16:10 [17529] [6] DEBUG: AT2[dongle01]: 
<-- OK2014-06-21 18:16:10 [17529] [6] DEBUG: AT2[dongle01]: --> AT^M2014-06-21 
18:16:10 [17529] [6] DEBUG: AT2[dongle01]: <-- AT2014-06-21 18:16:10 [17529] 
[6] DEBUG: AT2[dongle01]: <-- OK2014-06-21 18:16:10 [17529] [6] DEBUG: 
AT2[dongle01]: --> AT&F^M2014-06-21 18:16:10 [17529] [6] DEBUG: AT2[dongle01]: 
<-- AT&F2014-06-21 18:16:10 [17529] [6] DEBUG: AT2[dongle01]: <-- OK2014-06-21 
18:16:10 [17529] [6] DEBUG: AT2[dongle01]: --> ATE0^M2014-06-21 18:16:10 
[17529] [6] DEBUG: AT2[dongle01]: <-- ATE02014-06-21 18:16:10 [17529] [6] 
DEBUG: AT2[dongle01]: <-- OK2014-06-21 18:16:10 [17529] [6] DEBUG: 
AT2[dongle01]: --> AT+IFC=2,2^M2014-06-21 18:16:10 [17529] [6] DEBUG: 
AT2[dongle01]: <-- OK2014-06-21 18:16:10 [17529] [6] DEBUG: AT2[dongle01]: --> 
AT+CPIN?^M2014-06-21 18:16:10 [17529] [6] DEBUG: AT2[dongle01]: <-- +CPIN: 
READY2014-06-21 18:16:10 [17529] [6] DEBUG: AT2[dongle01]: <-- OK2014-06-21 
18:16:10 [17529] [6] DEBUG: AT2[dongle01]: --> 
AT+CSCA="+218929290120"^M2014-06-21 18:16:10 [17529] [6] DEBUG: AT2[dongle01]: 
<-- OK2014-06-21 18:16:10 [17529] [6] DEBUG: AT2[dongle01]: --> 
AT+CMGF=0^M2014-06-21 18:16:10 [17529] [6] DEBUG: AT2[dongle01]: <-- 
OK2014-06-21 18:16:10 [17529] [6] DEBUG: AT2[dongle01]: --> 
AT+CSMS=?^M2014-06-21 18:16:11 [17529] [6] DEBUG: AT2[dongle01]: <-- +CSMS: 
(0-1)2014-06-21 18:16:11 [17529] [6] DEBUG: AT2[dongle01]: <-- OK2014-06-21 
18:16:11 [17529] [6] DEBUG: AT2[dongle01]: --> AT+CNMI=1,2,0,1,0^M2014-06-21 
18:16:11 [17529] [6] DEBUG: AT2[dongle01]: <-- OK2014-06-21 18:16:11 [17529] 
[6] DEBUG: AT2[dongle01]: --> AT+CPMS="SM"^M2014-06-21 18:16:11 [17529] [6] 
DEBUG: AT2[dongle01]: <-- +CPMS: 0,50,0,50,0,502014-06-21 18:16:11 [17529] [6] 
DEBUG: AT2[dongle01]: <-- OK2014-06-21 18:16:11 [17529] [6] INFO: 
AT2[dongle01]: AT SMSC successfully opened.2014-06-21 18:16:13 [17529] [6] 
DEBUG: AT2[dongle01]: --> AT+CPMS?^M2014-06-21 18:16:13 [17529] [6] DEBUG: 
AT2[dongle01]: <-- +CPMS: "SM",0,50,"SM",0,50,"SM",0,502014-06-21 18:16:13 
[17529] [6] DEBUG: AT2[dongle01]: <-- OK2014-06-21 18:17:15 [17529] [6] DEBUG: 
AT2[dongle01]: --> AT+CPMS?^M2014-06-21 18:17:15 [17529] [6] DEBUG: 
AT2[dongle01]: <-- +CPMS: "SM",0,50,"SM",0,50,"SM",0,502014-06-21 18:17:15 
[17529] [6] DEBUG: AT2[dongle01]: <-- OK2014-06-21 18:18:17 [17529] [6] DEBUG: 
AT2[dongle01]: --> AT+CPMS?^M2014-06-21 18:18:17 [17529] [6] DEBUG: 
AT2[dongle01]: <-- +CPMS: "SM",0,50,"SM",0,50,"SM",0,502014-06-21 18:18:17 
[17529] [6] DEBUG: AT2[dongle01]: <-- OK2014-06-21 18:19:19 [17529] [6] DEBUG: 
AT2[dongle01]: --> AT+CPMS?^M2014-06-21 18:19:19 [17529] [6] DEBUG: 
AT2[dongle01]: <-- +CPMS: "SM",0,50,"SM",0,50,"SM",0,5 
#





  

Re: not receiving SMS from Modem but can send SMS

2014-06-22 Thread ha...@aeon.pk
Most probably your CNMI settings for AT are not OK. I am not sure about
Huawei modem, but try 2,1,0,0,0, or some other combination.

Also post your config.


On Sat, Jun 21, 2014 at 10:19 PM, Hatem Sabrey  wrote:

> Hello all,
>
> after long period of reading and trying to configure the kannel server, it
> is now working and sending SMS...
>
>
> but i cannot receive SMS ??
>
> Details
> when Using the USB modem Huawei K3565...
>
> the tail for the smsc001.log shows that the device is opened according to
> the following log(1) part, and when sending the SMS it sent normally.
>
> but i cannot receive any SMS to the system even there is no record that
> there is any action is initiated from the modem to the smsbox.
>
> thank you for your help in advance.
>
>
> ###Log(1) 
> 2014-06-21 18:16:09 [17529] [6] INFO: AT2[dongle01]: opening device
> 2014-06-21 18:16:09 [17529] [6] DEBUG: AT2[dongle01]: device opened.
> Telnet mode = 0
> 2014-06-21 18:16:09 [17529] [6] DEBUG: AT2[dongle01]: device opened
> 2014-06-21 18:16:09 [17529] [6] INFO: AT2[dongle01]: Logging in
> 2014-06-21 18:16:10 [17529] [6] INFO: AT2[dongle01]: init device
> 2014-06-21 18:16:10 [17529] [6] INFO: AT2[dongle01]: speed set to 115200
> 2014-06-21 18:16:10 [17529] [6] DEBUG: AT2[dongle01]: --> ATZ^M
> 2014-06-21 18:16:10 [17529] [6] DEBUG: AT2[dongle01]: <-- OK
> 2014-06-21 18:16:10 [17529] [6] DEBUG: AT2[dongle01]: --> AT^M
> 2014-06-21 18:16:10 [17529] [6] DEBUG: AT2[dongle01]: <-- AT
> 2014-06-21 18:16:10 [17529] [6] DEBUG: AT2[dongle01]: <-- OK
> 2014-06-21 18:16:10 [17529] [6] DEBUG: AT2[dongle01]: --> AT&F^M
> 2014-06-21 18:16:10 [17529] [6] DEBUG: AT2[dongle01]: <-- AT&F
> 2014-06-21 18:16:10 [17529] [6] DEBUG: AT2[dongle01]: <-- OK
> 2014-06-21 18:16:10 [17529] [6] DEBUG: AT2[dongle01]: --> ATE0^M
> 2014-06-21 18:16:10 [17529] [6] DEBUG: AT2[dongle01]: <-- ATE0
> 2014-06-21 18:16:10 [17529] [6] DEBUG: AT2[dongle01]: <-- OK
> 2014-06-21 18:16:10 [17529] [6] DEBUG: AT2[dongle01]: --> AT+IFC=2,2^M
> 2014-06-21 18:16:10 [17529] [6] DEBUG: AT2[dongle01]: <-- OK
> 2014-06-21 18:16:10 [17529] [6] DEBUG: AT2[dongle01]: --> AT+CPIN?^M
> 2014-06-21 18:16:10 [17529] [6] DEBUG: AT2[dongle01]: <-- +CPIN: READY
> 2014-06-21 18:16:10 [17529] [6] DEBUG: AT2[dongle01]: <-- OK
> 2014-06-21 18:16:10 [17529] [6] DEBUG: AT2[dongle01]: --> AT+CSCA="
> +218929290120"^M
> 2014-06-21 18:16:10 [17529] [6] DEBUG: AT2[dongle01]: <-- OK
> 2014-06-21 18:16:10 [17529] [6] DEBUG: AT2[dongle01]: --> AT+CMGF=0^M
> 2014-06-21 18:16:10 [17529] [6] DEBUG: AT2[dongle01]: <-- OK
> 2014-06-21 18:16:10 [17529] [6] DEBUG: AT2[dongle01]: --> AT+CSMS=?^M
> 2014-06-21 18:16:11 [17529] [6] DEBUG: AT2[dongle01]: <-- +CSMS: (0-1)
> 2014-06-21 18:16:11 [17529] [6] DEBUG: AT2[dongle01]: <-- OK
> 2014-06-21 18:16:11 [17529] [6] DEBUG: AT2[dongle01]: -->
> AT+CNMI=1,2,0,1,0^M
> 2014-06-21 18:16:11 [17529] [6] DEBUG: AT2[dongle01]: <-- OK
> 2014-06-21 18:16:11 [17529] [6] DEBUG: AT2[dongle01]: --> AT+CPMS="SM"^M
> 2014-06-21 18:16:11 [17529] [6] DEBUG: AT2[dongle01]: <-- +CPMS:
> 0,50,0,50,0,50
> 2014-06-21 18:16:11 [17529] [6] DEBUG: AT2[dongle01]: <-- OK
> 2014-06-21 18:16:11 [17529] [6] INFO: AT2[dongle01]: AT SMSC successfully
> opened.
> 2014-06-21 18:16:13 [17529] [6] DEBUG: AT2[dongle01]: --> AT+CPMS?^M
> 2014-06-21 18:16:13 [17529] [6] DEBUG: AT2[dongle01]: <-- +CPMS:
> "SM",0,50,"SM",0,50,"SM",0,50
> 2014-06-21 18:16:13 [17529] [6] DEBUG: AT2[dongle01]: <-- OK
> 2014-06-21 18:17:15 [17529] [6] DEBUG: AT2[dongle01]: --> AT+CPMS?^M
> 2014-06-21 18:17:15 [17529] [6] DEBUG: AT2[dongle01]: <-- +CPMS:
> "SM",0,50,"SM",0,50,"SM",0,50
> 2014-06-21 18:17:15 [17529] [6] DEBUG: AT2[dongle01]: <-- OK
> 2014-06-21 18:18:17 [17529] [6] DEBUG: AT2[dongle01]: --> AT+CPMS?^M
> 2014-06-21 18:18:17 [17529] [6] DEBUG: AT2[dongle01]: <-- +CPMS:
> "SM",0,50,"SM",0,50,"SM",0,50
> 2014-06-21 18:18:17 [17529] [6] DEBUG: AT2[dongle01]: <-- OK
> 2014-06-21 18:19:19 [17529] [6] DEBUG: AT2[dongle01]: --> AT+CPMS?^M
> 2014-06-21 18:19:19 [17529] [6] DEBUG: AT2[dongle01]: <-- +CPMS:
> "SM",0,50,"SM",0,50,"SM",0,5
> #
>
>
>
>
>
>
>