(RADIATOR) Question about Handler.

Ricardo Martinez rmartinez at redvoiss.net
Tue Nov 23 15:07:50 CST 2004


Hello List.
	I have a question related with handlers.  In my actual platform i
have two handlers for two different types of messages.  This configuration
permits make different querys to my Database.

For example i have : 

<Handler Digest-Method=REGISTER>
         <AuthBy FILE>
                     .......
        </AuthBy>
</Handler>

<Handler Digest-Method=INVITE>
        # Look up user details in a flat file
        <AuthBy FILE>
                .......
        </AuthBy>
</Handler>

What i'm trying to do know is insert this two handlers into two more general
rules.  This is what i'm trying to do : 

<Handler RULE1="something1">
	<Handler Digest-Method=REGISTER>
         		<AuthBy FILE>
			.......
        		</AuthBy>
	</Handler>

	<Handler Digest-Method=INVITE>
        		<AuthBy FILE>
                		.......
        		</AuthBy>
	</Handler>
</Handler>

<Handler RULE2="something2">
	<Handler Digest-Method=REGISTER>
         		<AuthBy FILE>
			.......
        		</AuthBy>
	</Handler>

	<Handler Digest-Method=INVITE>
        		<AuthBy FILE>
                		.......
        		</AuthBy>
	</Handler>
</Handler>

Is this possible?.
If this is not possible what could be a similar approach?
Thanks in advance

Best regards,
Ricardo Martinez Ogalde

--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list