Re: Re-connecting time not being respected

2013-05-07 Thread spameden
Kannel's version?

I do not see such problem here, reconnection interval is 10 seconds and
it's treated well.

2013-05-08 02:29:19 [6276] [7] ERROR: error connecting to server `XXX' at
port `'
2013-05-08 02:29:19 [6276] [7] ERROR: SMPP[mysmsc]: Couldn't connect to
server.
2013-05-08 02:29:19 [6276] [7] ERROR: SMPP[mysmsc]: Couldn't connect to SMS
center (retrying in 10 seconds).
2013-05-08 02:29:29 [6276] [7] DEBUG: Connecting to 
2013-05-08 02:29:29 [6276] [7] ERROR: connect to  failed
2013-05-08 02:29:29 [6276] [7] ERROR: System error 111: Connection refused
2013-05-08 02:29:29 [6276] [7] ERROR: error connecting to server `XXX' at
port `'
2013-05-08 02:29:29 [6276] [7] ERROR: SMPP[mysmsc]: Couldn't connect to
server.
2013-05-08 02:29:29 [6276] [7] ERROR: SMPP[mysmsc]: Couldn't connect to SMS
center (retrying in 10 seconds).
2013-05-08 02:29:39 [6276] [7] DEBUG: Connecting to 
2013-05-08 02:29:39 [6276] [7] ERROR: connect to  failed
2013-05-08 02:29:39 [6276] [7] ERROR: System error 111: Connection refused



2013/5/8 dhcmega 

> Hi, thanks for you answer
> Bad example, here it is a better one:
>
> 2013-05-07 19:15:25 [22931] [7] WARNING: SMPP: PDU NULL terminated string
> (system_id) has no NULL.
> 2013-05-07 19:15:25 [22931] [7] ERROR: SMPP[connection-1]: I/O error or
> other error. Re-connecting.
> 2013-05-07 19:15:25 [22931] [7] ERROR: SMPP[connection-1]: Couldn't
> connect to SMS center (retrying in 90 seconds).
> 2013-05-07 19:15:25 [22931] [7] WARNING: SMPP: PDU NULL terminated string
> (system_id) has no NULL.
> 2013-05-07 19:15:25 [22931] [7] ERROR: SMPP[connection-1]: I/O error or
> other error. Re-connecting.
> 2013-05-07 19:15:25 [22931] [7] ERROR: SMPP[connection-1]: Couldn't
> connect to SMS center (retrying in 90 seconds)
> 2013-05-07 19:15:26 [22931] [7] WARNING: SMPP: PDU NULL terminated string
> (system_id) has no NULL.
> 2013-05-07 19:15:26 [22931] [7] ERROR: SMPP[connection-1]: I/O error or
> other error. Re-connecting.
> 2013-05-07 19:15:26 [22931] [7] ERROR: SMPP[connection-1]: Couldn't
> connect to SMS center (retrying in 90 seconds).
> 2013-05-07 19:15:26 [22931] [7] WARNING: SMPP: PDU NULL terminated string
> (system_id) has no NULL.
> 2013-05-07 19:15:26 [22931] [7] ERROR: SMPP[connection-1]: I/O error or
> other error. Re-connecting.
> 2013-05-07 19:15:26 [22931] [7] ERROR: SMPP[connection-1]: Couldn't
> connect to SMS center (retrying in 90 seconds).
> 2013-05-07 19:15:27 [22931] [7] WARNING: SMPP: PDU NULL terminated string
> (system_id) has no NULL.
> 2013-05-07 19:15:27 [22931] [7] ERROR: SMPP[connection-1]: I/O error or
> other error. Re-connecting.
> 2013-05-07 19:15:27 [22931] [7] ERROR: SMPP[connection-1]: Couldn't
> connect to SMS center (retrying in 90 seconds).
>
> Thanks!
>
>
> On Tue, May 7, 2013 at 7:14 PM, spameden  wrote:
>
>> Your log indicates that reconnection happens from the different thread
>> [6] instead of [7], so most likely you have 2 SMSC links with the same name?
>>
>>
>> 2013/5/8 dhcmega 
>>
>>> Hi All
>>> Is any one having this same problem?
>>>
>>> 2013-05-07 18:49:09 [22931] [7] ERROR: SMPP[connection-1]: I/O error or
>>> other error. Re-connecting.
>>> 2013-05-07 18:49:09 [22931] [7] ERROR: SMPP[connection-1]: Couldn't
>>> connect to SMS center (retrying in 90 seconds).
>>>
>>> 2013-05-07 18:49:15 [22931] [6] ERROR: SMPP[connection-1]: I/O error or
>>> other error. Re-connecting.
>>> 2013-05-07 18:49:15 [22931] [6] ERROR: SMPP[connection-1]: Couldn't
>>> connect to SMS center (retrying in 90 seconds).
>>>
>>> This is how I have it configured:
>>> reconnect-delay = 90
>>> enquire-link-interval = 20
>>>
>>> The log is saying that it will wait for 90secs, but it is waiting 6.
>>> How could this be?
>>> Thanks!
>>>
>>> dhcmega
>>>
>>
>>
>


Re: Re-connecting time not being respected

2013-05-07 Thread dhcmega
Hi, thanks for you answer
Bad example, here it is a better one:

2013-05-07 19:15:25 [22931] [7] WARNING: SMPP: PDU NULL terminated string
(system_id) has no NULL.
2013-05-07 19:15:25 [22931] [7] ERROR: SMPP[connection-1]: I/O error or
other error. Re-connecting.
2013-05-07 19:15:25 [22931] [7] ERROR: SMPP[connection-1]: Couldn't connect
to SMS center (retrying in 90 seconds).
2013-05-07 19:15:25 [22931] [7] WARNING: SMPP: PDU NULL terminated string
(system_id) has no NULL.
2013-05-07 19:15:25 [22931] [7] ERROR: SMPP[connection-1]: I/O error or
other error. Re-connecting.
2013-05-07 19:15:25 [22931] [7] ERROR: SMPP[connection-1]: Couldn't connect
to SMS center (retrying in 90 seconds)
2013-05-07 19:15:26 [22931] [7] WARNING: SMPP: PDU NULL terminated string
(system_id) has no NULL.
2013-05-07 19:15:26 [22931] [7] ERROR: SMPP[connection-1]: I/O error or
other error. Re-connecting.
2013-05-07 19:15:26 [22931] [7] ERROR: SMPP[connection-1]: Couldn't connect
to SMS center (retrying in 90 seconds).
2013-05-07 19:15:26 [22931] [7] WARNING: SMPP: PDU NULL terminated string
(system_id) has no NULL.
2013-05-07 19:15:26 [22931] [7] ERROR: SMPP[connection-1]: I/O error or
other error. Re-connecting.
2013-05-07 19:15:26 [22931] [7] ERROR: SMPP[connection-1]: Couldn't connect
to SMS center (retrying in 90 seconds).
2013-05-07 19:15:27 [22931] [7] WARNING: SMPP: PDU NULL terminated string
(system_id) has no NULL.
2013-05-07 19:15:27 [22931] [7] ERROR: SMPP[connection-1]: I/O error or
other error. Re-connecting.
2013-05-07 19:15:27 [22931] [7] ERROR: SMPP[connection-1]: Couldn't connect
to SMS center (retrying in 90 seconds).

Thanks!


On Tue, May 7, 2013 at 7:14 PM, spameden  wrote:

> Your log indicates that reconnection happens from the different thread [6]
> instead of [7], so most likely you have 2 SMSC links with the same name?
>
>
> 2013/5/8 dhcmega 
>
>> Hi All
>> Is any one having this same problem?
>>
>> 2013-05-07 18:49:09 [22931] [7] ERROR: SMPP[connection-1]: I/O error or
>> other error. Re-connecting.
>> 2013-05-07 18:49:09 [22931] [7] ERROR: SMPP[connection-1]: Couldn't
>> connect to SMS center (retrying in 90 seconds).
>>
>> 2013-05-07 18:49:15 [22931] [6] ERROR: SMPP[connection-1]: I/O error or
>> other error. Re-connecting.
>> 2013-05-07 18:49:15 [22931] [6] ERROR: SMPP[connection-1]: Couldn't
>> connect to SMS center (retrying in 90 seconds).
>>
>> This is how I have it configured:
>> reconnect-delay = 90
>> enquire-link-interval = 20
>>
>> The log is saying that it will wait for 90secs, but it is waiting 6.
>> How could this be?
>> Thanks!
>>
>> dhcmega
>>
>
>


Re: Re-connecting time not being respected

2013-05-07 Thread spameden
Your log indicates that reconnection happens from the different thread [6]
instead of [7], so most likely you have 2 SMSC links with the same name?


2013/5/8 dhcmega 

> Hi All
> Is any one having this same problem?
>
> 2013-05-07 18:49:09 [22931] [7] ERROR: SMPP[connection-1]: I/O error or
> other error. Re-connecting.
> 2013-05-07 18:49:09 [22931] [7] ERROR: SMPP[connection-1]: Couldn't
> connect to SMS center (retrying in 90 seconds).
>
> 2013-05-07 18:49:15 [22931] [6] ERROR: SMPP[connection-1]: I/O error or
> other error. Re-connecting.
> 2013-05-07 18:49:15 [22931] [6] ERROR: SMPP[connection-1]: Couldn't
> connect to SMS center (retrying in 90 seconds).
>
> This is how I have it configured:
> reconnect-delay = 90
> enquire-link-interval = 20
>
> The log is saying that it will wait for 90secs, but it is waiting 6.
> How could this be?
> Thanks!
>
> dhcmega
>


Re-connecting time not being respected

2013-05-07 Thread dhcmega
Hi All
Is any one having this same problem?

2013-05-07 18:49:09 [22931] [7] ERROR: SMPP[connection-1]: I/O error or
other error. Re-connecting.
2013-05-07 18:49:09 [22931] [7] ERROR: SMPP[connection-1]: Couldn't connect
to SMS center (retrying in 90 seconds).

2013-05-07 18:49:15 [22931] [6] ERROR: SMPP[connection-1]: I/O error or
other error. Re-connecting.
2013-05-07 18:49:15 [22931] [6] ERROR: SMPP[connection-1]: Couldn't connect
to SMS center (retrying in 90 seconds).

This is how I have it configured:
reconnect-delay = 90
enquire-link-interval = 20

The log is saying that it will wait for 90secs, but it is waiting 6.
How could this be?
Thanks!

dhcmega


Re: First python program, syntax error in while loop

2013-05-07 Thread Bendon Murgor
Hello Moraa,

Can get to the problem instead of unnecessary story telling?
Sent from my BlackBerry®

-Original Message-
From: Ombongi Moraa Fe 
Sender: users-bounces@kannel.orgDate: Tue, 7 May 2013 15:44:20 
To: Chris Angelico; Mark Lawrence; 

Subject: Re: First python program, syntax error in while loop

My first language was Pascal. It was at a time in 2005 when computers were
finally becoming popular in Africa and our year was the first time a girls
school from our Province did a computer coursework for National Exams.
(That was such an achievement *sigh*)

"The teacher said ... Good Programming Practice ... Use parentheses to
format code.. or I will deduct a point from your work when I feel like it."

Cant seem to let go of the behavior. I use parentheses in all languages.

First time I saw Python code, thought it had the most undisciplined syntax
I've ever seen. Needless to say, the coder was just plain lazy in using
good variable names and grouping code code so the script didn't look
congested. My Python code looks beautiful - with or without parentheses.

Did I mention I'm also a neat freak??

Cheers!

Saludos

Ombongi Moraa Faith



Re: First python program, syntax error in while loop

2013-05-07 Thread Alejandro Donato

  
  
Ombongi Moraa Faith
  
  Please don't send to the user list this kind of social messages.
  The list is not for this kind of chats. Thanks
  

El 07/05/13 09:44, Ombongi Moraa Fe
  escribió:


  
  
My first language was Pascal. It was
  at a time in 2005 when computers were finally becoming popular
  in Africa and our year was the first time a girls school from
  our Province did a computer coursework for National Exams.
  (That was such an achievement *sigh*)
  

"The teacher said ... Good
  Programming Practice ... Use parentheses to  format code.. or
  I will deduct a point from your work when I feel like it."



Cant seem to let go of the behavior.
  I use parentheses in all languages. 
  

First time I saw Python code, thought
  it had the most undisciplined syntax I've ever seen. Needless
  to say, the coder was just plain lazy in using good variable
  names and grouping code code so the script didn't look
  congested. My Python code looks beautiful - with or without
  parentheses.



Did I mention I'm also a neat freak??
  

Cheers!
  


  Saludos
  
  Ombongi Moraa Faith
  

  


  




Re: First python program, syntax error in while loop

2013-05-07 Thread Ombongi Moraa Fe
My first language was Pascal. It was at a time in 2005 when computers were
finally becoming popular in Africa and our year was the first time a girls
school from our Province did a computer coursework for National Exams.
(That was such an achievement *sigh*)

"The teacher said ... Good Programming Practice ... Use parentheses to
format code.. or I will deduct a point from your work when I feel like it."

Cant seem to let go of the behavior. I use parentheses in all languages.

First time I saw Python code, thought it had the most undisciplined syntax
I've ever seen. Needless to say, the coder was just plain lazy in using
good variable names and grouping code code so the script didn't look
congested. My Python code looks beautiful - with or without parentheses.

Did I mention I'm also a neat freak??

Cheers!

Saludos

Ombongi Moraa Faith


Kannel + Oracle

2013-05-07 Thread testn4n1
Hi,

I am trying to configure kannel with oracle 9i.
When i install kannel with this command:

./configure --with-oracle
--with-oracle-includes=/u01/app/oracle/product/9.2.0/rdbms/demo/
--with-oracle-libs=/u01/app/oracle/product/9.2.0/rdbms/lib/

i get the following error:

Configuring DB support ...
checking whether to compile with MySQL support... disabled
checking whether to compile with LibSDB support... disabled
checking whether to compile with SQLite2 support... disabled
checking whether to compile with SQLite3 support... disabled
checking whether to compile with Oracle support... searching
checking for oci.h ... configure: error: oci.h not found


i went to the directory /u01/app/oracle/product/9.2.0/rdbms/demo/ and found
that oci.h exists.

Can someone please tell me what is the problem?


SMPPBOX SENDSMS

2013-05-07 Thread Jeck Mabasa
I am newbie in kannel. so i am wandering how to sends sms from client pass
to
opensmppbox then delivered to client..

i want to create connection like this..


SMPP client (kannel)-->opensmppbox>SMPP
client(kannel)
(dev server: 192.168.1.59)  (dev-server:
192.168.0.29)

the following are my config files:

opensmppbox config: (1.59)

group = core
dlr-storage = internal

group = opensmppbox
opensmppbox-id = SMPPserver
opensmppbox-port = 16400
bearerbox-host = 192.168.1.59
bearerbox-port = 13401
our-system-id = mysmsbox
smpp-logins = /home/lui/jeck/gateway/smppbox/gw/smpplogins.txt
#use-smppboxid = yes
use-systemid-as-smsboxid = yes
route-to-smsc = SMPP
log-file = /tmp/smppbox.log
log-level = 1

smppkannel.conf (1.59)
#
# THIS IS A SAMPLE CONFIGURATION FOR SMS KANNEL -- SMPP 59
#


group = core
admin-port = 13400
smsbox-port = 13401
admin-password = bar
#status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
log-file = "/tmp/bearerbox.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "192.168.1.59;192.168.*.*"
#unified-prefix = "+358,00358,0;+,00"
#access-log = "/tmp/access2.log"
#store-file = "/tmp/kannel2.store"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"
#ssl-certkey-file = "mycertandprivkeyfile.pem"
#dlr-storage = mysql


# This is a fake smsc connection, _only_ used to test the system and
services.
# It really cannot relay messages to actual handsets!

group = smsc
smsc = fake
smsc-id = FAKE
port = 2
connect-allow-ip = 192.168.1.59


group=smsc
smsc=smpp
smsc-id=SMPPserver
interface-version=34
host= 192.168.1.59
port= 16400
receive-port = 16400
smsc-username = tester
smsc-password = foobar
system-type = VMA
#service-type = smpp
idle-timeout = 30
transceiver-mode = true
throughput = 50
address-range = ""
enquire-link-interval = 10
reconnect-delay = 1
keepalive = 55


group = smsbox-route
smsbox-id = mysmsbox
smsc-id = SMPPclient


# SMSBOX SETUP

group = smsbox
smsbox-id = mysmsbox
bearerbox-host = 192.168.1.59
sendsms-port = 19200
global-sender = 19200
#sendsms-chars = "0123456789 +-"
log-file = "/tmp/smsbox.log"
log-level = 0
access-log = "/tmp/access.log"



# SEND-SMS USERS

group = sendsms-user
username = tester
password = foobar
#default-smsc = SMPPserver
#user-deny-ip = ""
user-allow-ip = 192.168.0.29


# SERVICES

group = sms-service
keyword = nop
accepted-smsc=mysmsbox
text = "You asked nothing and I did it!"

# there should be default always

group = sms-service
keyword = default
text = "No Service!"


smppkannel.conf (0.29)

#
# THIS IS A SAMPLE CONFIGURATION FOR SMS KANNEL -- SMPP CLIENT
#


group = core
admin-port = 13400
smsbox-port = 13401
admin-password = bar
#status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
log-file = "/tmp/bearerbox.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "192.168.0.29"
#unified-prefix = "+358,00358,0;+,00"
#access-log = "/tmp/access2.log"
#store-file = "/tmp/kannel2.store"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"
#ssl-certkey-file = "mycertandprivkeyfile.pem"
#dlr-storage = mysql


# This is a fake smsc connection, _only_ used to test the system and
services.
# It really cannot relay messages to actual handsets!

#group = smsc
#smsc = fake
#smsc-id = FAKE
#port = 1
#connect-allow-ip = 192.168.1.59


group=smsc
smsc=smpp
smsc-id=SMPPclient
interface-version=34
allowed-smsc-id = "SMPPclient"
host= 192.168.1.59
port= 16400
receive-port = 16400
smsc-username = tester
smsc-password = foobar
system-type = VMA
#service-type = smpp
idle-timeout = 30
transceiver-mode = true
throughput = 50
address-range = ""
enquire-link-interval = 50
reconnect-delay = 1
keepalive = 55
connect-allow-ip = 192.168.1.59

#group = smsbox-route
#smsc-id = SMPPclient
#smsbox-id = smppclient

# SMSBOX SETUP

group = smsbox
smsbox-id = smppclient
bearerbox-host = 192.168.0.29
sendsms-port = 19200
global-sender = 19200
#sendsms-chars = "0123456789 +-"
log-file = "/tmp/smsbox.log"
log-level = 0
access-log = "/tmp/access.log"



# SEND-SMS USERS

group = sendsms-user
username = tester
password = foobar
#default-smsc = SMPP
#user-deny-ip = ""
#user-allow-ip = ""

# SERVICES

group = sms-service
keyword = nop
accepted-smsc = mysmsbox
text = "You asked nothing and I did it!"

# there should be default always

group = sms-service
keyword = default
text = "No Service!"


---
i want to send sms from 1.59 SMPP pass through OPENSMPPBOX then delivered
to 0.29 SMPP using the browser :
http://192.168.1.59:19200/cgi-bin/sendsms?username=tester&password=foobar&from=12345&to=09163747451&text=hello+world

Tell me if there is something wrong to my config files.

Thanks,
JECK


[no subject]

2013-05-07 Thread Jeck Mabasa
I am newbie in kannel. so i am wandering how to sends sms from client pass
to
opensmppbox then delivered to client..

i want to create connection like this..


SMPP client (kannel)-->opensmppbox>SMPP
client(kannel)
(dev server: 192.168.1.59)  (dev-server:
192.168.0.29)

the following are my config files:

opensmppbox config: (1.59)

group = core
dlr-storage = internal

group = opensmppbox
opensmppbox-id = SMPPserver
opensmppbox-port = 16400
bearerbox-host = 192.168.1.59
bearerbox-port = 13401
our-system-id = mysmsbox
smpp-logins = /home/lui/jeck/gateway/smppbox/gw/smpplogins.txt
#use-smppboxid = yes
use-systemid-as-smsboxid = yes
route-to-smsc = SMPP
log-file = /tmp/smppbox.log
log-level = 1

smppkannel.conf (1.59)
#
# THIS IS A SAMPLE CONFIGURATION FOR SMS KANNEL -- SMPP 59
#


group = core
admin-port = 13400
smsbox-port = 13401
admin-password = bar
#status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
log-file = "/tmp/bearerbox.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "192.168.1.59;192.168.*.*"
#unified-prefix = "+358,00358,0;+,00"
#access-log = "/tmp/access2.log"
#store-file = "/tmp/kannel2.store"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"
#ssl-certkey-file = "mycertandprivkeyfile.pem"
#dlr-storage = mysql


# This is a fake smsc connection, _only_ used to test the system and
services.
# It really cannot relay messages to actual handsets!

group = smsc
smsc = fake
smsc-id = FAKE
port = 2
connect-allow-ip = 192.168.1.59


group=smsc
smsc=smpp
smsc-id=SMPPserver
interface-version=34
host= 192.168.1.59
port= 16400
receive-port = 16400
smsc-username = tester
smsc-password = foobar
system-type = VMA
#service-type = smpp
idle-timeout = 30
transceiver-mode = true
throughput = 50
address-range = ""
enquire-link-interval = 10
reconnect-delay = 1
keepalive = 55


group = smsbox-route
smsbox-id = mysmsbox
smsc-id = SMPPclient


# SMSBOX SETUP

group = smsbox
smsbox-id = mysmsbox
bearerbox-host = 192.168.1.59
sendsms-port = 19200
global-sender = 19200
#sendsms-chars = "0123456789 +-"
log-file = "/tmp/smsbox.log"
log-level = 0
access-log = "/tmp/access.log"



# SEND-SMS USERS

group = sendsms-user
username = tester
password = foobar
#default-smsc = SMPPserver
#user-deny-ip = ""
user-allow-ip = 192.168.0.29


# SERVICES

group = sms-service
keyword = nop
accepted-smsc=mysmsbox
text = "You asked nothing and I did it!"

# there should be default always

group = sms-service
keyword = default
text = "No Service!"


smppkannel.conf (0.29)

#
# THIS IS A SAMPLE CONFIGURATION FOR SMS KANNEL -- SMPP CLIENT
#


group = core
admin-port = 13400
smsbox-port = 13401
admin-password = bar
#status-password = foo
#admin-deny-ip = ""
#admin-allow-ip = ""
log-file = "/tmp/bearerbox.log"
log-level = 0
box-deny-ip = "*.*.*.*"
box-allow-ip = "192.168.0.29"
#unified-prefix = "+358,00358,0;+,00"
#access-log = "/tmp/access2.log"
#store-file = "/tmp/kannel2.store"
#ssl-server-cert-file = "cert.pem"
#ssl-server-key-file = "key.pem"
#ssl-certkey-file = "mycertandprivkeyfile.pem"
#dlr-storage = mysql


# This is a fake smsc connection, _only_ used to test the system and
services.
# It really cannot relay messages to actual handsets!

#group = smsc
#smsc = fake
#smsc-id = FAKE
#port = 1
#connect-allow-ip = 192.168.1.59


group=smsc
smsc=smpp
smsc-id=SMPPclient
interface-version=34
allowed-smsc-id = "SMPPclient"
host= 192.168.1.59
port= 16400
receive-port = 16400
smsc-username = tester
smsc-password = foobar
system-type = VMA
#service-type = smpp
idle-timeout = 30
transceiver-mode = true
throughput = 50
address-range = ""
enquire-link-interval = 50
reconnect-delay = 1
keepalive = 55
connect-allow-ip = 192.168.1.59

#group = smsbox-route
#smsc-id = SMPPclient
#smsbox-id = smppclient

# SMSBOX SETUP

group = smsbox
smsbox-id = smppclient
bearerbox-host = 192.168.0.29
sendsms-port = 19200
global-sender = 19200
#sendsms-chars = "0123456789 +-"
log-file = "/tmp/smsbox.log"
log-level = 0
access-log = "/tmp/access.log"



# SEND-SMS USERS

group = sendsms-user
username = tester
password = foobar
#default-smsc = SMPP
#user-deny-ip = ""
#user-allow-ip = ""

# SERVICES

group = sms-service
keyword = nop
accepted-smsc = mysmsbox
text = "You asked nothing and I did it!"

# there should be default always

group = sms-service
keyword = default
text = "No Service!"


---
i want to send sms from 1.59 SMPP pass through OPENSMPPBOX then delivered
to 0.29 SMPP using the browser :
http://192.168.1.59:19200/cgi-bin/sendsms?username=tester&password=foobar&from=12345&to=09163747451&text=hello+world

Tell me if there is something wrong to my config files.

Thanks,
JECK


RE: How to send sms to SMPP client

2013-05-07 Thread Rene Kluwen
The best way to ask is to post in the Users mailinglist.

This way you can help from more than one person and others can benefit.

Don't forget to post your config.

 

=-= Rene

 

From: Jeck Mabasa [mailto:jeck.eleq...@gmail.com] 
Sent: dinsdag 7 mei 2013 8:54
To: Rene Kluwen
Subject: Re: How to send sms to SMPP client

 

The 0.29 cant accept message coming from the 1.59. what am i going to do??

 

On Tue, May 7, 2013 at 9:26 AM, Jeck Mabasa  wrote:

How to use the loopback smsc?. I read the userguide but it doesnt work. what
do i need to do in the config in in order to work it?

 

On Mon, May 6, 2013 at 9:51 PM, Rene Kluwen  wrote:

Use the loopback smsc.


-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Jeck Mabasa
Sent: maandag 6 mei 2013 7:30
To: users@kannel.org
Subject: How to send sms to SMPP client

I am newbie in kannel. so i am wandering how to sends sms from client pass
to opensmppbox then delivered to client..

i want to create connection like this..


SMPP client (kannel)-->opensmppbox>SMPP
client(kannel)
(dev server: 192.168.1.59)  (dev-server:
192.168.0.29)








 

-- 
Jeck N. Mabasa 





 

-- 
Jeck N. Mabasa 



Re: Routing Based on Source Address

2013-05-07 Thread Alejandro Donato

  
  
I try to think how to achieve your goal, using service capacities.

There is no dynamic route concept applicable to your challenge at
service level (as Juan Nin say)

Service can provide all the needed data to do the filter, but the
smsc selection (or filtering) applying rules, is not a reliable
choice.

This filter rules are not dynamically designed, so, they maybe can
work, but with a very low performance.

The better solution is to, at applicaition level, trace the msgs and
do the route selection according to your rules.

I use kannel, smstools, and both of them have no practical routing
rules to work in the way you need, as far i know.

But your goal is easy to achieve using, ie, playsms project,
modified to track your sms and apply your filters.

Best Regards,
Alejandro Donato

El 07/05/13 04:41, Otandeka Simon Peter
  escribió:


  
  
Your sendsms url should specify the
  dlr-url, dlr-mask and most importantly the smsc_id to identify
  the particular smsc you are sending the message through.


  
  On Tue, May 7, 2013 at 10:19 AM, Mike
Nwaogu 
wrote:

  

  Thanks Juan,
  The challenge I'm having is that the
  application will not return the delivery report to
  the appropriate smpp client.
  It was my first consideration.
   
  Best Regards,
Michael C. Nwaogu
  
  

  
 From: Juan Nin 
To: Mike Nwaogu 

Cc: "users@kannel.org"


Sent: Monday, May 6, 2013
11:03 PM
Subject: Re: Routing Based
on Source Address
  
  

  
You need to do it at application level, not
Kannel
  
  

On Fri, May 3, 2013 at 11:18 AM, Mike
  Nwaogu 
  wrote:
  

  
Thanks for getting back
Alvaro, 
  

  Yes, I tried that but it
only addresses routing for the
destination numbers. I'm trying
to restrict the sender address,
which in some cases are even
alpha-numeric. Please explain
further how to use allow-prefix
to achieve this for sender
address routing.
  

   
  Best Regards,
Michael C. Nwaogu


  
 
  - Original Message
-
From: Alvaro Cornejo 
To: Mike Nwaogu 
Cc: "users@kannel.org"

Sent: Friday, May 3, 2013
2:53 PM
Subject: Re: Routing Based
on Source Address

Hi

You should be able to dfo
that using allow-prefix
and/or deny-prefix

Re: Routing Based on Source Address

2013-05-07 Thread Otandeka Simon Peter
Your sendsms url should specify the dlr-url, dlr-mask and most importantly
the smsc_id to identify the particular smsc you are sending the message
through.

On Tue, May 7, 2013 at 10:19 AM, Mike Nwaogu wrote:

> Thanks Juan,
> The challenge I'm having is that the application will not return the
> delivery report to the appropriate smpp client.
> It was my first consideration.
>
> Best Regards,
> Michael C. Nwaogu
>   --
>  *From:* Juan Nin 
> *To:* Mike Nwaogu 
> *Cc:* "users@kannel.org" 
> *Sent:* Monday, May 6, 2013 11:03 PM
> *Subject:* Re: Routing Based on Source Address
>
> You need to do it at application level, not Kannel
>
>
> On Fri, May 3, 2013 at 11:18 AM, Mike Nwaogu wrote:
>
> Thanks for getting back Alvaro,
> Yes, I tried that but it only addresses routing for the destination
> numbers. I'm trying to restrict the sender address, which in some cases are
> even alpha-numeric. Please explain further how to use allow-prefix to
> achieve this for sender address routing.
>
> Best Regards,
> Michael C. Nwaogu
>
> - Original Message -
> From: Alvaro Cornejo 
> To: Mike Nwaogu 
> Cc: "users@kannel.org" 
> Sent: Friday, May 3, 2013 2:53 PM
> Subject: Re: Routing Based on Source Address
>
> Hi
>
> You should be able to dfo that using allow-prefix and/or deny-prefix
>
> Regards
>
> Alvaro
>
> On 5/3/13, Mike Nwaogu  wrote:
> > Hello Yall,
> > Hope this meets you well and in good health.
> > I'm at a crossroad in a recent development, I need to route outbound
> > messages coming from my clients through an smsc_a if the source address
> > matches a certain pattern and smsc_b if it doesn't as long as the
> > destination address matches a certain pattern.
> >
> > 123000(src_adr)|___SMSC_A
> >
> > +49***(dst_adr)|
> >
> >
> >
> > abc000(src_adr)|___SMSC_B
> >
> > +49***(dst_adr)|
> >
> >
> > I'm using kannel development release v1.5.0
> >
> > How do I achieve this? The closest thing I saw in the document was the
> > smsbox routing which addresses only inbound sms routing. All/Any
> suggestions
> > would be appreciated.
> >
> >
> > Best Regards,
> > Michael C. Nwaogu
>
>
> --
>
> |-|
> 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: Routing Based on Source Address

2013-05-07 Thread Mike Nwaogu
Thanks Juan,
The challenge I'm having is that the application will not return the delivery 
report to the appropriate smpp client.
It was my first consideration.

 
Best Regards,
Michael C. Nwaogu



 From: Juan Nin 
To: Mike Nwaogu  
Cc: "users@kannel.org"  
Sent: Monday, May 6, 2013 11:03 PM
Subject: Re: Routing Based on Source Address
 


You need to do it at application level, not Kannel




On Fri, May 3, 2013 at 11:18 AM, Mike Nwaogu  wrote:

Thanks for getting back Alvaro, 
>
>Yes, I tried that but it only addresses routing for the destination numbers. 
>I'm trying to restrict the sender address, which in some cases are even 
>alpha-numeric. Please explain further how to use allow-prefix to achieve this 
>for sender address routing.
>
> 
>Best Regards,
>Michael C. Nwaogu
>
>
>- Original Message -
>From: Alvaro Cornejo 
>To: Mike Nwaogu 
>Cc: "users@kannel.org" 
>Sent: Friday, May 3, 2013 2:53 PM
>Subject: Re: Routing Based on Source
 Address
>
>Hi
>
>You should be able to dfo that using allow-prefix and/or deny-prefix
>
>Regards
>
>Alvaro
>
>On 5/3/13, Mike Nwaogu  wrote:
>> Hello Yall,
>> Hope this meets you well and in good health.
>> I'm at a crossroad in a recent development, I need to route outbound
>> messages coming from my clients through an smsc_a if the source address
>> matches a certain pattern and smsc_b if it doesn't as long as the
>> destination address matches a certain pattern.
>>
>> 123000(src_adr)|___SMSC_A
>>
>> +49***(dst_adr)|
>>
>>
>>
>> abc000(src_adr)|___SMSC_B
>>
>> +49***(dst_adr)|
>>
>>
>> I'm using kannel development release v1.5.0
>>
>> How do I achieve this? The closest thing I saw in the
 document was the
>> smsbox routing which addresses only inbound sms routing. All/Any suggestions
>> would be appreciated.
>>
>>
>> Best Regards,
>> Michael C. Nwaogu
>
>
>-- 
>|-|
>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