Re: Route message through 2 smsc

2012-04-25 Thread Alvaro Cornejo
Hi

If you do not define a route, kannel will choose any available
connection to send the messages. It will load balace them.

If you do want to route messages to an specific route, you need to
specify ...smsc=YOUR_SMSC_A... or ...smsc=YOUR_SMSC_B... in your
call to smsbox to submit the message to tell kannel to route message
through your smsc A or B.

Hope helps

Alvaro.

On 4/25/12, doctin doctor20...@gmail.com wrote:

 Hi..

 I am new to this field. I have 2 smsc service provider connection. if i
 send
 100 message 50 message should go  first service provider and rest 20 should
 go 2nd service provider. is this possible? If so how to do it?

 Thanks in advance

 #1st service provider
 group = smsc
 smsc = smpp
 smsc-id = A
 interface-version = 34
 host = x
 port = 
 system-id = x
 smsc-password = 
 system-type = default
 address-range = 
 transceiver-mode = true
 source-addr-ton = 1
 source-addr-npi = 1
 dest-addr-ton = 1
 dest-addr-npi = 1
 bind-addr-ton = 1
 bind-addr-npi = 1
 log-level = 0
 log-file = /var/log/kannel/x.log

 #2nd service provider
 group = smsc
 smsc = smpp
 smsc-id = B
 interface-version = 34
 host = x
 port = 
 system-id = x
 smsc-password = 
 system-type = default
 address-range = 
 transceiver-mode = true
 source-addr-ton = 1
 source-addr-npi = 1
 dest-addr-ton = 1
 dest-addr-npi = 1
 bind-addr-ton = 1
 bind-addr-npi = 1
 log-level = 0
 log-file = /var/log/kannel/x.log

 --
 View this message in context:
 http://old.nabble.com/Route-message-through-2-smsc-tp33747870p33747870.html
 Sent from the Kannel - User mailing list archive at Nabble.com.





-- 
|-|
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: Route message through 2 smsc

2012-04-25 Thread doctin

Dear Alvaro

Thank you for your reply

1)  I use opensmppbox to submit the message. Is it possible to specify a
SMSC for a SMPP user?
2)  other question is i want to route all SMS to Malaysia using #2nd service
provider. So i added 
 denied-prefix = 60;+60;0060 in the #1st service provider .But all
message are now routed using#2nd service provider. Please help on this

Thanks


Alvaro Cornejo wrote:
 
 Hi
 
 If you do not define a route, kannel will choose any available
 connection to send the messages. It will load balace them.
 
 If you do want to route messages to an specific route, you need to
 specify ...smsc=YOUR_SMSC_A... or ...smsc=YOUR_SMSC_B... in your
 call to smsbox to submit the message to tell kannel to route message
 through your smsc A or B.
 
 Hope helps
 
 Alvaro.
 
 On 4/25/12, doctin doctor20...@gmail.com wrote:

 Hi..

 I am new to this field. I have 2 smsc service provider connection. if i
 send
 100 message 50 message should go  first service provider and rest 20
 should
 go 2nd service provider. is this possible? If so how to do it?

 Thanks in advance

 #1st service provider
 group = smsc
 smsc = smpp
 smsc-id = A
 interface-version = 34
 host = x
 port = 
 system-id = x
 smsc-password = 
 system-type = default
 address-range = 
 transceiver-mode = true
 source-addr-ton = 1
 source-addr-npi = 1
 dest-addr-ton = 1
 dest-addr-npi = 1
 bind-addr-ton = 1
 bind-addr-npi = 1
 log-level = 0
 log-file = /var/log/kannel/x.log

 #2nd service provider
 group = smsc
 smsc = smpp
 smsc-id = B
 interface-version = 34
 host = x
 port = 
 system-id = x
 smsc-password = 
 system-type = default
 address-range = 
 transceiver-mode = true
 source-addr-ton = 1
 source-addr-npi = 1
 dest-addr-ton = 1
 dest-addr-npi = 1
 bind-addr-ton = 1
 bind-addr-npi = 1
 log-level = 0
 log-file = /var/log/kannel/x.log

 --
 View this message in context:
 http://old.nabble.com/Route-message-through-2-smsc-tp33747870p33747870.html
 Sent from the Kannel - User mailing list archive at Nabble.com.



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

-- 
View this message in context: 
http://old.nabble.com/Route-message-through-2-smsc-tp33747870p33749334.html
Sent from the Kannel - User mailing list archive at Nabble.com.




Re: Route message through 2 smsc

2012-04-25 Thread Alvaro Cornejo
Hi Doctin

_) I don't know smppbox but there should be some way to doit.

_) It should work as you set it. You mignt want to add allowed-prexix
to the 2nd smsc just in case. How are you seting the destination
numbers? denied-prefix should just filter specified prefixes.

Regards

Alvaro

On 4/25/12, doctin doctor20...@gmail.com wrote:

 Dear Alvaro

 Thank you for your reply

 1)  I use opensmppbox to submit the message. Is it possible to specify a
 SMSC for a SMPP user?
 2)  other question is i want to route all SMS to Malaysia using #2nd
 service
 provider. So i added
  denied-prefix = 60;+60;0060 in the #1st service provider .But all
 message are now routed using#2nd service provider. Please help on this

 Thanks


 Alvaro Cornejo wrote:

 Hi

 If you do not define a route, kannel will choose any available
 connection to send the messages. It will load balace them.

 If you do want to route messages to an specific route, you need to
 specify ...smsc=YOUR_SMSC_A... or ...smsc=YOUR_SMSC_B... in your
 call to smsbox to submit the message to tell kannel to route message
 through your smsc A or B.

 Hope helps

 Alvaro.

 On 4/25/12, doctin doctor20...@gmail.com wrote:

 Hi..

 I am new to this field. I have 2 smsc service provider connection. if i
 send
 100 message 50 message should go  first service provider and rest 20
 should
 go 2nd service provider. is this possible? If so how to do it?

 Thanks in advance

 #1st service provider
 group = smsc
 smsc = smpp
 smsc-id = A
 interface-version = 34
 host = x
 port = 
 system-id = x
 smsc-password = 
 system-type = default
 address-range = 
 transceiver-mode = true
 source-addr-ton = 1
 source-addr-npi = 1
 dest-addr-ton = 1
 dest-addr-npi = 1
 bind-addr-ton = 1
 bind-addr-npi = 1
 log-level = 0
 log-file = /var/log/kannel/x.log

 #2nd service provider
 group = smsc
 smsc = smpp
 smsc-id = B
 interface-version = 34
 host = x
 port = 
 system-id = x
 smsc-password = 
 system-type = default
 address-range = 
 transceiver-mode = true
 source-addr-ton = 1
 source-addr-npi = 1
 dest-addr-ton = 1
 dest-addr-npi = 1
 bind-addr-ton = 1
 bind-addr-npi = 1
 log-level = 0
 log-file = /var/log/kannel/x.log

 --
 View this message in context:
 http://old.nabble.com/Route-message-through-2-smsc-tp33747870p33747870.html
 Sent from the Kannel - User mailing list archive at Nabble.com.





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




 --
 View this message in context:
 http://old.nabble.com/Route-message-through-2-smsc-tp33747870p33749334.html
 Sent from the Kannel - User mailing list archive at Nabble.com.





-- 
|-|
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: Route message through 2 smsc

2012-04-25 Thread Rene Kluwen
If you want a different default smsc for a separate smpp user, you should start 
a new opensmppbox instance for that smsc (on a different port) and let the user 
connect to it.
Currently, it is not possible to set a per-user default smsc.

== Rene

-Original Message-
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf Of 
doctin
Sent: Wednesday, 25 April, 2012 22:24
To: users@kannel.org
Subject: Re: Route message through 2 smsc


Dear Alvaro

Thank you for your reply

1)  I use opensmppbox to submit the message. Is it possible to specify a
SMSC for a SMPP user?
2)  other question is i want to route all SMS to Malaysia using #2nd service
provider. So i added 
 denied-prefix = 60;+60;0060 in the #1st service provider .But all
message are now routed using#2nd service provider. Please help on this

Thanks


Alvaro Cornejo wrote:
 
 Hi
 
 If you do not define a route, kannel will choose any available
 connection to send the messages. It will load balace them.
 
 If you do want to route messages to an specific route, you need to
 specify ...smsc=YOUR_SMSC_A... or ...smsc=YOUR_SMSC_B... in your
 call to smsbox to submit the message to tell kannel to route message
 through your smsc A or B.
 
 Hope helps
 
 Alvaro.
 
 On 4/25/12, doctin doctor20...@gmail.com wrote:

 Hi..

 I am new to this field. I have 2 smsc service provider connection. if i
 send
 100 message 50 message should go  first service provider and rest 20
 should
 go 2nd service provider. is this possible? If so how to do it?

 Thanks in advance

 #1st service provider
 group = smsc
 smsc = smpp
 smsc-id = A
 interface-version = 34
 host = x
 port = 
 system-id = x
 smsc-password = 
 system-type = default
 address-range = 
 transceiver-mode = true
 source-addr-ton = 1
 source-addr-npi = 1
 dest-addr-ton = 1
 dest-addr-npi = 1
 bind-addr-ton = 1
 bind-addr-npi = 1
 log-level = 0
 log-file = /var/log/kannel/x.log

 #2nd service provider
 group = smsc
 smsc = smpp
 smsc-id = B
 interface-version = 34
 host = x
 port = 
 system-id = x
 smsc-password = 
 system-type = default
 address-range = 
 transceiver-mode = true
 source-addr-ton = 1
 source-addr-npi = 1
 dest-addr-ton = 1
 dest-addr-npi = 1
 bind-addr-ton = 1
 bind-addr-npi = 1
 log-level = 0
 log-file = /var/log/kannel/x.log

 --
 View this message in context:
 http://old.nabble.com/Route-message-through-2-smsc-tp33747870p33747870.html
 Sent from the Kannel - User mailing list archive at Nabble.com.



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

-- 
View this message in context: 
http://old.nabble.com/Route-message-through-2-smsc-tp33747870p33749334.html
Sent from the Kannel - User mailing list archive at Nabble.com.