ndemou Posted July 8, 2014 Report Share Posted July 8, 2014 In my test environment I'm collecting json CDRs with a ridiculously simple python script but I've a question regarding what will happen during burst of calls in a production system. The question is will the PBX POST CDRs to the web service in parallel or am I safe to expect that all CDR will be POSTed serially (every next POST just after the previous has completed)? ________________ P.S. Here is the code for anyone preferring python (apart from these lines you only need to download https://github.com/defnull/bottle/raw/master/bottle.py to make it work): from bottle import route, run, request @route('/postcdr', method='POST') def recieve_cdr(): cdr = request.json print cdr # or do what ever you want to do with the CDR return "" run(host='localhost', port=8080, debug=True) Quote Link to comment Share on other sites More sharing options...
ndemou Posted July 11, 2014 Author Report Share Posted July 11, 2014 Anyone? Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted July 14, 2014 Report Share Posted July 14, 2014 In 5.2.3 they are serial for each server. Previously it was serial for the whole server, no matter what the destination was. The PBX tries to keep the connection connected, so that the TCP connection overhead is reduced, which is important especially for TLS. Quote Link to comment Share on other sites More sharing options...
ndemou Posted July 16, 2014 Author Report Share Posted July 16, 2014 Thanks, it makes sense and also makes things easier from our side. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.