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 &lt;<a href="mailto:anders-c@evantide.com">
anders-c@evantide.com</a>&gt;:</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 == &quot;REGISTER&quot; ) || ( method == &quot;SUBSCRIBE&quot; ) || ( method == &quot;NOTIFY&quot; ) ) {<br>&nbsp;&nbsp; ds_select_domain( &quot;1&quot;, &quot;0&quot; );<br><br>}<br>else {<br>&nbsp;&nbsp; if ( ( method == &quot;INVITE&quot; ) || ( method == &quot;BYE&quot; ) || ( method == &quot;CANCEL&quot; ) ) {
<br>&nbsp;&nbsp;&nbsp;&nbsp; ds_select_domain( &quot;2&quot;, &quot;0&quot; );<br><br>&nbsp;&nbsp; }<br><br>}<br><br>-Anders<br><br>On Wed, 8 Feb 2006, Antoine Fressancourt wrote:<br><br>&gt; Hello,<br>&gt;<br>&gt; I followed with great interest the discussion about the use of the
<br>&gt; Dispatcher module that occured in the last few days. Yet, I have another<br>&gt; question. For design issues, I wish to balance the incoming SIP messages<br>&gt; according to the method they hold : for instance, I want to treat the
<br>&gt; REGISTER, SUBSCRBE and NOTIFY messages on some machines, and the INVITE,<br>&gt; BYE, CANCEL on another set of machines. I know this may seem strange first,<br>&gt; but I wonder if any mecanism allow to do that.<br>
&gt;<br>&gt; Thank you in advance for your answers.<br>&gt;<br>&gt; Antoine Fressancourt<br>&gt;<br><br>-a<br>___________________________________________________________________________<br>anders brownworth<br><a href="http://www.anders.com/">
http://www.anders.com/</a><br></blockquote></div><br>