Hi, Our team is working with Kannel stable and CVS and we have been having problems with capturing data from an incoming message (operator SMSC -> Kannel), particularly the %P field in the get-url line in sms-service config.
Sample config: group = sms-service keyword = default get-url = "http://host/prog.php?from=%p&to=%P&message=%b" What happens is that we are able to capture "from" and "message" but "to" is blank. So in my sms-access.log file it shows something like: 2004-07-04 13:16:43 SMS HTTP-request sender:xxxxxxxxxxx request: '' url: 'http://host/prog.php?from=xxxxxxxxxxx&to=&message=Testing+only' reply: 200 '<< successful >>' This is our experience for both the stable and CVS versions. The thing is we need to capture the data in the "to" field because we do number analysis on it. It's not always that only the large-account number that is being sent. Subscribers may send something like 21111234567, which is actually a padded large account. In any case, Kannel documentation says %P should do the trick, but how come we are getting empty data? We know the data is being captured because we see it being printed when we tail the smsbox.log. Thanks! GOOEY TECH GUYS __________________________________ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail
