Hi,

Yes, you are right. I tried it again today and indeed Kannel forwards the http connection from box1 to the sendsms service in box 1. Seems a push related problem with http smsc and meta-data. Alej, you may be interested in this. Are you following?

BR,
Nikos

----- Original Message ----- From: "Ishtiaq Ahmed" <[email protected]>
To: "Nikos Balkanas" <[email protected]>
Cc: <[email protected]>
Sent: Friday, February 13, 2009 9:14 AM
Subject: Re: Kannel to Kannel Meta-Data problem


Hi Nik,


thanks for the update.... It works well.. Message originating from the device hit the SMPP bind at BOX2.... which forward it to BOX1... then to application.... Application process the message and deliver it to BOX1 which send it to send-url = "http://*KANNELBOX2*:13131/cgi-bin/sendsms";

The problem is that I am recieving all the fields accept the Metadata field.. medta-data field is coming blank.



Regards,


Ishtiaq Ahmed


Nikos Balkanas wrote:
Hi,
 Wow! I think I see some looping going on here...
 Where is your message originating from? MO or MT?
Assuming MT originating on Box 2. It is sending a URL to bearerbox port 13125 where http SMSc is listening for SMS clients. That is SMS clients, not HTTP clients. Are you sure that this does what you think it does? Let's assume that this works. Then you try a push from BOX1 to BOX2. Don't you need to pass some parameters in the URL? Like SMS, from, to, meta-data? If you did and assume that you kept your somekeyword around, it would propably sent right back to BOX 1 and so on... I am sure this is not what you want to do, so why don't you tell us about it?
 BR,
Nikos

    ----- Original Message -----
    *From:* Ishtiaq Ahmed <mailto:[email protected]>
    *To:* [email protected] <mailto:[email protected]>
    *Sent:* Thursday, February 12, 2009 5:43 PM
    *Subject:* Kannel to Kannel Meta-Data problem

    hi Guyz,



    Been working over the forwarding of the SMS from one Kannel to
    another Kannel, using the kannel http smsc .... here are the configs


    *KANNEL BOX 1*

    group = smsc
    smsc = http
    smsc-id = SomeNetwork
    system-type = kannel
    smsc-username = ooober
    smsc-password = ooober
    send-url = "http://*KANNELBOX2*:13131/cgi-bin/sendsms";
    connect-allow-ip = *.*.*.*
    port = 13125
    allowed-smsc-id = SomeNetwork



    group = sms-service
    keyword-regex = somekeyword
    max-messages = 0
    accepted-smsc= SomeNetwork
    get-url =

"http://SERVER:8080/applicationcontext/receivemsg.htm?sender=%p&text=%a&shortcode=%P&operatorId=%o&price=%O&smscid=%i&meta-data=%D";


    *KANNEL BOX 2*
    group = sms-service
    keyword-regex = somekeyword
    max-messages = 0
    #GET URL to send messages to APPLICATION
    get-url =

"http://*KANNELBOX1*:13125/sms?username=ooober&password=ooober&from=%p&to=%P&text=%a&meta-data=%D";
    accepted-smsc = SomeNetwork




    Everything is fine.... But Kannel Box 1 while sending the message
    to SERVER does not send meta-data tag with it.... %D has no value...



    Regards,


    Ishtiaq Ahmed




Reply via email to