Aliases for sms-service is NOT working

Marc Ricart <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
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
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.