When a SIP request comes to 5060, an Application Router decides which
SIP Application would need to be invoked to process the request. The
Application Router works based on some rules. In the case of SailFin its
a basic AR which operates on a alphabetical order. Once an application
is invoked to process a request, the sip.xml has rules which determine
which servlet needs to be invoked for this particular request. These
rules are based on request method, headers.
Lets say the sip.xml specifies that all request with the REGISTER method
need to go the RegistarServlet, the any request that comes to this app,
with the method as REGISTER would be processed by the RegistrarServlet.
Hope this helps.
BTW, you could also send a mail to users_at_sailfin.dev.java.net
Thanks
Prasad
glassfish_at_javadesktop.org wrote:
> Hello,
>
> I have a some questions regarding SailFin addressing SIP servlets.
>
> Since SailFin is listening for SIP messages on port 5060, does that mean that SailFin forwards all SIP messages to all deployed SIP servlets?
>
> Is there any way to route incoming SIP messages to exactly one SIP servlet (like routing HTTP messages to HTTP servlets with URL)?
>
> If not, is there any reason why? Is it unnecessary?
>
> Thank you in advance.
> [Message sent by forum member 'brixy' (brixy)]
>
> http://forums.java.net/jive/thread.jspa?messageID=230580
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>