>Now that I know this:
>
>                     ----> SMSC 1: CIMD2
>     app ---> kannel
>                     ----> SMSC 2: HTTP
>
>how do I link kannel to kannel, i.e.
>
>
>     app ---> kannel ----> SMSC: HTTP (type-Kannel) ---> kannel --->
>SMSC: EMI2
>
>              ^client                                    ^server
>
>I don't get it from the comments of smsc_http.c -- sorry :((



Here's how:

On your client side, you have to create a short message center the 
following way:


group = smsc
smsc = http
smsc-id = theserver
system-type = kannel
smsc-username = myuser
smsc-password = mypass
send-url = "http://server";
connect-allow-ip = "1.2.3.4"
port = 5000

On the server you simply define a sms-user as usual.

For RECEIVING SMS (reverse direction than above) on server configure:


group = sms-service
keyword = default
url = "http://client:5000/sms?user=myuser&pass=mypass&from=%p&to=%P&t
ext=%a"
max-messages = 0

This will deliver incoming messages to the client kannel instance 
(you can do that for all messages as in this example or for only 
specific keywords).




-- 

Andreas Fink
Fink-Consulting

------------------------------------------------------------------
Tel: +41-61-6932730 Fax: +41-61-6932729  Mobile: +41-79-2457333
Address: A. Fink, Schwarzwaldallee 16, 4058 Basel, Switzerland
E-Mail:  [EMAIL PROTECTED]  Homepage: http://www.finkconsulting.com
------------------------------------------------------------------
Something urgent? Try http://www.smsrelay.com/  Nickname afink

Reply via email to