[sip-comm-dev] IP and packet manipulation


#1

Hi everybody,

            I'm working on a project that needs to manipulate both the
destination of the voip packets in the actual sending computer. In this
case, the packets are sent to the NIC card on your computer and then sent
over the Ethernet>Internet and finally the computer receiving the call. I
need to manipulate to which device the packet will go to, lets say instead
of the NIC card I would like the packets to go to a CDMA card that is
attached to my computer. What part of the code controls to which device
sip-communicator sends the packets?

            Sorry if I'm not being more specific, I'm just starting to learn
Java, and I need somewhere to start for this project. Any help is greatly
appreciated.

Regards,

Jonathan Chia


#2

            I�m working on a project that needs to manipulate both the destination of the voip packets in the actual sending computer. In this case, the packets are sent to the NIC card on your computer and then sent over the Ethernet>Internet and finally the computer receiving the call. I need to manipulate to which device the packet will go to, lets say instead of the NIC card I would like the packets to go to a CDMA card that is attached to my computer. What part of the code controls to which device sip-communicator sends the packets?

For JMF and RTP packets it depends on the source address you chose
For SIP it depends on where you install your listening point.

Both come down to the source address actually. Packets are then routed through the "right" interface according to the routing table of your operating system.

Hope this helps
Emil

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net