5953lc Posted August 25, 2016 Report Share Posted August 25, 2016 On the "Recorded Calls" page ie /dom_recordings.htm, the page number should be included in the URL If you select any page on this screen page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 4243 44 45 46 47 48 49 .... 1247 1248 1249 1250 1251 1252 1253 1254 12551256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 12791280 1281 1282 1283 1284 1285 The url listed at the top of the browser will ALWAYS SAY "dom_recordings.htm", whether I'm on page 1, 50, or 1250. I suggest adding the page # to the URL so: when I'm on page 50 the URL at the top of the browser will be: /dom_recordings.htm_page_50.htm or when I'm on page 951, the URL at the top of the browser will say: /dom_recordings.htm_page_951.htm Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted August 25, 2016 Report Share Posted August 25, 2016 That would make it impossible to cache the site. an alternative would be the form ...htm?page=123 but like with most modern web pages REST is the way to go, where all that stuff happens behind the curtains. Quote Link to comment Share on other sites More sharing options...
5953lc Posted August 26, 2016 Author Report Share Posted August 26, 2016 Ok. How would your alternative work ? http://websiteurl.com/htm?page=123 How would it work with REST ? I'm trying to pull up a particular date's recordings ? Sometimes I know when the call cam in so I'm looking for a date and I have a start time as well.... Sometimes I even have a caller ID... not always though. Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted August 29, 2016 Report Share Posted August 29, 2016 What you can generally do (not only with the PBX web sites) is to switch your browser in the debugger mode and watch what traffic is going back and forth with the PBX. Then you can easily spot the REST requests and their answers, usually nicely parsed for you to see the content right there. That will help to understand what is happening "under the hood" with the PBX, and it will also make easier to understand how we can make changes that will serve your needs. You can also script REST requests, e.g. with curl. Quote Link to comment Share on other sites More sharing options...
5953lc Posted August 30, 2016 Author Report Share Posted August 30, 2016 So, in Chrome, go in to debugger mode and look for "REST" ? 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.