Jump to content
Vodia PBX forum
chaddow

webcdr - incomplete record

Recommended Posts

Would like to hear from anyone on this list that is able to send a complete webcdr json record to a remote server and receive the entire record.

 

I was able to capture a few complete records using tcpdump on the remote server, but more often than not, I am only getting partial records, As a test, I also ran tcpdump on the Vodia server and the remote server to compare output. The record being sent from the Vodia server was also incomplete, so the remote server showed the same info.

 

I'm wondering if I have my tcpdump filter set up incorrectly (I am using -s0 for full length records) or if the Vodia server is cutting off the record for some reason. My tcpdump filter is working fine with plain json posts, just not webcdr json posts.

 

I'm having no problems with the plain json records sending and receiving, so this webcdr json is confusing me.

 

Any ideas?

 

Thanks,

Craig

Share this post


Link to post
Share on other sites

Sorry, didn't see your response till now. Trying tshark, I'm getting the Quality metrics truncated in the json format. tcpdump is giving me the full file, so I must be missing something in the command string.

 

Member Key: "Quality"
String value [truncated]: VQSessionReport: CallTerm
Can you provide the tshark command you are using to get the entire file and I'll run some tests on the vodia sending side and the capture server side. Once I can get the json post completely using tshark, then I can test with the webcdr method.
Thanks.

Share this post


Link to post
Share on other sites

I would use tshark -w data.pcap without any filters, then load the PCAP with Wireshark where you can do the filtering much easier. Or just capture the data directly from Wireshark.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...