You are right there was a bug: In the case of a missing keyword, the first service would ALWAYS be invoked. I have fixed this in CVS, please verify.
On Jun 21, 2007, at 09:12, mms test wrote:

Dear All,

I am using mbuni as MMS VAS gateway. I have defined following services
in configuration file.  I am getting this Warning


WARNING: MMSBox: Multiple default mms services defined!
2007-06-21 10:51:47 [3225] [0] WARNING: MMSBox: Multiple default mms
services defined!
2007-06-21 10:51:47 [3225] [0] WARNING: MMSBox: Multiple default mms
services defined!

I think due to above warning the services are not hitting properly. If
there is no text with MMS than first mms-service is called. If there
is text with MMS than other mms-services are called even there keyword
is not matching to second service

group = mms-service
name = 300
post-url = http://192.168.168.1/mms/content/get_mms.php
http-post-parameters = mmsdata[]=%z
accept-x-mbuni-headers = true
keyword = mms
catch-all = true
omit-empty = yes
service-code = regular
suppress-reply = true

### FIRST Service
group = mms-service
name = 300
post-url = http://192.168.168.1:9999/test.jsp?keyword=abc
http-post-parameters =text[]=%t&tf_content[]=%i
accept-x-mbuni-headers = true
keyword = abc
omit-empty = yes
service-code = regular
suppress-reply = true

#### Second Service
group = mms-service
name = 300
post-url = http://192.168.168.1:9999/test.jsp?keyword=xyz
http-post-parameters =text[]=%t&tf_content[]=%i
accept-x-mbuni-headers = true
keyword = xyz
omit-empty = yes
service-code = regular
suppress-reply = true

group = mms-service
name = 300
post-url = http://192.168.168.1:9999/test.jsp?keyword=def
http-post-parameters =text[]=%t&tf_content[]=%i
accept-x-mbuni-headers = true
keyword = def
omit-empty = yes
service-code = regular
suppress-reply = true


According to mbuni doc service defined with catch-all = true is
treated as default service.

catch-all        boolean         Set this to true if this is the default
service (i.e. all other messages routed through this service in case
of no match).


If my understanding is worng than coorect with & plz tell me how to
define service.

Thanks in advance
_______________________________________________
Users mailing list
[email protected]
http://lists.mbuni.org/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://lists.mbuni.org/mailman/listinfo/users

Reply via email to