Thank you for that answer, I will give it a try and tell you about whether it fits or not<br><br>Thank you very much !<br><br><div><span class="gmail_quote">2006/2/8, Anders Brownworth <<a href="mailto:anders-c@evantide.com">
anders-c@evantide.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Antoine,<br><br>Something like this might do what you are looking for:
<br><br>if ( ( method == "REGISTER" ) || ( method == "SUBSCRIBE" ) || ( method == "NOTIFY" ) ) {<br> ds_select_domain( "1", "0" );<br><br>}<br>else {<br> if ( ( method == "INVITE" ) || ( method == "BYE" ) || ( method == "CANCEL" ) ) {
<br> ds_select_domain( "2", "0" );<br><br> }<br><br>}<br><br>-Anders<br><br>On Wed, 8 Feb 2006, Antoine Fressancourt wrote:<br><br>> Hello,<br>><br>> I followed with great interest the discussion about the use of the
<br>> Dispatcher module that occured in the last few days. Yet, I have another<br>> question. For design issues, I wish to balance the incoming SIP messages<br>> according to the method they hold : for instance, I want to treat the
<br>> REGISTER, SUBSCRBE and NOTIFY messages on some machines, and the INVITE,<br>> BYE, CANCEL on another set of machines. I know this may seem strange first,<br>> but I wonder if any mecanism allow to do that.<br>
><br>> Thank you in advance for your answers.<br>><br>> Antoine Fressancourt<br>><br><br>-a<br>___________________________________________________________________________<br>anders brownworth<br><a href="http://www.anders.com/">
http://www.anders.com/</a><br></blockquote></div><br>