Hi Rajeswari,
I'm pretty sure it could be done.
Looks like you'll need to write SIP <-> TCP parser and plug it as
filter to the Grizzly.
Here is good tutorial about Grizzly, and implementing custom protocols
on top of it [1].
Hope this will help.
WBR,
Alexey.
[1]
https://grizzly.dev.java.net/tutorials/tutorial-framework-filter-sample/index.html
> Hi All,
>
> I need to built a gateway/proxy for communication between a TCP
> stack and a sip server. The flow would be:
> SIP server<-> Proxy(using Grizzly framework)<-> TCP stack.
> The functionalities of the proxy would be:
> 1. Understand TCP messages and convert them to SIP messages.
> 2. Send the SIP messages to a sip server.
> 3. Understand SIP messages and convert them to TCP messages
> and send them to the TCP stack.
>
> In between the TCP stack and the sip server I need some kind of
> gateway to translate TCP messages to SIP and vice versa.
> I need to built that gateway/proxy kind.
>
> Please can anyone suggest whether this can be done using Grizzly
> framework.
>
> Thanks & Regards
> Rajeswari.R
>
> This e-mail and any files transmitted with it are for the sole use
> of the intended recipient(s) and may contain confidential and
> privileged information.
> If you are not the intended recipient, please contact the sender by
> reply e-mail and destroy all copies of the original message.
> Any unauthorised review, use, disclosure, dissemination, forwarding,
> printing or copying of this email or any action taken in reliance on
> this e-mail is strictly
> prohibited and may be unlawful.
>
>