web statisticsweb stats

Business Phone Systems

Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Jun 2008
Posts: 10
Member
Member
Offline
Joined: Jun 2008
Posts: 10
CS5000 - V09.30

Hello learned people. I've been browsing this forum and it's so refreshing to see people helping each other with Inter-tel stuff. When I first started working on Inter-tel I couldn't find any kind of reference or help of any kind. Could of done with finding you guys back then! smile

This question is related to SMDR programming and moving from serial to tcp/ip. I've noticed there is already a thread out there about this but my question isn't related to setting it up, that has already been done. It's more to do with making sure the SMDR tcp/ip connection is still up and communicating.

Obviously the core for most people is the call information that flows in and out of the PBX. We have been forced to upgrade from an AXXESS system (5.0*) to the latest version of the CS5000. The main difference I've come across for SMDR logging is obviously moving from serial to tcp/ip. This brings a few headaches because at least with the serial you're pretty much guaranteed that if the serial logging application is running, the data is being captured. If there are any network issues though, you may not be aware that the connection is down. One example is some engineers actually turned off the PBX while my SMDR monitor was connecting to it and it didn't even know, not even a few hours after it had been disconnected. I know you might be thinking it's shoddy code but it recognised a reboot shutting down but not a reboot... but I digress smile

From the developer docs I found this paragraph;

"Once you have established the connection, it is recommended that the application periodically send four, binary-zero bytes to the CPC or CP Server socket. If the application does not receive an acknowledgement from the CPC or CP Server, the connection is down. If these bytes are not sent, the application may not be aware that there is a connection problem."

Does anyone have any experience with this? I have tried all manners of sending the 4 null bytes across the SMDR stream but there is no kind of acknowledgement.

I've:

Sent 4 binary-zero bytes
Sent 4 binary-zero bytes with the length of the string packed in the 4 bytes preceding it (a la OAI)
Sent 4 binary-zero bytes with a carriage return (a la OAI)
Sent a _NO (even though it told me not to, I had to try)

Newlines... everything, but nothing seems to acknowledge my presence. I've even done a tcpdump and checked the network activity with wireshark to make sure it doesn't do a hidden null byte acknowledgement back and it doesn't seem to.

Does anyone know what kind of "acknowledgement" I should be expecting when sending these null bytes? Any help or direction would be wonderful smile


Acronyms go here...
Atcom VoIP Phones
VoIP Demo

Best VoIP Phones Canada


Visit Atcom to get started with your new business VoIP phone system ASAP
Turn up is quick, painless, and can often be done same day.
Let us show you how to do VoIP right, resulting in crystal clear call quality and easy-to-use features that make everyone happy!
Proudly serving Canada from coast to coast.

Joined: Jun 2007
Posts: 490
Member
Member
Offline
Joined: Jun 2007
Posts: 490
That is interesting, no TCP acks are seen?


ShoreTel, Inter-Tel, Mitel, NEC, Zeacom, Cisco, Digium, Adtran Certified
http://www.voipnetworkengineering.blogspot.com
Joined: Jun 2008
Posts: 10
Member
Member
Offline
Joined: Jun 2008
Posts: 10
Hi Chris, thank you for your quick response.

There is a ACK when I send the bytes (which obviously confirms that the message was received by the cs5000) but is that's what I should expect to receive as acknowledgement that everything is still working?

I don't think an ACK could be handled by the application, more the operating system. I was expecting something more like a data response that I could confirm :?


Acronyms go here...
Joined: Jun 2008
Posts: 10
Member
Member
Offline
Joined: Jun 2008
Posts: 10
Out of curiosity, do you know if the SMDR log is supposed to be a one way stream?


Acronyms go here...
Joined: Jun 2007
Posts: 490
Member
Member
Offline
Joined: Jun 2007
Posts: 490
that is what I am thinking Paul, the SMDR is a one way stream, meaning the system socket for SMDR will not accept any input per se. I am betting that a TCP ack is all that you are going to get.


ShoreTel, Inter-Tel, Mitel, NEC, Zeacom, Cisco, Digium, Adtran Certified
http://www.voipnetworkengineering.blogspot.com
Joined: Jun 2008
Posts: 10
Member
Member
Offline
Joined: Jun 2008
Posts: 10
Ok, thanks for your help.

I'm thinking of hacky ways to get around this.

One could be to initiate a dummy call with a specific incoming DDI which I can use as a trigger to let me know that everything is still running. I could run that every minute or so to confirm the feed is still running.

Two could be, well... that's it smile


Acronyms go here...

Moderated by  Stix1 

Link Copied to Clipboard
Newest Topics
NEC sv9300 web interface
by SamF - 06/19/25 11:56 PM
KX-NS700 Firmware Jump
by Zach8789 - 06/16/25 09:39 PM
Transferring Entire Contents
by EV607797 - 06/16/25 03:53 PM
Reviving an Ernest D3 payphone, Telelink, LCD
by mcgyver - 06/14/25 12:43 PM
Forum Statistics
Forums84
Topics94,553
Posts640,115
Members49,861
Most Online5,661
May 23rd, 2018
Newest Members
Zach8789, tectrolink, mcgyver, gary moore, telli
49,861 Registered Users
Top Posters(30 Days)
Toner 7
dexman 2
Who's Online Now
0 members (), 40 guests, and 79 robots.
Key: Admin, Global Mod, Mod
Contact Us | Sponsored by Atcom: One of the best VoIP Phone Canada Suppliers for your business telephone system!| Terms of Service

Sundance Communications is not affiliated with any of the above manufacturers. Sundance Phone System Forums - VOIP & Cloud Phone Help
©Copyright Sundance Communications 1998 - 2025
Powered by UBB.threads™ PHP Forum Software 8.0.0