Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Nortel BCM 50 CDRClient.dll

Status
Not open for further replies.

TexasTechWizard

Programmer
Apr 12, 2016
3
US
Greetings all ...

The Nortel Developers site is gone. The ability to purchase or acquire any Nortel Developers toolkits, SDKs, documentation or other such material is, by all appearances, impossible. I know there are, out there among you, those who have the knowledge I seek. I **desperately** need to be able to access the CDRClient.dll interface to the live/real-time SMDR data stream from the BCM50. I would appreciate any documentation, *working code*, or copies of the toolkits that, even though meant to be purchased, CAN'T BE. Please help. I have spent, literally, days trying to track this information down. I have disassembled the CDRLiveClient.exe and I'm missing something because I just can't get it to work. I appear to be calling VbCDROpenConnection correctly, but I'm not sure. I set a breakpoint on my CDRRecord() callback, the address of which I passed to VbCDROpenCOnnection, and the debugger stops on that breakpoint, so I can assume I'm successfully connecting to the switch, but I can never seem to get the actual call data. CDRLiveClient makes it look so simple. It's a 28K app. And I'm not stuck on VB.NET -- there is also CDROpenConnection. Maybe it would be better to use it in C++/C# (ugh). Maybe I should use CDROpenCOnnection instead, even though I'm in VB. I don't know ... please help.

Thanks,
David Cys
 
Hello David

I can feel your frustration with the lack of support. I currently use the Avaya CDR live client to view my calls. I'm not sure if this is the same thing, but it works fine. My BCM 50 is currently at 6.0 and I had downloaded the tool from the browser to my computer.


Firebird Scrambler
Nortel Meridian 1 / Succession and BCM / Norstar Programmer in the UK
Advance knowledge on BCM support
 
Thank you, and yes, the Avaya CDR Live Client is the same thing ... what I need is the source code or the API documentation, both of which were available through Nortel Devconnect when it still existed.

This is from vb.net ...

Declare Function VBCdrOpenConnection Lib "CDRClient.dll" (ByVal IPAddr As String, ByVal UserID, _
ByVal Password As String, ByVal CDRRecord As CDRRecordHandler, ByVal CDRStop As CDRStopHandler, _
ByVal applicationData As Integer) As Short
Public Delegate Sub CDRRecordHandler(ByVal bStrMsg As String, ByVal applicationData As Integer)
Declare Function CdrCloseConnection Lib "CDRClient.dll" (ByVal Handle As Short) As Short

Const BCM_ADDRESS = "192.168.1.10"
Const BCM_USER = "nnadmin"
Const BCM_PASS = "PlsChgMe!"

Public Handle As Integer

Public Sub CDRRecord(ByVal bStrMsg As String, ByVal applicationData As Integer)
MessageBox.Show(applicationData)
End Sub

Public Sub CDRStop(ByVal Reason As Integer, ByVal applicationData As Integer)
MessageBox.Show("Stop reason " & CStr(Reason))
End Sub

Handle = VBCdrOpenConnection(BCM_ADDRESS, BCM_USER, BCM_PASS, New CDRRecordHandler(AddressOf CDRRecord), _
New CDRStopHandler(AddressOf CDRStop), 0)

If Handle <> -1 Then
MessageBox.Show("Connected to " & BCM_ADDRESS & vbCrLf)
Else
MessageBox.Show("Failed to connect to " & BCM_ADDRESS & vbCrLf)
End If

It connects, but it never shows any Call Detail. The Nortel/Avaya CDR Live Client displays the data in a scrolling text box. What am
I missing? The Nortel/Avaya app is written in VB6. The source code for the Nortel/Avaya app was available on the Nortel Devconnect site. That's what I'm looking for, that or the API docs, or the SDK, or the LAN CTE SDK/API Docs.

Thanks!
 
What operating system are you using?



________________________________________
We take the time to try to answer your questions for free, please return the favor and take the time to answer back and include any resolution you found elsewhere, thanks.

=----(((((((((()----=

small-logo-sig.png

Toronto Canada
 
Windows 7 Pro 64-bit, Visual Studio 2015

Here is the data stream I am looking for. The lines with the "*" occur in real time. Notice the characters at the end of the line ... and the time stamp at the beginning. U G - Call Ringing / U A - Call answered (at ext. 23) / U R - Call released - This data comes from the BCM 50 in Real Time through the CDRClient.dll interface.

*050800 082644 0001 9034579040 PAY PHONE U G
*050800 082649 0001 23 9034579040 PAY PHONE U A
*050800 082813 0001 23 9034579040 PAY PHONE U R
-------- 05/08/00 08:26:49 LINE = 0001 STN = 23
CALLING NUMBER 9034579040
NAME PAY PHONE
UNKNOWN
00:00:00 INCOMING CALL RINGING 0:08
00:01:24 CALL RELEASED
*050800 082902 0001 2144187649 COOK MICHAEL D U G
*050800 082908 0001 23 2144187649 COOK MICHAEL D U A
*050800 083023 0001 23 2144187649 COOK MICHAEL D U R
-------- 05/08/00 08:29:08 LINE = 0001 STN = 23
CALLING NUMBER 2144187649
NAME COOK MICHAEL D
UNKNOWN
00:00:00 INCOMING CALL RINGING 0:09
00:01:15 CALL RELEASED
*050800 083145 0001 9034509814 GRANT T U G
*050800 083150 0001 21 9034509814 GRANT T U A
*050800 083203 0001 21 9034509814 GRANT T U R
-------- 05/08/00 08:31:50 LINE = 0001 STN = 21
CALLING NUMBER 9034509814
NAME GRANT T
UNKNOWN
00:00:00 INCOMING CALL RINGING 0:08
00:00:13 CALL RELEASED
*050800 083354 0001 9034551213 MORGAN RUTH M U G
*050800 083401 0001 21 9034551213 MORGAN RUTH M U A
*050800 083410 0001 21 9034551213 MORGAN RUTH M U R
-------- 05/08/00 08:34:01 LINE = 0001 STN = 21
CALLING NUMBER 9034551213
NAME MORGAN RUTH M
UNKNOWN
00:00:00 INCOMING CALL RINGING 0:10
00:00:09 CALL RELEASED
*050800 083538 0001 2144187649 COOK MICHAEL D U G
*050800 083546 0001 23 2144187649 COOK MICHAEL D U A
*050800 083738 0001 23 2144187649 COOK MICHAEL D U R
-------- 05/08/00 08:35:46 LINE = 0001 STN = 23
CALLING NUMBER 2144187649
NAME COOK MICHAEL D
UNKNOWN
00:00:00 INCOMING CALL RINGING 0:11
00:01:52 CALL RELEASED
*050800 083826 0001 9727220913 SCHWANS ICE CRE U G
*050800 083830 0001 21 9727220913 SCHWANS ICE CRE U A
*050800 083856 0001 21 9727220913 SCHWANS ICE CRE U R
-------- 05/08/00 08:38:30 LINE = 0001 STN = 21
CALLING NUMBER 9727220913
NAME SCHWANS ICE CRE
UNKNOWN
00:00:00 INCOMING CALL RINGING 0:07
00:00:26 CALL RELEASED
 
So for my own confusion with your postings...
Why are you so much interested in source code and dissection? are you trying to do something it was not intended to do from the start?
Is your CDR Client working but not as you want?
Are you saying it works but no Ux info is the only problem?

What settings did you do on the BCM under Call Detailed Recordings?
Format - Norstar
Type - All

Did you try other settings?





________________________________________
We take the time to try to answer your questions for free, please return the favor and take the time to answer back and include any resolution you found elsewhere, thanks.

=----(((((((((()----=

small-logo-sig.png

Toronto Canada
 
Ok I understand now that its the software you have (what is that?) that may not be pulling all the info.

As long as CDR Client Live shows the info then BCM is spitting out correctly.

My settings:
Norstar
All
Line/Station

Bottom left boxes first three and last one are checked on mine.

If you need to Pull info then dont forget the Data Transfer tab/settings too.





________________________________________
We take the time to try to answer your questions for free, please return the favor and take the time to answer back and include any resolution you found elsewhere, thanks.

=----(((((((((()----=

small-logo-sig.png

Toronto Canada
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top