[Users] Dispatcher module: another question.

Antoine Fressancourt antoine.fressancourt at gmail.com
Wed Feb 8 14:44:30 CET 2006


Thank you for that answer, I will give it a try and tell you about whether
it fits or not

Thank you very much !

2006/2/8, Anders Brownworth <anders-c at evantide.com>:
>
> 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/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060208/2deba2a6/attachment.htm>


More information about the sr-users mailing list