Re: receiving a Vcard and save toa DB

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Wapme Systems AG
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.