RE: 1 kannel 2 SMS

2002-06-25 Thread Oded Arbel

Not really. you can send MTs using send-sms interface to a specific smsbox, but you 
will receive MOs from both smsboxes, as Kannel does a round robin load balancing act 
between all smsboxes configured. I don't think that having such a fine grained control 
over the smsbox delivery is needed or beneficial. it's mainly a way to add a false 
sense of order into the system, for the benefit of managerial-think, at the cost of 
hurting efficiency and performance.

--
Oded Arbel
m-Wise mobile solutions
[EMAIL PROTECTED]

+972-9-9581711
+972-67-340014

::..
As every cat owner knows, nobody owns a cat.
-- Ellen Perry Berkeley




-Original Message-
From: Andy Elacion, Jr. [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 25, 2002 5:44 AM
To: '[EMAIL PROTECTED]'
Subject: 1 kannel 2 SMS


We have a kannel (1 bearerbox) and 2 separated SMS boxes config.  I want
to explore more this set-up.

Is it possible to use the 1 smsbox to act as receive/incoming sms
messages and the 2 smsbox to act as to send/out-going sms message.

All help is deeply apreciated.


-Andy






Re: 1 kannel 2 SMS

2002-06-25 Thread Andy Elacion, Jr.


"Andy Elacion, Jr." wrote:
We have a kannel (1 bearerbox) and 2 separated SMS
boxes config. I want to explore more this set-up.
Is it possible to use the 1 smsbox to act as receive/incoming sms messages
and the 2 smsbox to act as to send/out-going sms message.
All help is deeply apreciated.
-Andy
Here is my config to be implemented for the above config. Please
take a look at this, any comment is deeply appreciated.



# SMSC CONNECTIONS 1 (ONE)
group = smsc
smsc = sms1
host = [1.2.3.4]
port = 8135
smsc-id = sms1
denied-smsc-id = sms2
# SMSBOX SETUP
group = smsbox
bearerbox-host = [1.2.4.1]
sendsms-port = 13013
sendsms-chars = "0123456789 +-"
# SEND-SMS USERS
group = sendsms-user
username = xxx
password = xxx
forced-smsc = sms2
# SERVICES
group = sms-service
accepted-smsc = sms1
keyword = test
catch-all = true
get-url = "http://localhost/..."

# SMSC CONNECTIONS 2 (TWO)
group = smsc
smsc = sms2
host = [1.2.3.5]
port = 8125
smsc-id = sms2
denied-smsc-id = sms2
# SMSBOX SETUP
group = smsbox
bearerbox-host = [1.2.4.1]
sendsms-port = 13023
sendsms-chars = "0123456789 +-"
# SEND-SMS USERS
group = sendsms-user
username = xxx
password = xxx
forced-smsc = sms2
# SERVICES
# no config










multiple smsc connections

2002-06-25 Thread Szab Kristf Imre

Hi,

I configured two SMSC's in my kannel config  (listings below) and now I can't tell the 
sms-box which connection it should use. I tried with the smsc CGI parateter and the 
X-Kannel-SMSC header too, but Kannel routes random the sms's between the two 
connection. Any idea?

My other question is CIMD specific. Does Kannel support the 'set alphanumeric sender' 
feature of CIMD? (Sometimes referred as 27-feature.)

Thanks in advance,
Christophe


Listings

The config file:

group = smsc
smsc = cimd2
smsc-id = alap
host =  192.24.1.40
port = 9971
smsc-username = tdef102
smsc-password = tdef102
keepalive = 3

group = smsc
smsc = cimd2
smsc-id = agi
host =  192.24.97.102
port = 9971
smsc-username = tdef201
smsc-password = tdef201
keepalive = 3

group = smsbox
bearerbox-host = localhost
sendsms-port = 13131
access-log = /tmp/kannel.access
log-file = /tmp/smsbox.log
log-level = 2
global-sender = 9303526


group = sendsms-user
username = kannel
password = kannel
#user-deny-ip = *.*.*.*
user-allow-ip = *.*.*.*
max-messages = 3
concatenation = 0
split-chars =  ,.!?\n;:/
split-suffix = +
default-sender = 9303526

==
The sent requests:
bash-2.04$ telnet dev 13131
Trying...
Connected to dev.pgsm.hu.
Escape character is '^]'.
GET /cgi-bin/sendsms?text=hiwusername=kannelpassword=kannelto=9303526 HTTP/1.0
X-Kannel-SMSC: alap

HTTP/1.0 202 Foo
Server: Kannel/cvs
Content-Length: 5
Content-type: text/html
Pragma: no-cache
Cache-Control: no-cache

Sent.Connection closed by foreign host.
bash-2.04$ telnet dev 13131
Trying...
Connected to dev.pgsm.hu.
Escape character is '^]'.
GET /cgi-bin/sendsms?text=hiwusername=kannelpassword=kannelto=9303526from=9000914 
HTTP/1.0
X-Kannel-SMSC: agi

HTTP/1.0 202 Foo
Server: Kannel/cvs
Content-Length: 5
Content-type: text/html
Pragma: no-cache
Cache-Control: no-cache

Sent.Connection closed by foreign host.




RE: multiple smsc connections

2002-06-25 Thread Oded Arbel

Similar questions have been asked before, and several good answers are in the users' 
mailing list archives (its a shame we don't have a FAQ area in the web site). here's 
one such answer I gave a while ago. I think it clarfies a bit the mojo that is Kannel 
smsc routing. notice that I talk about forced-smsc, because that is what the original 
posted asked about, but it works the same as setting the smsc in the send-sms call (as 
is mentioned in one sentence).

http://www.mail-archive.com/users@kannel.3glab.org/msg01135.html

--
Oded Arbel
m-Wise mobile solutions
[EMAIL PROTECTED]

+972-9-9581711
+972-67-340014

::..
If stock market experts were so expert, they would be buying stock, not selling advice.




-Original Message-
From: Szab Kristf Imre [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 25, 2002 11:18 AM
To: [EMAIL PROTECTED]
Subject: multiple smsc connections


Hi,

I configured two SMSC's in my kannel config  (listings below) and now I can't tell the 
sms-box which connection it should use. I tried with the smsc CGI parateter and the 
X-Kannel-SMSC header too, but Kannel routes random the sms's between the two 
connection. Any idea?

My other question is CIMD specific. Does Kannel support the 'set alphanumeric sender' 
feature of CIMD? (Sometimes referred as 27-feature.)

Thanks in advance,
Christophe


Listings

The config file:

group = smsc
smsc = cimd2
smsc-id = alap
host =  192.24.1.40
port = 9971
smsc-username = tdef102
smsc-password = tdef102
keepalive = 3

group = smsc
smsc = cimd2
smsc-id = agi
host =  192.24.97.102
port = 9971
smsc-username = tdef201
smsc-password = tdef201
keepalive = 3

group = smsbox
bearerbox-host = localhost
sendsms-port = 13131
access-log = /tmp/kannel.access
log-file = /tmp/smsbox.log
log-level = 2
global-sender = 9303526


group = sendsms-user
username = kannel
password = kannel
#user-deny-ip = *.*.*.*
user-allow-ip = *.*.*.*
max-messages = 3
concatenation = 0
split-chars =  ,.!?\n;:/
split-suffix = +
default-sender = 9303526

==
The sent requests:
bash-2.04$ telnet dev 13131
Trying...
Connected to dev.pgsm.hu.
Escape character is '^]'.
GET /cgi-bin/sendsms?text=hiwusername=kannelpassword=kannelto=9303526 HTTP/1.0
X-Kannel-SMSC: alap

HTTP/1.0 202 Foo
Server: Kannel/cvs
Content-Length: 5
Content-type: text/html
Pragma: no-cache
Cache-Control: no-cache

Sent.Connection closed by foreign host.
bash-2.04$ telnet dev 13131
Trying...
Connected to dev.pgsm.hu.
Escape character is '^]'.
GET /cgi-bin/sendsms?text=hiwusername=kannelpassword=kannelto=9303526from=9000914 
HTTP/1.0
X-Kannel-SMSC: agi

HTTP/1.0 202 Foo
Server: Kannel/cvs
Content-Length: 5
Content-type: text/html
Pragma: no-cache
Cache-Control: no-cache

Sent.Connection closed by foreign host.





RE: Difference in source code between Redhat 6.2 and 7.2 versions

2002-06-25 Thread Oded Arbel

Generaly, these are difference source _package_ which contain the same source. you 
need different packages, as the package also contains the building instructions for 
the program, which are probably different for different versions of the Operating 
System.

Any  which way - please do not use the old 1.0.3 version, but get a more recent one. 
1.2.0 is going to roll out any second now, so you better hold out for that .

--
Oded Arbel
m-Wise mobile solutions
[EMAIL PROTECTED]

+972-9-9581711
+972-67-340014

::..
-- Pulchritude possesses solely cutaneous profundity.




-Original Message-
From: Benoit Doreau [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 25, 2002 6:35 PM
To: [EMAIL PROTECTED]
Subject: Difference in source code between Redhat 6.2 and 7.2 versions


Hi,

I have noticed in the download section of the Kannel web page that two
distinct versions of the source code were proposed for RedHat 6.x and RedHat
7 .

Can anybody tell me in what extent these two codes differ ?
Has anybody run kannel on RedHat 7.2 ?
Would it be possible to compile the RedHat 6.2 code on RedHat 7.2 ?

Thanks,
Benoit Doreau