Thank you very much !
2006/2/8, Anders Brownworth <
[EMAIL PROTECTED]>:
Antoine,
Something like this might do what you are looking for:
if ( ( method == "REGISTER" ) || ( method == "SUBSCRIBE" ) || ( method == "NOTIFY" ) ) {
ds_select_domain( "1", "0" );
}
else {
if ( ( method == "INVITE" ) || ( method == "BYE" ) || ( method == "CANCEL" ) ) {
ds_select_domain( "2", "0" );
}
}
-Anders
On Wed, 8 Feb 2006, Antoine Fressancourt wrote:
> Hello,
>
> I followed with great interest the discussion about the use of the
> Dispatcher module that occured in the last few days. Yet, I have another
> question. For design issues, I wish to balance the incoming SIP messages
> according to the method they hold : for instance, I want to treat the
> REGISTER, SUBSCRBE and NOTIFY messages on some machines, and the INVITE,
> BYE, CANCEL on another set of machines. I know this may seem strange first,
> but I wonder if any mecanism allow to do that.
>
> Thank you in advance for your answers.
>
> Antoine Fressancourt
>
-a
___________________________________________________________________________
anders brownworth
http://www.anders.com/
_______________________________________________ Users mailing list [email protected] http://openser.org/cgi-bin/mailman/listinfo/users
