RE: [Users] Detokenizer Module

2005-07-20 Thread Oscar Flores
Hello Users,

Thanks for your help, I was able to make this work using the example
/usr/local/lib/mbuni/libmms_detokenizer_shell.so passing as parameter to
this a program which I wrote which looks for the MSISDN in a Database using
the token that is in the URL of the MMS Server in the phone.

Many thanks for your help

Oscar Flores

-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de
Paul Bagyenda
Enviado el: Tuesday, July 19, 2005 10:49 AM
Para: Mbuni MMS Gateway Users List
Asunto: Re: [Users] Detokenizer Module

Correct.

On Jul 19, 2005, at 17:43, Oscar Flores wrote:

>
> Thanks for the answer, I was reading the documentation and it says:
>
> For such cases, Mbuni provides another way to specify the sender
> MSISDN: The
> last part of the URL passed in the HTTP transaction is passed to the 
> De-tokenizer module (if specified), which should return a valid sender 
> address. So for instance you can configure a clients to use a URL like
> http://mmsc/xYz12R2  as the MMSC address, and Mbuni will pass
> xYz12R2 to the
> de-tokenizer module, which must return the sender address.
>
> I understand that Mbuni will call my detokenizer-module and will put 
> xYz12R2 as a parameter so I will able to get in the ARGV?
>
> And the answer from the module should be the MSISDN and this will be 
> returned as a return function?
>
> Hope you can clarify this and for sure will be useful for all of us
>
> Many thanks and Best Regards
>
> Oscar Flores
>
> -Mensaje original-
> De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre 
> de Paul Bagyenda Enviado el: Tuesday, July 05, 2005 11:36 AM
> Para: Mbuni MMS Gateway Users List
> Asunto: Re: [Users] Detokenizer Module
>
> The provided de-tokenizer module does nothing. The idea is that you 
> would write your own using the plug-in interface, and it would do 
> whatever fancy user identification you needed. Søren perhaps you can 
> comment some more?
>
> Paul.
>
> On Jul 05, 2005, at 16:39, Oscar Flores wrote:
>
>
>> Hello Users,
>>
>> I tried to use the detokenizer module as:
>>
>> detokenizer-library = /usr/local/lib/mbuni/ 
>> libmms_detokenizer_shell.so
>>
>> But it's still not working I just receive the IP address as 
>> originator of the MMS. Do I need something else?
>>
>> I also tried as stated in the documentation
>>
>> "So for instance you can configure a clients to use a URL like
>> http://mmsc/xYz12R2  as the MMSC address, and Mbuni will pass
>> xYz12R2 to the
>> de-tokenizer module, which must return the sender address."
>>
>> But this also didn't work.
>>
>> Many thanks
>>
>> Oscar Flores
>>
>>
>> ___
>> Users mailing list
>> [email protected]
>> http://mbuni.org/mailman/listinfo/users_mbuni.org
>>
>>
>
>
> ___
> Users mailing list
> [email protected]
> http://mbuni.org/mailman/listinfo/users_mbuni.org
>
>
> ___
> Users mailing list
> [email protected]
> http://mbuni.org/mailman/listinfo/users_mbuni.org
>


___
Users mailing list
[email protected]
http://mbuni.org/mailman/listinfo/users_mbuni.org


___
Users mailing list
[email protected]
http://mbuni.org/mailman/listinfo/users_mbuni.org


Re: [Users] Detokenizer Module

2005-07-19 Thread Paul Bagyenda

Correct.

On Jul 19, 2005, at 17:43, Oscar Flores wrote:



Thanks for the answer, I was reading the documentation and it says:

For such cases, Mbuni provides another way to specify the sender  
MSISDN: The

last part of the URL passed in the HTTP transaction is passed to the
De-tokenizer module (if specified), which should return a valid sender
address. So for instance you can configure a clients to use a URL like
http://mmsc/xYz12R2  as the MMSC address, and Mbuni will pass  
xYz12R2 to the

de-tokenizer module, which must return the sender address.

I understand that Mbuni will call my detokenizer-module and will  
put xYz12R2

as a parameter so I will able to get in the ARGV?

And the answer from the module should be the MSISDN and this will be
returned as a return function?

Hope you can clarify this and for sure will be useful for all of us

Many thanks and Best Regards

Oscar Flores

-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En  
nombre de

Paul Bagyenda
Enviado el: Tuesday, July 05, 2005 11:36 AM
Para: Mbuni MMS Gateway Users List
Asunto: Re: [Users] Detokenizer Module

The provided de-tokenizer module does nothing. The idea is that you  
would
write your own using the plug-in interface, and it would do  
whatever fancy
user identification you needed. Søren perhaps you can comment some  
more?


Paul.

On Jul 05, 2005, at 16:39, Oscar Flores wrote:



Hello Users,

I tried to use the detokenizer module as:

detokenizer-library = /usr/local/lib/mbuni/ 
libmms_detokenizer_shell.so


But it's still not working I just receive the IP address as
originator of
the MMS. Do I need something else?

I also tried as stated in the documentation

"So for instance you can configure a clients to use a URL like
http://mmsc/xYz12R2  as the MMSC address, and Mbuni will pass
xYz12R2 to the
de-tokenizer module, which must return the sender address."

But this also didn't work.

Many thanks

Oscar Flores


___
Users mailing list
[email protected]
http://mbuni.org/mailman/listinfo/users_mbuni.org





___
Users mailing list
[email protected]
http://mbuni.org/mailman/listinfo/users_mbuni.org


___
Users mailing list
[email protected]
http://mbuni.org/mailman/listinfo/users_mbuni.org




___
Users mailing list
[email protected]
http://mbuni.org/mailman/listinfo/users_mbuni.org


RE: [Users] Detokenizer Module

2005-07-19 Thread Oscar Flores

Thanks for the answer, I was reading the documentation and it says:

For such cases, Mbuni provides another way to specify the sender MSISDN: The
last part of the URL passed in the HTTP transaction is passed to the
De-tokenizer module (if specified), which should return a valid sender
address. So for instance you can configure a clients to use a URL like
http://mmsc/xYz12R2  as the MMSC address, and Mbuni will pass xYz12R2 to the
de-tokenizer module, which must return the sender address.

I understand that Mbuni will call my detokenizer-module and will put xYz12R2
as a parameter so I will able to get in the ARGV?

And the answer from the module should be the MSISDN and this will be
returned as a return function?

Hope you can clarify this and for sure will be useful for all of us

Many thanks and Best Regards

Oscar Flores

-Mensaje original-
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de
Paul Bagyenda
Enviado el: Tuesday, July 05, 2005 11:36 AM
Para: Mbuni MMS Gateway Users List
Asunto: Re: [Users] Detokenizer Module

The provided de-tokenizer module does nothing. The idea is that you would
write your own using the plug-in interface, and it would do whatever fancy
user identification you needed. Søren perhaps you can comment some more?

Paul.

On Jul 05, 2005, at 16:39, Oscar Flores wrote:

> Hello Users,
>
> I tried to use the detokenizer module as:
>
> detokenizer-library = /usr/local/lib/mbuni/libmms_detokenizer_shell.so
>
> But it's still not working I just receive the IP address as  
> originator of
> the MMS. Do I need something else?
>
> I also tried as stated in the documentation
>
> "So for instance you can configure a clients to use a URL like
> http://mmsc/xYz12R2  as the MMSC address, and Mbuni will pass  
> xYz12R2 to the
> de-tokenizer module, which must return the sender address."
>
> But this also didn't work.
>
> Many thanks
>
> Oscar Flores
>
>
> ___
> Users mailing list
> [email protected]
> http://mbuni.org/mailman/listinfo/users_mbuni.org
>


___
Users mailing list
[email protected]
http://mbuni.org/mailman/listinfo/users_mbuni.org


___
Users mailing list
[email protected]
http://mbuni.org/mailman/listinfo/users_mbuni.org


Re: [Users] Detokenizer Module

2005-07-05 Thread Paul Bagyenda
The provided de-tokenizer module does nothing. The idea is that you  
would write your own using the plug-in interface, and it would do  
whatever fancy user identification you needed. Søren perhaps you can  
comment some more?


Paul.

On Jul 05, 2005, at 16:39, Oscar Flores wrote:


Hello Users,

I tried to use the detokenizer module as:

detokenizer-library = /usr/local/lib/mbuni/libmms_detokenizer_shell.so

But it's still not working I just receive the IP address as  
originator of

the MMS. Do I need something else?

I also tried as stated in the documentation

"So for instance you can configure a clients to use a URL like
http://mmsc/xYz12R2  as the MMSC address, and Mbuni will pass  
xYz12R2 to the

de-tokenizer module, which must return the sender address."

But this also didn't work.

Many thanks

Oscar Flores


___
Users mailing list
[email protected]
http://mbuni.org/mailman/listinfo/users_mbuni.org




___
Users mailing list
[email protected]
http://mbuni.org/mailman/listinfo/users_mbuni.org


RE: [Users] Detokenizer module

2005-06-08 Thread NZ









Okay it seems to work,
thanks!

 

Nicolas.

 









De :
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Paul Bagyenda
Envoyé : mardi 7 juin
2005 16:46
À : Mbuni MMS Gateway Users List
Objet : Re: [Users]
Detokenizer module



 

A good sample is the mms_detokenize_shell.c file. In the current source
it is compiled and installed in /usr/local/lib/mbuni/ -- I'd modify that and
then set the option below as:



 





detokenizer-library = /usr/local/lib/mbuni/libmms_detokenizer_shell.so 





 





or something similar. The important thing is that the lib must be a
DSO.





 





 





On Jun 06, 2005, at 18:28, NZ wrote:









Hi,

I
would like to know how to configure mbuni to use the detokenizer module.

I
think I have to add such a line in the conf. file : 

detokenizer-library =
mms_detokenize.o

but
there is no mms_detokenize.o file created at the compilation.

So,
what should I do ?

Thanks.

Nicolas.







___





Users mailing list





[email protected]





http://mbuni.org/mailman/listinfo/users_mbuni.org



 



 








___
Users mailing list
[email protected]
http://mbuni.org/mailman/listinfo/users_mbuni.org


Re: [Users] Detokenizer module

2005-06-07 Thread Paul Bagyenda
A good sample is the mms_detokenize_shell.c file. In the current source it is compiled and installed in /usr/local/lib/mbuni/ -- I'd modify that and then set the option below as: detokenizer-library = /usr/local/lib/mbuni/libmms_detokenizer_shell.so  or something similar. The important thing is that the lib must be a DSO.On Jun 06, 2005, at 18:28, NZ wrote: Hi, I would like to know how to configure mbuni to use the detokenizer module. I think I have to add such a line in the conf. file : detokenizer-library = mms_detokenize.o but there is no mms_detokenize.o file created at the compilation.So, what should I do ? Thanks. Nicolas. ___Users mailing [email protected]://mbuni.org/mailman/listinfo/users_mbuni.org ___
Users mailing list
[email protected]
http://mbuni.org/mailman/listinfo/users_mbuni.org


RE: [Users] Detokenizer module

2005-06-07 Thread NZ
Well, in fact I want to use this module  :p

I've modified the code of mms_detokenize.c to suit my needs but now I don't
don't know how to use it. I thought the binary was automatically created
when compiling mbuni but it's not the case.

So I assume I have to compile it myself and then add the .o in the
configuration file, is that right ?

Can you help for the compiling options ?

Thanks.

Regards,
Nicolas.

-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de
Søren Hansen
Envoyé : mardi 7 juin 2005 12:59
À : Mbuni MMS Gateway Users List
Objet : Re: [Users] Detokenizer module

man, 06 06 2005 kl. 17:28 +0200, skrev NZ:
> I would like to know how to configure mbuni to use the detokenizer
> module.
> I think I have to add such a line in the conf. file : 
> detokenizer-library = mms_detokenize.o
> but there is no mms_detokenize.o file created at the compilation.

The trick with the tokenizer library is that you create one yourself.
It's supposed to supply a mapping between an MSISDN and some sort of
token to eliminate spoofing. If you don't need/want that, just remove
the entry from your configuration and everything should work fine.

-- 
Søren Hansen <[EMAIL PROTECTED]>


___
Users mailing list
[email protected]
http://mbuni.org/mailman/listinfo/users_mbuni.org


___
Users mailing list
[email protected]
http://mbuni.org/mailman/listinfo/users_mbuni.org


Re: [Users] Detokenizer module

2005-06-07 Thread Søren Hansen
man, 06 06 2005 kl. 17:28 +0200, skrev NZ:
> I would like to know how to configure mbuni to use the detokenizer
> module.
> I think I have to add such a line in the conf. file : 
> detokenizer-library = mms_detokenize.o
> but there is no mms_detokenize.o file created at the compilation.

The trick with the tokenizer library is that you create one yourself.
It's supposed to supply a mapping between an MSISDN and some sort of
token to eliminate spoofing. If you don't need/want that, just remove
the entry from your configuration and everything should work fine.

-- 
Søren Hansen <[EMAIL PROTECTED]>


___
Users mailing list
[email protected]
http://mbuni.org/mailman/listinfo/users_mbuni.org