[SIPForum-discussion] plz help setting source port of a register request
maruf syfullah
maruf.syfullah at gmail.com
Tue Nov 27 09:49:10 UTC 2007
Hi!
I develop a simple SIP client.
I have understood the docs, examples, but I can't catch any responses.
When I made a trace, I saw that my messages have sent from source port eg.
1239, destination port is OK though.
--> User Datagram Protocol, Src Port: 1239 (1239), Dst Port: 5060 (5060)
Of course I want port 5060 as source AND destination port, so I call
scn = (SipConnectionNotifier)Connector.open("sip:5060");
But my messages have been sent from a random port, so the answers arrive to
this port.
My listener (which listens to port 5060) never catches anything!
How can I set the port, which I send on?
I found some dudes who also suffered from this:
http://forum.java.sun.com/thread.jspa?threadID=5117248&tstart=255
http://www.easylib.org/English/j2me/General/18712.html
Really no idea...
Does anyone can help?
thanks in advance!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20071127/18a3ed43/attachment-0002.html>
More information about the discussion
mailing list