You can setup something like this:

group = smsc
smsc = smpp
smsc-id = mysmsc-tx
allowed-smsc-id = mysmsc
host = HOST
port = 9001
receive-port = 0
...

group = smsc
smsc = smpp
smsc-id = mysmsc
allowed-smsc-id = mysmsc
host = HOST
port = 0
receive-port = 9001
...

Check the trick on port and receive-port.

This way, you'd enqueue messages with smsc=mysmsc. They'll only be able to
get out by mysmsc-tx though.

Hope it helps,

Alejandro

On Wed, Oct 29, 2008 at 4:52 PM, Villada, Gustavo
<[EMAIL PROTECTED]>wrote:

> A SMSC say that us must receive (only) the messages via one connection and
> must send the responses via other connection...
>
> We have kannel correctly configured for others carriers...
>
> How we can configure this situation with kannel only?
>
> We think that adding a HTTP processor that receive by one and transmit by
> other is possible, but not desirable.
>
> The HOST, port are equals, we have different users for each connection.
>
>
> Copy the piece of kannel.conf
>
> group = smsc
> smsc = smpp
> smsc-id = v-tx
> host = HOST
> port = 9001
> smsc-username = user01
> smsc-password = pwd01
> system-type = ""
> my-number = 11111
> log-file = "/var/log/kannel/v-tx.log"
> log-level = 1
>
> group = smsc
> smsc = smpp
> smsc-id = v-rx
> host = HOST
> port = 9001
> receive-port = 9001
> smsc-username = user01
> smsc-password = pwd01
> system-type = ""
> my-number = 11111
> log-file = "/var/log/kannel/v-rx.log"
> log-level = 1
>
>
> TIA
> Gustavo
>
>

Reply via email to