[SIPForum-discussion] "Failed to bind to socket 1868"

高建 adams-gao at hotmail.com
Mon Oct 15 06:54:37 UTC 2007


Hi,All:
   I am a fresh man of using SipXtapi,there are some problems when i build my project with c#.
My Server using Asterisk,and X-lite works on it well,but the sipXezphone i complied does not work,
it regists failed.
   i used sipXezphone default settings,it always returns "Failed to bind to socket 1868".
   and the log writes as fellows,any one can give me a hand?
 
with many thanks!
 
"2007-10-15T06:26:10.949000Z":3:SIPXTAPI:DEBUG:e-5d2790a721fd4::00000000:sipXtapi:"ENTER FUNC (tid=3744) sipxInitialize\n""2007-10-15T06:26:10.949000Z":4:SIPXTAPI:DEBUG:e-5d2790a721fd4::00000000:sipXtapi:"ENTER FUNC (tid=3744) sipxConfigGetVersion\n""2007-10-15T06:26:10.949000Z":5:SIPXTAPI:DEBUG:e-5d2790a721fd4::00000000:sipXtapi:"EXIT  FUNC (tid=3744) sipxConfigGetVersion\n""2007-10-15T06:26:10.949000Z":6:SIPXTAPI:INFO:e-5d2790a721fd4::00000000:sipXtapi:"sipXtapi SDK 2.9.1.0 Dbg (built 0000-00-00)""2007-10-15T06:26:10.965000Z":7:SIPXTAPI:INFO:e-5d2790a721fd4::00000000:sipXtapi:"sipxInitialize tcpPort=36004 udpPort=36004 tlsPort=0 rtpPortStart=9000 maxConnections=32 identity=sipx bindTo=0.0.0.0 sequentialPorts=0 certNickname=800, DBLocation=""2007-10-15T06:26:10.965000Z":8:SIPXTAPI:DEBUG:e-5d2790a721fd4::00000000:sipXtapi:"ENTER FUNC (tid=3744) sipxConfigGetAllLocalNetworkIps\n""2007-10-15T06:26:10.965000Z":9:SIPXTAPI:INFO:e-5d2790a721fd4::00000000:sipXtapi:"sipxConfigGetAllLocalNetworkIps index=0 address=168.150.10.241 adapter=eth0""2007-10-15T06:26:10.965000Z":10:SIPXTAPI:DEBUG:e-5d2790a721fd4::00000000:sipXtapi:"EXIT  FUNC (tid=3744) sipxConfigGetAllLocalNetworkIps\n""2007-10-15T06:26:10.965000Z":11:SIPXTAPI:INFO:e-5d2790a721fd4::00000000:sipXtapi:"sipXtapi built without NSS support""2007-10-15T06:26:10.965000Z":12:SIP:DEBUG:e-5d2790a721fd4::00000000:sipXtapi:"SipUserAgent::_ sipTcpPort = 36004, sipUdpPort = 36004, sipTlsPort = 0""2007-10-15T06:26:10.965000Z":13:SIP:DEBUG:e-5d2790a721fd4::00000000:sipXtapi:"SipUdpServer::_ port = 36004, bUseNextAvailablePort = 0, szBoundIp = '0.0.0.0'""2007-10-15T06:26:10.980000Z":14:KERNEL:ERR:e-5d2790a721fd4::00000000:sipXtapi:"Failed to bind to socket 1868\n""2007-10-15T06:26:10.980000Z":15:SIP:DEBUG:e-5d2790a721fd4::00000000:sipXtapi:"SipTcpServer::_ port = 36004, taskName = 'SipTcpServer-%d', bUseNextAvailablePort = 0, szBindAddr = '0.0.0.0'""2007-10-15T06:26:10.980000Z":16:KERNEL:DEBUG:e-5d2790a721fd4::00000000:sipXtapi:"OsServerSocket::_ queue=64 port=36004 bindaddr=16
8.150.10.241""2007-10-15T06:26:10.980000Z":17:KERNEL:ERR:e-5d2790a721fd4::00000000:sipXtapi:"OsServerSocket:  bind to port 36004 failed with error: 10048 = 0x2740""2007-10-15T06:26:10.996000Z":18:KERNEL:DEBUG:e-5d2790a721fd4::00000000:sipXtapi:"OsTimerTask::getTimerTask OsTimerTask started""2007-10-15T06:26:10.996000Z":19:SIPXTAPI:INFO:e-5d2790a721fd4::00000000:sipXtapi:"Default bind address 168.150.10.241, udpPort=36004, tcpPort=36004, tlsPort=-1""2007-10-15T06:26:10.996000Z":20:SIPXTAPI:INFO:e-5d2790a721fd4::00000000:sipXtapi:"Default Identity: sip:sipx at 168.150.10.241:36004\n""2007-10-15T06:26:11.168000Z":21:KERNEL:DEBUG:e-5d2790a721fd4:NetInTask:000006B0:sipXtapi:"OsServerSocket::_ queue=1 port=-2 bindaddr=127.0.0.1""2007-10-15T06:26:11.168000Z":22:SIP:DEBUG:e-5d2790a721fd4:NetInTaskHelper-15:00000DC0:sipXtapi:"OsConnectionSocket::_ attempt 127.0.0.1:2438 BLOCKING""2007-10-15T06:26:11.168000Z":23:MP:INFO:e-5d2790a721fd4:NetInTaskHelper-15:FFFFFFFF:sipXtapi:"NetInTaskHelper::run()... returning 0, after 1 tries\n""2007-10-15T06:26:11.277000Z":26:CP:DEBUG:e-5d2790a721fd4::00000000:sipXtapi:"ENTER FUNC (tid=3744) CallManager\n""2007-10-15T06:26:11.277000Z":27:CP:DEBUG:e-5d2790a721fd4::00000000:sipXtapi:"EXIT  FUNC (tid=3744) CallManager\n""2007-10-15T06:26:11.277000Z":28:SIPXTAPI:DEBUG:e-5d2790a721fd4::00000000:sipXtapi:"ENTER FUNC (tid=3744) sipxConfigSetAudioCodecPreferences\n""2007-10-15T06:26:11.277000Z":29:SIPXTAPI:INFO:e-5d2790a721fd4::00000000:sipXtapi:"sipxConfigSetAudioCodecPreferences hInst=04A45830 bandWidth=2""2007-10-15T06:26:11.277000Z":30:SIPXTAPI:DEBUG:e-5d2790a721fd4::00000000:sipXtapi:"sipxConfigSetAudioCodecPreferences number of Codec = 8 for hInst=04A45830""2007-10-15T06:26:11.277000Z":31:SIPXTAPI:DEBUG:e-5d2790a721fd4::00000000:sipXtapi:"sipxConfigSetAudioCodecPreferences:  PCMU PCMA audio/telephone-event SPEEX SPEEX_5 SPEEX_15 SPEEX_24 GSM""2007-10-15T06:26:11.277000Z":32:MP:DEBUG:e-5d2790a721fd4::00000000:sipXtapi:"sipXmediaFactoryImpl::buildCodecFactory: sReferences =  PCMU PCMA audio/tele
phone-event SPEEX SPEEX_5 SPEEX_15 SPEEX_24 GSM with NumReject 0""2007-10-15T06:26:11.277000Z":33:MP:DEBUG:e-5d2790a721fd4::00000000:sipXtapi:"sipXmediaFactoryImpl::buildCodecFactory: supported codecs =  PCMU PCMA audio/telephone-event SPEEX SPEEX_5 SPEEX_15 SPEEX_24 GSM with NumReject 0""2007-10-15T06:26:11.277000Z":34:SIPXTAPI:DEBUG:e-5d2790a721fd4::00000000:sipXtapi:"EXIT  FUNC (tid=3744) sipxConfigSetAudioCodecPreferences\n""2007-10-15T06:26:11.277000Z":35:SIPXTAPI:INFO:e-5d2790a721fd4::00000000:sipXtapi:"__sipxEventListenerAdd hInst=04A45830 pCallbackProc=047E1810 pUserData=04ACE618""2007-10-15T06:26:11.777000Z":36:SIPXTAPI:DEBUG:e-5d2790a721fd4::00000000:sipXtapi:"EXIT  FUNC (tid=3744) sipxInitialize\n"
_________________________________________________________________
Windows Live Spaces 中最年轻的成员!
http://miaomiaogarden2007.spaces.live.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20071015/85775d98/attachment-0002.html>


More information about the discussion mailing list