Re: Aliases for sms-service is NOT working
Stipe Tolj <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | tolj.org system architecture |
| Message-ID | <[email protected]> |
Marc Ricart wrote:
> Hi ,
>
> aliases on sms-services are not working on 1.4.0 and even in the kannel
> snapshot . I've tried aplying a patch found in the list ( Subject : Aliases for
> sms-service is working ) but it makes smsbox crash after a while .
>
> Some help would apreciated .
>
> Thnx
>
> Regards
>
> Marc
>
> Here is the patch
>
> --- ../../../tom2/gateway/gw/urltrans.c Wed Mar 2 14:55:00 2005
> +++ urltrans.c Wed May 25 16:55:18 2005
> @@ -1386,6 +1386,7 @@ static URLTranslation *find_translation(
> octstr_convert_range(keyword, 0, octstr_len(keyword), tolower);
>
> list = get_matching_translations(trans, keyword);
> + if (gwlist_len(list)==0) list=dict_get(trans->dict,keyword);
> /*
> list now contains all translations where the keyword of the sms matches
> the
> pattern defined by the tranlsation's keyword
>
yep, confirming, this is known, see bug report #224 at
http://bugs.kannel.org/view_bug_page.php?f_id=0000224
we need to resolve this for upcoming 1.4.1.
Marc, can you provide a patch to fix the problem? I'm a bit stressed in carring
for all the issues. If you can post a patch I'll review, test and commit.
Stipe
-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany
tolj.org system architecture Kannel Software Foundation (KSF)
http://www.tolj.org/ http://www.kannel.org/
mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------