okay i did what u just said, here is my config # SMS SERVICE Default # there should be default always keyword = default get-url = "http://localhost/magnus/vcardhandler.php?num=%p&message=%a" max-messages = 0
i made vcardhander.php to just dump the value pass to him to a flat file. Tried to send a vcard from nokia phone and it gets dump. My problem occurs when i send another vcard or plain text message having "magnus" as my key word, it didnt event fetch the URL defien to him in the services. I also notice that when i stop kannel(bearerbox and smsbox) i saw the bearebox.log that it receives 2 (since i sent 1 vcard and text with "magnus" as keyword) messages........what wrong with my config? did i miss somethings? thanks again!!! --- Stipe Tolj <[EMAIL PROTECTED]> wrote: > joseph mercado wrote: > > > > Thanks for the advice, one more thing, i did > > "catchall" the text message send using %a, do i > need > > to specify a keyword so that kannel know if a > plain > > text or vcard was send? below is what i did in my > > kannel.conf SERVICE DEFINITION > > > > ##SMS SERVICE > > > > ## catch vcard > > group = sms-service > > keyword = magnus > > get-url = > > > "http://localhost/magnus/vcardhandler.php?num=%p&message=%a" > > max-messages = 0 > > > > ## catch vcard > > group = sms-service > > keyword = magnus > > get-url = > > > "http://localhost/magnus/query.php?num=%p&message=%r" > > max-messages = 3 > > the URLs are only triggered if the first word > (keyword) of the message > is magnus. I guess this will not be the case for > vcards. You should > set the keyword to 'default', which means if no > previous keyword > sms-service group matches it will go to this, not > checking the first > word anyway. > > Hence it's a "all previous didn't match, so take > this" mechanism. > > Stipe > > [EMAIL PROTECTED] > ------------------------------------------------------------------- > Wapme Systems AG > > Vogelsanger Weg 80 > 40470 D�sseldorf > > Tel: +49-211-74845-0 > Fax: +49-211-74845-299 > > E-Mail: [EMAIL PROTECTED] > Internet: http://www.wapme-systems.de > ------------------------------------------------------------------- > wapme.net - wherever you are __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com
