By Date: <-- -->
By Thread: <-- -->

PlaceCall - Unhandled exception at 0x0033471c (msvcr71d.dll) in PlaceCall.exe:



Hi,
 
I was able to compile placecall.exe and I copied sipXtapid.dll to the same directory, but every time I try to run it get an exception error.  I don't see any INVITE going out on Ethereal and it gets stuck at sipxCallCreate according to debugging done with printf in the placecall function
 
I am trying to call this program with the minimum number of parameters for a peer to peer call with no SIP Proxy.  No authentication, registration or STUN involved.  Just send INVITE, other end answers and send a file through the system.  Then, at the other I tweaked the loopback function to store the RTP packets into a file, for later voice quality calculation using PESQ (ITU P.862).  Similar idea posted by Marcos Aguilar to this list in the past.
 
Here are some captures:
 
C:\sipfoundry\sipXcallLib\examples\PlaceCall\Debug>
  placecall -d 60 sip:zorro (at) 10.94.178.119:5060

Input Devices: 1
        #0: Yamaha DS1x Native Audio
Output Devices: 1
        #0: Yamaha DS1x Native Audio
<-> Attempt 1 of 1
<-> Placing call to "sip:zorro (at) 10.94.178.119:5060" as ""PlaceCall Demo" <sip:p
lacecalldemo (at) localhost>"
<-> Username: (null), passwd: (null), realm: (null) (all required for auth)
EVENT_CATEGORY_LINESTATE::PROVISIONED::PROVISIONED_NORMAL
 
  ERROR OCCURS HERE
      Unhandled exception at 0x0033471c (msvcr71d.dll) in PlaceCall.exe:
      OxC0000005: Access violation reading location 0x000413b7
 
Debugger:
msvcr71d.dll!_output(_iobuf * stream=0x0012dfc0, const char * format=0x101e2dca, char * argptr=0x0012e008)  Line 707 + 0x1f C
 
Last Line in PlaceCall log
"2006-05-13T19:14:15.032000Z":52:SIPXTAPI:INFO:tecra-laptop::00000000:sipXtapi:"sipxCallCreate hInst=003BC700 hLine=1 phCall=004070AC"
 

Complete PlaceCall log:
C:\sipfoundry\sipXcallLib\examples\PlaceCall\Debug>06-05-13T19:14:12.779000Z":2:SIPXTAPI:INF
O:tecra-laptop::00000000:sipXtapi:"sipxInitialize tcpPort=5060 udpPort=5060 tlsPort=-1
rpPortStart=9000 maxConnections=32 Identity=sipx bindTo=0.0.0.0 bSequentialPorts=0"
"2006-05-13T19:14:12.779000Z":3:SIPXTAPI:INFO:tecra-laptop::00000000:sipXtapi:"sipxConfigGet
Version=SIPxua SDK 2.9.0.0 Dbg (built 2005-03-23)"
"2006-05-13T19:14:12.779000Z":4:KERNEL:INFO:tecra-laptop::00000000:sipXtapi:"OsServerTask::O
sServerTask SipLineMgr-1 queue: 00A84000 queue limit: 100"
"2006-05-13T19:14:12.779000Z":5:KERNEL:INFO:tecra-laptop::00000000:sipXtapi:"OsServerTask::O
sServerTask SipRefreshMgr-2 queue: 00A84BB8 queue limit: 100"
"2006-05-13T19:14:12.779000Z":6:KERNEL:INFO:tecra-laptop::00000000:sipXtapi:"OsServerTask::O
sServerTask SipUserAgent-3 queue: 00A852F0 queue limit: 100"
"2006-05-13T19:14:12.779000Z":7:SIP:DEBUG:tecra-laptop::00000000:sipXtapi:"SipUserAgent::_
sipTcpPort = 5060, sipUdpPort = 5060, sipTlsPort = -1"
"2006-05-13T19:14:12.779000Z":8:SIP:DEBUG:tecra-laptop::00000000:sipXtapi:"SipTcpServer::_
port = 5060, taskName = 'SipTcpServer-%d', bUseNextAvailablePort = 0, szBindAddr =
'0.0.0.0'"
"2006-05-13T19:14:12.779000Z":9:KERNEL:INFO:tecra-laptop::00000000:sipXtapi:"OsServerTask::O
sServerTask SipTcpServerBrokerListener-5 queue: 00A86CC0 queue limit: 100"
"2006-05-13T19:14:12.789000Z":10:KERNEL:DEBUG:tecra-laptop::00000000:sipXtapi:"OsServerSocke
t::_ queue=64 port=5060 bindaddr=10.94.149.203"
"2006-05-13T19:14:12.799000Z":11:SIP:DEBUG:tecra-laptop::00000000:sipXtapi:"SipUdpServer::_
port = 5060, bUseNextAvailablePort = 0, szBoundIp = '0.0.0.0'"
"2006-05-13T19:14:12.799000Z":12:SIP:DEBUG:tecra-laptop::00000000:sipXtapi:"OsDatagramSocket
::_ attempt (null):0"
"2006-05-13T19:14:12.809000Z":13:KERNEL:INFO:tecra-laptop::00000000:sipXtapi:"OsServerTask::
OsServerTask OsStunAgentTask-8 queue: 00A8D978 queue limit: 100"
"2006-05-13T19:14:12.809000Z":14:KERNEL:INFO:tecra-laptop::00000000:sipXtapi:"OsServerTask::
OsServerTask OsTimer-10 queue: 00A87B98 queue limit: 10000"
"2006-05-13T19:14:12.819000Z":15:KERNEL:INFO:tecra-laptop::00000000:sipXtapi:"OsServerTask::
OsServerTask SipSubscribeServer-12 queue: 00A89110 queue limit: 100"
"2006-05-13T19:14:12.819000Z":16:KERNEL:INFO:tecra-laptop::00000000:sipXtapi:"OsServerTask::
OsServerTask SipRefreshManager-13 queue: 00A89D00 queue limit: 100"
"2006-05-13T19:14:12.819000Z":17:KERNEL:INFO:tecra-laptop::00000000:sipXtapi:"OsServerTask::
OsServerTask SipSubscribeClient-14 queue: 00A8A3F0 queue limit: 100"
"2006-05-13T19:14:12.829000Z":18:KERNEL:INFO:tecra-laptop::00000000:sipXtapi:"OsServerTask::
OsServerTask MpMedia queue: 00A8ABD0 queue limit: 100"
"2006-05-13T19:14:12.999000Z":19:KERNEL:DEBUG:tecra-laptop:NetInTask:00000F0C:sipXtapi:"OsSe
rverSocket::_ queue=1 port=-2 bindaddr=(null)"
"2006-05-13T19:14:12.999000Z":20:KERNEL:INFO:tecra-laptop::00000000:sipXtapi:"OsServerTask::
OsServerTask CallManager-17 queue: 003BD0F8 queue limit: 1000"
"2006-05-13T19:14:13.009000Z":21:SIP:DEBUG:tecra-laptop:NetInTaskHelper-18:00000B24:sipXtapi
:"OsConnectionSocket::_ attempt (null):1835 BLOCKING"
"2006-05-13T19:14:13.019000Z":22:SIP:DEBUG:tecra-laptop:NetInTaskHelper-18:00000B24:sipXtapi
:"OsConnectionSocket::_: connecting to host at: 127.0.0.1:1835\n"
"2006-05-13T19:14:13.019000Z":23:MP:INFO:tecra-laptop:NetInTaskHelper-18:00000B24:sipXtapi:"
NetInTaskHelper::run()... returning 0, after 1 tries\n"
"2006-05-13T19:14:13.019000Z":24:SIPXTAPI:INFO:tecra-laptop::00000000:sipXtapi:"sipxConfigSe
tAudioCodecPreferences hInst=003BC700 bandWidth=2"
"2006-05-13T19:14:13.019000Z":25:SIPXTAPI:DEBUG:tecra-laptop::00000000:sipXtapi:"sipxConfigS
etAudioCodecPreferences number of Codec = 3 for hInst=003BC700"
"2006-05-13T19:14:13.019000Z":26:SIPXTAPI:DEBUG:tecra-laptop::00000000:sipXtapi:"sipxConfigS
etAudioCodecPreferences:  PCMU PCMA audio/telephone-event"
"2006-05-13T19:14:13.019000Z":27:MP:DEBUG:tecra-laptop::00000000:sipXtapi:"sipXmediaFactoryI
mpl::buildCodecFactory: sReferences =  PCMU PCMA audio/telephone-event with NumReject 0"
"2006-05-13T19:14:13.019000Z":28:MP:DEBUG:tecra-laptop::00000000:sipXtapi:"sipXmediaFactoryI
mpl::buildCodecFactory: supported codecs =  PCMU PCMA audio/telephone-event with NumReject
0"
"2006-05-13T19:14:13.019000Z":29:SIPXTAPI:INFO:tecra-laptop::00000000:sipXtapi:"sipxConfigSe
tVideoCodecPreferences hInst=003BC700 bandWidth=3"
"2006-05-13T19:14:13.019000Z":30:MP:DEBUG:tecra-laptop::00000000:sipXtapi:"sipXmediaFactoryI
mpl::buildCodecFactory: sReferences =  PCMU PCMA audio/telephone-event with NumReject 0"
"2006-05-13T19:14:13.019000Z":31:MP:DEBUG:tecra-laptop::00000000:sipXtapi:"sipXmediaFactoryI
mpl::buildCodecFactory: supported codecs =  PCMU PCMA audio/telephone-event with NumReject
0"
"2006-05-13T19:14:13.019000Z":32:SIPXTAPI:DEBUG:tecra-laptop::00000000:sipXtapi:"sipxConfigS
etVideoCodecPreferences: "
"2006-05-13T19:14:13.019000Z":33:SIPXTAPI:ERR:tecra-laptop::00000000:sipXtapi:"sipxConfigSet
VideoCodecPreferences: Setting 3 failed, falling back to preference 0"
"2006-05-13T19:14:13.019000Z":34:SIPXTAPI:INFO:tecra-laptop::00000000:sipXtapi:"sipxConfigSe
tVideoCodecPreferences hInst=003BC700 bandWidth=0"
"2006-05-13T19:14:13.019000Z":35:MP:DEBUG:tecra-laptop::00000000:sipXtapi:"sipXmediaFactoryI
mpl::buildCodecFactory: sReferences =  PCMU PCMA audio/telephone-event with NumReject 0"
"2006-05-13T19:14:13.030000Z":36:MP:DEBUG:tecra-laptop::00000000:sipXtapi:"sipXmediaFactoryI
mpl::buildCodecFactory: supported codecs =  PCMU PCMA audio/telephone-event with NumReject
0"
"2006-05-13T19:14:13.030000Z":37:SIPXTAPI:DEBUG:tecra-laptop::00000000:sipXtapi:"sipxConfigS
etVideoCodecPreferences: "
"2006-05-13T19:14:13.030000Z":38:SIPXTAPI:ERR:tecra-laptop::00000000:sipXtapi:"sipxConfigSet
VideoCodecPreferences: Setting 0 failed, falling back to preference 0"
"2006-05-13T19:14:13.530000Z":41:KERNEL:INFO:tecra-laptop::00000000:sipXtapi:"OsServerTask::
OsServerTask SipXMessageObserver19 queue: 00B20BE8 queue limit: 2000"
"2006-05-13T19:14:13.530000Z":42:SIPXTAPI:INFO:tecra-laptop::00000000:sipXtapi:"sipxConfigEn
ableRport hInst=003BC700 bEnable=0"
"2006-05-13T19:14:13.530000Z":43:SIPXTAPI:INFO:tecra-laptop::00000000:sipXtapi:"sipxAudioGet
NumInputDevices hInst=003BC700"
"2006-05-13T19:14:13.530000Z":44:SIPXTAPI:INFO:tecra-laptop::00000000:sipXtapi:"sipxAudioGet
InputDevice hInst=003BC700 index=0"
"2006-05-13T19:14:13.530000Z":45:SIPXTAPI:INFO:tecra-laptop::00000000:sipXtapi:"sipxAudioGet
NumOutputDevices hInst=003BC700"
"2006-05-13T19:14:13.530000Z":46:SIPXTAPI:INFO:tecra-laptop::00000000:sipXtapi:"sipxAudioGet
OutputDevice hInst=003BC700 index=0"
"2006-05-13T19:14:13.530000Z":47:SIPXTAPI:INFO:tecra-laptop::00000000:sipXtapi:"sipxEventLis
tenerAdd hInst=003BC700 pCallbackProc=00401A60 pUserData=00000000"
"2006-05-13T19:14:15.032000Z":48:SIPXTAPI:INFO:tecra-laptop::00000000:sipXtapi:"sipxLineAdd
hInst=003BC700 lineUrl=\"PlaceCall Demo\" <sip:placecalldemo (at) localhost>, phLine=004070A8
contactId=0"
"2006-05-13T19:14:15.032000Z":49:LINE_MGR:INFO:tecra-laptop:SipLineMgr-1:FFFFFFFF:sipXtapi:"
added line: \"PlaceCall Demo\"<sip:placecalldemo (at) localhost>"
"2006-05-13T19:14:15.032000Z":50:LINE_MGR:INFO:tecra-laptop:SipLineMgr-1:FFFFFFFF:sipXtapi:"
disabled line: \"PlaceCall Demo\"<sip:placecalldemo (at) localhost>"
"2006-05-13T19:14:15.032000Z":51:SIPXTAPI:INFO:tecra-laptop::00000000:sipXtapi:"sipxFireLine
Event pSrc=00A84AD0 szLineIdentifier=\"PlaceCall Demo\" <sip:placecalldemo (at) localhost>
major=26000"


Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2¢/min with Yahoo! Messenger with Voice.


How low will we go? Check out Yahoo! Messenger?s low PC-to-Phone call rates.
_______________________________________________
sipx-dev mailing list
sipx-dev (at) list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev