[reSIProcate] Some questions about transport...

John Draper lists at webcrunchers.com
Sun Sep 4 17:34:08 CDT 2005


Hi,

In my code,  I call following...

  clientDum->addTransport(UDP, 5060);

This generates the following log file...

INFO | 1125872660 | SipPhone | RESIP:TRANSPORT | 
/Users/johndraper/Documents/SIP/Open_source/resiprocate-0.9.0-5019/resiprocate/UdpTransport.cxx:30 
| Creating UDP transport host= port=5060 ipv4=1
DEBUG | 1125872660 | SipPhone | RESIP:TRANSPORT | 
/Users/johndraper/Documents/SIP/Open_source/resiprocate-0.9.0-5019/resiprocate/InternalTransport.cxx:87 
| Creating fd=19 V4/UDP
DEBUG | 1125872660 | SipPhone | RESIP:TRANSPORT | 
/Users/johndraper/Documents/SIP/Open_source/resiprocate-0.9.0-5019/resiprocate/InternalTransport.cxx:95 
| Binding to 0.0.0.0

Notice it tries to bind to 0.0.0.0,  is that right?  If it isn't right, 
then how can I
make it right?   do I try and bind it to my LOCAL LAN IP,  or my external
outside IP?

I also notice that in BasicRegister.cxx,  it does this...

clientDum.addTransport(UDP, 15066);

Why does it pick a port like 15066?    Is this so it doesn't clash with 
port 5060?

But in a normal SIP Phone application,  my "addTransport" should still pick
5060 like what you see above,   right?   Or should I also try to use 
15066 just
like the test code does?

John





More information about the resiprocate-devel mailing list