Jump to content
Vodia PBX forum


  • Content count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About nateastle

  • Rank
  1. Did soap api disappear?

    Thanks, what I am trying to do is get active calls through an api instead of websockets as cookie authentication messes things up between the pbx website and my application's website. Do you know if there is a rest api for this instead of websockets? The vodia interface uses web sockets. I have looked into the 2.0 rest documentation but they only have a web socket example.
  2. Did soap api disappear?

    I am using 57.0 of the pbx and am trying to use the Soap API to get access to the database. However, I do not see the document {domain}/soap.xml. I am wondering if this functionality was removed and everything has to go through the 2.0 api or if we can still have access to the old soap api as found here: http://wiki.snomone.com/index.php?title=Access_to_the_Database Nate
  3. Sample working code for Web Socket

    I too am running into this issue. I have found that if I login to the portal then create a connection then it will work as I have a cookie setup. However, if I do not do this then I get the same issue as voltier. I am wondering if there is a query parameter we can pass in on the connection instead of relying on the cookie? The cookie does not work across different domains. However, I do have an example of the web sockets working you just need to login through the login interface and set a session in a cookie on the same domain as your pbx. ie: document.cookie = "session={apikeyfromlogin};path=/;domain={pbxdomain.com}"; After that your code should work. Not sure if you are still having problems but this should point you in the right direction if you still need help.
  4. Find calls by record location

    that is the api I am talking about. The problem is I do not have a way to go from a cdr that I am consuming to finding the recording through the api. The only thing the cdr's give is the RecordLocation and the only way to find the recording is through an id.
  5. Find calls by record location

    I am consuming cdrs from various pbx's around the world. I am trying to take the call recordings and transform them into mp3's, however, the cdrs only provide the location of the call and the api only takes in an id. Is there a way to look up the recording based on location of the call or by cdr id or is there a way to determine which call leg goes to which recording through the api? Like according to the documentation: /audio.wav?type=recording&id=110859 it would be nice to have something like: /audio.wav?type=recording&call_id=d33cfa1e@pbx or /audio.wav?type=recording&record_location=recordings/20160731/144453-o-8016280671-9022.wav