Re: ALLOW MULTIPLE CONNECTIONS TO OPENSMPP

2017-03-27 Thread Gorki Alfaro
Michael

Thanks a lot, it works! Also I usted the variable use-systemid-as-smsboxid
 on opensmpp.conf to complete the configuration.

Regards,

Gorki

On Mon, Mar 27, 2017 at 5:22 AM, Mike Nwaogu <michael_nwa...@yahoo.com>
wrote:

> Yes, there is Gorki.
> You'll have to create a different system type for the same user.
>
> eg:
> username_1 password_1 system_type_1
> username_1 password_1 system_type_2
>
>
> Best Regards,
> Michael Nwaogu C
>
>
> On Sunday, March 26, 2017 5:58 AM, Gorki Alfaro <gork...@gmail.com> wrote:
>
>
> Hello
>
> I have a question about opensmpp...Is there any way to allow multiple
> connections to opemsmpp from the same user ( ESME only one time listed in
> smpplogins) ? By now If I try to do this I received the the message
> "opensmppbox[] : Multiple login: Disconnect"
>
> Thanks in advance for your cooperation.
>
> -Gorki
>
>
>
>


ALLOW MULTIPLE CONNECTIONS TO OPENSMPP

2017-03-25 Thread Gorki Alfaro
Hello

I have a question about opensmpp...Is there any way to allow multiple
connections to opemsmpp from the same user ( ESME only one time listed in
smpplogins) ? By now If I try to do this I received the the message
"opensmppbox[] : Multiple login: Disconnect"

Thanks in advance for your cooperation.

-Gorki


ALLOW MULTIPLE CONNECTIONS TO OPENSMPP from the same account

2017-03-24 Thread Gorki Alfaro
Hello

I have a question about opensmpp...Is there any way to allow multiple
connections to opemsmpp from an ESME( only one time listed in smpplogins) ?
By now If I try to do this I received the the message "opensmppbox[] :
Multiple login: Disconnect"

Thanks in advance for your cooperation.

-Gorki


Re: Multiple connections same port, different our-port

2016-11-11 Thread Stipe Tolj

Am 10.11.2016 14:45, schrieb Davide Bellettini:

Hello everybody,

I'm wondering if it's possible to establish 8 connections for each of
these two configuration block, by using different our-port
(10844,10845,10846... and 10836, 10837...) values without copy-pasting
the whole configuration 8 times.


group = smsc
smsc-id = smscname
allowed-smsc-id = smscname
port = 12248
our-port = 10844
smsc-username = username
smsc-password = password
smsc = emi
host = hostname1
keepalive = 90
throughput = 10
connect-allow-ip = "10.0.0.183;127.0.0.1;10.10.11.34"
flow-control = 1

group = smsc
smsc-id = smscname
allowed-smsc-id = smscname
port = 12248
our-port = 10836
smsc-username = username
smsc-password = password
smsc = emi
host = hostname2
keepalive = 90
throughput = 10
connect-allow-ip = "10.0.0.183;127.0.0.1;10.10.11.34"
flow-control = 1


the 'our-port' in the EMI/UCP type is optional. If you DO NOT need a 
specific client-side TCP port to bind for you can use the 'instances = 
X' in the 'group = smsc' context to "multiply" the connections with a 
SINGLE group in the config.


If you DO meed specific 'our-port' values, then NO, you need to have 
multiple config groups then.


Stipe


--
Best Regards,
Stipe Tolj

---
Düsseldorf, NRW, Germany

Kannel Foundation tolj.org system architecture
http://www.kannel.org/http://www.tolj.org/

stolj at kannel.org   st at tolj.org
---



Multiple connections same port, different our-port

2016-11-10 Thread Davide Bellettini
Hello everybody,

I'm wondering if it's possible to establish 8 connections for each of
these two configuration block, by using different our-port
(10844,10845,10846... and 10836, 10837...) values without copy-pasting
the whole configuration 8 times.


group = smsc
smsc-id = smscname
allowed-smsc-id = smscname
port = 12248
our-port = 10844
smsc-username = username
smsc-password = password
smsc = emi
host = hostname1
keepalive = 90
throughput = 10
connect-allow-ip = "10.0.0.183;127.0.0.1;10.10.11.34"
flow-control = 1

group = smsc
smsc-id = smscname
allowed-smsc-id = smscname
port = 12248
our-port = 10836
smsc-username = username
smsc-password = password
smsc = emi
host = hostname2
keepalive = 90
throughput = 10
connect-allow-ip = "10.0.0.183;127.0.0.1;10.10.11.34"
flow-control = 1

Cheers
Davide

-- 
Davide Bellettini | Developer

M: +393429972500
E: davide.bellett...@onebip.com
S: dbellettini


Onebip S.p.A.
Via Generale Gustavo Fara, 28
20124 Milano, Italy

www.onebip.com



Multiple connections to multiple hosts - DLRs lost

2009-09-15 Thread tweezerz

Hello,

I am new to Kannel and attempting to do some load balancing between 2
machines to 2 different hosts.  When we do a failover the DLR messages get
'lost'.  Watching the traffic this seems to be because the messages goes out
one bind and comes back on a different one and Kannel doesn't know what to
do with it.  

Is there a way to resolve this issue?  Looking at the documentation it seems
the solution is to have the same smsc-id on both instances of kannel and
this is the casebut we're still seeing the issue.  Can someone point me
in the right direction to get this resolved?  

Many thanks,

Zac
-- 
View this message in context: 
http://www.nabble.com/Multiple-connections-to-multiple-hosts---DLRs-lost-tp25457143p25457143.html
Sent from the Kannel - User mailing list archive at Nabble.com.




Re: Multiple connections to multiple hosts - DLRs lost

2009-09-15 Thread Alejandro Guerrieri
Use mysql or any DB-based storage for dlr's, and name both binds equally.
That way both servers would look for DLR's on the same place.
Hope it helps.

Alejandro

On Tue, Sep 15, 2009 at 6:21 PM, tweezerz zza...@mbmobile.com wrote:


 Hello,

 I am new to Kannel and attempting to do some load balancing between 2
 machines to 2 different hosts.  When we do a failover the DLR messages get
 'lost'.  Watching the traffic this seems to be because the messages goes
 out
 one bind and comes back on a different one and Kannel doesn't know what to
 do with it.

 Is there a way to resolve this issue?  Looking at the documentation it
 seems
 the solution is to have the same smsc-id on both instances of kannel and
 this is the casebut we're still seeing the issue.  Can someone point me
 in the right direction to get this resolved?

 Many thanks,

 Zac
 --
 View this message in context:
 http://www.nabble.com/Multiple-connections-to-multiple-hosts---DLRs-lost-tp25457143p25457143.html
 Sent from the Kannel - User mailing list archive at Nabble.com.





Re: Multiple connections

2008-09-12 Thread Alexander Malysh

Hi,

nope, priority queue is in use only by: AT, EMI and SMPP (just commited).

Global queue doesn't use priority queue because it used only for retries 
and there is the FIFO rule.


Please try CVS version.

Thanks,
Alex

info.ubichip schrieb:

Hello,
 
priority value is in use for the general queue. I think as soon a SMS 
has been assigned to a SMSC queue, it is not possible to let them going 
faster.
 
if you are using smpp, it could be done by using another smsc channel 
and some php code to assign high priority sms to this smsc.
 
hope it helps
 
regards
 



*From:* Gustavo Mohme C. [mailto:[EMAIL PROTECTED]
*Sent:* mercredi 10 septembre 2008 11:46
*To:* Daniel Camacho - PA
*Cc:* users@kannel.org
*Subject:* Re: Multiple connections

Thanks everyone for the replies.
What I did, following info.ubichip advice, was to set all the messages 
in the queue with a priority value of 3. All the other emergency 
messages had a priority of 0. Nevertheless, all the emergency messages 
where still queued at the bottom and only sent when kannel was done 
sending priority 3 messages. In other words, it seems kannel doesn't 
respect priority values. Am I doing something wrong?

Regards,
Gustavo

2008/9/10 Daniel Camacho - PA [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]


Gustavo Mohme C. wrote:

Hi All,
I've been successfully using Kannel for over a month now and
it's working rather well! Here is my scenario:
I'm using the latest stable version of Kannel and connect to an
SMSC using SMPP. I only have 1 SMPP connection at the moment. On
an average day i send around 70,000 sms which I separate on two
batches. The problem is that during the sending process(which in
total takes around 5 hours each day), if someone sends an sms,
it will be processed and queued until all the previous messages
have been sent. This means that during 5 hours each day, users
will not get an immeadiate reply. To solve this, I was thinking
on asking my smsc for another connection and use two
connections: 1 transmitter for sending daily sms and 1
transeiver for sending and replying sms. Is such a configuration
possible? Is there a better solution to my problem?
Any help would be greatly appreciated.
Regards,
Gustavo

-- 
This message has been scanned for viruses and

dangerous content by *MailScanner*
http://www.mailscanner.info/, and is
believed to be clean.



About the bottle neck in your waiting pool to process and send after
the qeued batch is sent (hours). I solved this by doing some work
arround.
I created a table somewhere in the same databaseserver with (almost)
the same send table structure. Almost becouse I manage my own
priority field, and a status field for indicating if sent or not.

I fill this table with the 70K sms with a priority of 3 and status
of 0(not yet sent)

A perl cron job runs every minute to select messages from this table
and inserting them into the send table.
1 is the highest priority

It reads for ALL the messages with a priority of 1, update its
status to 1 (marking as sent), and insert ALL' of them in the send
table.
Next it reads a chunk of 50 for the priority 2, update its status to
1 (marking as sent), and insert this chunk in the send table.
Next ir reads a chunk of 25 for the priority 3, update its status to
1 (marking as sent), and insert this chunk in the send table.

This will be done every minute (as my crontab allows me) untill all
are gone. You can try different chunks per priority.

Gerdaniels

-- 
This message has been scanned for viruses and

dangerous content by MailScanner, and is
believed to be clean.







Re: Multiple connections

2008-09-11 Thread Daniel Camacho - PA
My solution was to implement the same kannel send table structure in 
another whatever table. plus a couplbe of fields (priority and status)


A cron job runs a perl script. wich evaluates the rows in this 
whatever table, and do some select-insert operations from this table 
to the kannel send table as suggested before


sangprabv wrote:

Hi,
If you use SqlBox, then my tips is to create another table in your DB
which used to store MTPUSH messages only. And run another SqlBox daemon
to listen to that table. 



Willy



  



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

begin:vcard
fn:Daniel Camacho
n:Camacho;Daniel
org:Promociones Acertadas, S.A.
adr:Plaza Tigo, 4to. Nivel;;Km. 9.5 Carretera a El Salvador;Guatemala;;;Guatemala
email;internet:[EMAIL PROTECTED]
title:Analista de Sistemas
tel;work:(502) 24281470
tel;cell:(502) 53781298
x-mozilla-html:TRUE
url:www.promocionesacertadas.com
version:2.1
end:vcard



Re: Multiple connections

2008-09-10 Thread Daniel Camacho - PA

Gustavo Mohme C. wrote:

Hi All,
I've been successfully using Kannel for over a month now and it's 
working rather well! Here is my scenario:
I'm using the latest stable version of Kannel and connect to an SMSC 
using SMPP. I only have 1 SMPP connection at the moment. On an average 
day i send around 70,000 sms which I separate on two batches. The 
problem is that during the sending process(which in total takes around 
5 hours each day), if someone sends an sms, it will be processed and 
queued until all the previous messages have been sent. This means that 
during 5 hours each day, users will not get an immeadiate reply. To 
solve this, I was thinking on asking my smsc for another connection 
and use two connections: 1 transmitter for sending daily sms and 1 
transeiver for sending and replying sms. Is such a configuration 
possible? Is there a better solution to my problem?

Any help would be greatly appreciated.
Regards,
Gustavo

--
This message has been scanned for viruses and
dangerous content by *MailScanner* http://www.mailscanner.info/, and is
believed to be clean. 



About the bottle neck in your waiting pool to process and send after the 
qeued batch is sent (hours). I solved this by doing some work arround.
I created a table somewhere in the same databaseserver with (almost) the 
same send table structure. Almost becouse I manage my own priority 
field, and a status field for indicating if sent or not.


I fill this table with the 70K sms with a priority of 3 and status of 
0(not yet sent)


A perl cron job runs every minute to select messages from this table and 
inserting them into the send table.

1 is the highest priority

It reads for ALL the messages with a priority of 1, update its status 
to 1 (marking as sent), and insert ALL' of them in the send table.
Next it reads a chunk of 50 for the priority 2, update its status to 1 
(marking as sent), and insert this chunk in the send table.
Next ir reads a chunk of 25 for the priority 3, update its status to 1 
(marking as sent), and insert this chunk in the send table.


This will be done every minute (as my crontab allows me) untill all are 
gone. You can try different chunks per priority.


Gerdaniels

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

begin:vcard
fn:Daniel Camacho
n:Camacho;Daniel
org:Promociones Acertadas, S.A.
adr:Plaza Tigo, 4to. Nivel;;Km. 9.5 Carretera a El Salvador;Guatemala;;;Guatemala
email;internet:[EMAIL PROTECTED]
title:Analista de Sistemas
tel;work:(502) 24281470
tel;cell:(502) 53781298
x-mozilla-html:TRUE
url:www.promocionesacertadas.com
version:2.1
end:vcard



Re: Multiple connections

2008-09-10 Thread Gustavo Mohme C.
Thanks everyone for the replies.
What I did, following info.ubichip advice, was to set all the messages in
the queue with a priority value of 3. All the other emergency messages had
a priority of 0. Nevertheless, all the emergency messages where still queued
at the bottom and only sent when kannel was done sending priority 3
messages. In other words, it seems kannel doesn't respect priority values.
Am I doing something wrong?
Regards,
Gustavo

2008/9/10 Daniel Camacho - PA [EMAIL PROTECTED]

 Gustavo Mohme C. wrote:

 Hi All,
 I've been successfully using Kannel for over a month now and it's working
 rather well! Here is my scenario:
 I'm using the latest stable version of Kannel and connect to an SMSC using
 SMPP. I only have 1 SMPP connection at the moment. On an average day i send
 around 70,000 sms which I separate on two batches. The problem is that
 during the sending process(which in total takes around 5 hours each day), if
 someone sends an sms, it will be processed and queued until all the previous
 messages have been sent. This means that during 5 hours each day, users will
 not get an immeadiate reply. To solve this, I was thinking on asking my smsc
 for another connection and use two connections: 1 transmitter for sending
 daily sms and 1 transeiver for sending and replying sms. Is such a
 configuration possible? Is there a better solution to my problem?
 Any help would be greatly appreciated.
 Regards,
 Gustavo

 --
 This message has been scanned for viruses and
 dangerous content by *MailScanner* http://www.mailscanner.info/, and is
 believed to be clean.



 About the bottle neck in your waiting pool to process and send after the
 qeued batch is sent (hours). I solved this by doing some work arround.
 I created a table somewhere in the same databaseserver with (almost) the
 same send table structure. Almost becouse I manage my own priority
 field, and a status field for indicating if sent or not.

 I fill this table with the 70K sms with a priority of 3 and status of 0(not
 yet sent)

 A perl cron job runs every minute to select messages from this table and
 inserting them into the send table.
 1 is the highest priority

 It reads for ALL the messages with a priority of 1, update its status to
 1 (marking as sent), and insert ALL' of them in the send table.
 Next it reads a chunk of 50 for the priority 2, update its status to 1
 (marking as sent), and insert this chunk in the send table.
 Next ir reads a chunk of 25 for the priority 3, update its status to 1
 (marking as sent), and insert this chunk in the send table.

 This will be done every minute (as my crontab allows me) untill all are
 gone. You can try different chunks per priority.

 Gerdaniels

 --
 This message has been scanned for viruses and
 dangerous content by MailScanner, and is
 believed to be clean.




Re: Multiple connections

2008-09-10 Thread sangprabv
Hi,
If you use SqlBox, then my tips is to create another table in your DB
which used to store MTPUSH messages only. And run another SqlBox daemon
to listen to that table. 


Willy





Multiple connections

2008-09-08 Thread Gustavo Mohme C.
Hi All,
I've been successfully using Kannel for over a month now and it's working
rather well! Here is my scenario:
I'm using the latest stable version of Kannel and connect to an SMSC using
SMPP. I only have 1 SMPP connection at the moment. On an average day i send
around 70,000 sms which I separate on two batches. The problem is that
during the sending process(which in total takes around 5 hours each day), if
someone sends an sms, it will be processed and queued until all the previous
messages have been sent. This means that during 5 hours each day, users will
not get an immeadiate reply. To solve this, I was thinking on asking my smsc
for another connection and use two connections: 1 transmitter for sending
daily sms and 1 transeiver for sending and replying sms. Is such a
configuration possible? Is there a better solution to my problem?
Any help would be greatly appreciated.
Regards,
Gustavo


RE: Multiple connections

2008-09-08 Thread info.ubichip
Hello,
 
try to take a look on the priority value when you send the sms.
 
hope it help

  _  

From: Gustavo Mohme C. [mailto:[EMAIL PROTECTED] 
Sent: lundi 8 septembre 2008 10:56
To: users@kannel.org
Subject: Multiple connections


Hi All,
I've been successfully using Kannel for over a month now and it's working
rather well! Here is my scenario:
I'm using the latest stable version of Kannel and connect to an SMSC using
SMPP. I only have 1 SMPP connection at the moment. On an average day i send
around 70,000 sms which I separate on two batches. The problem is that
during the sending process(which in total takes around 5 hours each day), if
someone sends an sms, it will be processed and queued until all the previous
messages have been sent. This means that during 5 hours each day, users will
not get an immeadiate reply. To solve this, I was thinking on asking my smsc
for another connection and use two connections: 1 transmitter for sending
daily sms and 1 transeiver for sending and replying sms. Is such a
configuration possible? Is there a better solution to my problem?
Any help would be greatly appreciated.
Regards,
Gustavo



RE: Multiple connections

2008-09-08 Thread info.ubichip
make test and try and you will see, or take a look in the source code !
 
tell us if your problem has been solved in order to share your experience
with the kannel community.
 
regards
 

  _  

From: Gustavo Mohme C. [mailto:[EMAIL PROTECTED] 
Sent: lundi 8 septembre 2008 12:48
To: info.ubichip
Subject: Re: Multiple connections


thanks! Just one thing, 0 is the highest priority right?


On Mon, Sep 8, 2008 at 2:30 PM, info.ubichip [EMAIL PROTECTED] wrote:


Hello,
 
try to take a look on the priority value when you send the sms.
 
hope it help

  _  

From: Gustavo Mohme C. [mailto:[EMAIL PROTECTED] 
Sent: lundi 8 septembre 2008 10:56
To: users@kannel.org
Subject: Multiple connections


Hi All,
I've been successfully using Kannel for over a month now and it's working
rather well! Here is my scenario:
I'm using the latest stable version of Kannel and connect to an SMSC using
SMPP. I only have 1 SMPP connection at the moment. On an average day i send
around 70,000 sms which I separate on two batches. The problem is that
during the sending process(which in total takes around 5 hours each day), if
someone sends an sms, it will be processed and queued until all the previous
messages have been sent. This means that during 5 hours each day, users will
not get an immeadiate reply. To solve this, I was thinking on asking my smsc
for another connection and use two connections: 1 transmitter for sending
daily sms and 1 transeiver for sending and replying sms. Is such a
configuration possible? Is there a better solution to my problem?
Any help would be greatly appreciated.
Regards,
Gustavo





Re: Multiple connections to single SMSC

2005-05-02 Thread David Abbott
There's also the issue of DLR handling - isn't the good thing about using
different username and password is that at least it is a failsafe way of
getting DLRs back to the sending box, otherwise they'll end up getting
rejected by Kannel ?
Me too, two connections to the same SMPP, both over the same VPN link
to the same IP and port, using different username and password and,
knowing the market, I suppose it's to the same
three-letter-branded-cellco than Rodrigo does ;)
I don't know why do they want to do it that way (with other cellcos,
we usually have one SMPP link and route many shortcut numbers over the
same link without the overhead of mantaining many links for the same
provider) but since they are the ones writing the rules we can't argue
that much about it anyway and so far it worked ok for us.
Regarding question A, if you want to connect many boxes to the same
SMSC, you'll have to keep in mind that:
1. You cannot run more than one bearerbox for the same setup on the
same machine. The bearerbox connecting to the SMSC cannot be
replicated without installing a new copy of Kannel (maybe you could
install many copies of kannel and assign them different ports for the
bearerbox, I suppose... never tried it)
2. You could run many instances of kannel (bearerboxes) on different
machines and configure each one to make an http request to a single
web server. I think you _should_ be able to connect them to the same
SMSC, as long as the other party allows your IP's to connect.
Regards,
On 4/27/05, Rodrigo Cremaschi [EMAIL PROTECTED] wrote:
 Hi Michael:

I can answer to your (B) question with a YES. I have 3 SMPP 
connections
 to a single SMSC, same IP, same port, but different username/password 
for
 each one of them.

Regards,

 Rodrigo Cremaschi.

 - Original Message -
 From: Michael Bildner [EMAIL PROTECTED]
 To: devel@kannel.org
 Sent: Tuesday, April 26, 2005 6:23 PM
 Subject: Multiple connections to single SMSC

 I am not too familiar with the underlying protocols,
  but is it possible to make multiple connections to a
  single SMSC (mainly with the SMPP protocol).
 
  The two scenarios that I'm concerned with are:
  (A) Multiple boxes each running a single SMS gateway
  and each gateway wants to connect to the same SMSC.
  (B) Single box running a gateway that wants to make
  multiple connections to the same SMSC (perhaps using
  different username/passwords).
 
  Are these scenarios possible?
  Thanks.
  Michael
 
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam protection around
  http://mail.yahoo.com



--
Alejandro Guerrieri
Magicom
http://www.magicom-bcn.net/
_
Be the first to hear what's new at MSN - sign up to our free newsletters! 
http://www.msn.co.uk/newsletters




Re: Multiple connections to single SMSC

2005-04-27 Thread Alejandro Guerrieri
Me too, two connections to the same SMPP, both over the same VPN link
to the same IP and port, using different username and password and,
knowing the market, I suppose it's to the same
three-letter-branded-cellco than Rodrigo does ;)

I don't know why do they want to do it that way (with other cellcos,
we usually have one SMPP link and route many shortcut numbers over the
same link without the overhead of mantaining many links for the same
provider) but since they are the ones writing the rules we can't argue
that much about it anyway and so far it worked ok for us.

Regarding question A, if you want to connect many boxes to the same
SMSC, you'll have to keep in mind that:

1. You cannot run more than one bearerbox for the same setup on the
same machine. The bearerbox connecting to the SMSC cannot be
replicated without installing a new copy of Kannel (maybe you could
install many copies of kannel and assign them different ports for the
bearerbox, I suppose... never tried it)

2. You could run many instances of kannel (bearerboxes) on different
machines and configure each one to make an http request to a single
web server. I think you _should_ be able to connect them to the same
SMSC, as long as the other party allows your IP's to connect.

Regards,

On 4/27/05, Rodrigo Cremaschi [EMAIL PROTECTED] wrote:
 Hi Michael:
 
I can answer to your (B) question with a YES. I have 3 SMPP connections
 to a single SMSC, same IP, same port, but different username/password for
 each one of them.
 
Regards,
 
 Rodrigo Cremaschi.
 
 - Original Message -
 From: Michael Bildner [EMAIL PROTECTED]
 To: devel@kannel.org
 Sent: Tuesday, April 26, 2005 6:23 PM
 Subject: Multiple connections to single SMSC
 
 I am not too familiar with the underlying protocols,
  but is it possible to make multiple connections to a
  single SMSC (mainly with the SMPP protocol).
 
  The two scenarios that I'm concerned with are:
  (A) Multiple boxes each running a single SMS gateway
  and each gateway wants to connect to the same SMSC.
  (B) Single box running a gateway that wants to make
  multiple connections to the same SMSC (perhaps using
  different username/passwords).
 
  Are these scenarios possible?
  Thanks.
  Michael
 
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam protection around
  http://mail.yahoo.com
 
 


-- 
Alejandro Guerrieri
Magicom
http://www.magicom-bcn.net/