Multiple connections same port, different our-port

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Multiple connections same port, different our-port

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: [hidden email]
S: dbellettini


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

www.onebip.com

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Multiple connections same port, different our-port

Stipe Tolj-2
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
-------------------------------------------------------------------

Loading...