shimaore / ccnq3

ISP VoIP (SIP) softswitch platform
https://shimaore.github.io/ccnq4/
GNU General Public License v3.0
13 stars 8 forks source link

Ensure proper configuration files are written #42

Closed shimaore closed 11 years ago

shimaore commented 11 years ago

e.g. in applications/freeswitch/agents/freeswitch.coffee , save_uri_as must either (a) check on the return value and re-request the file if an error happened, or (b) save the data first, check for any error (esp. statusCode) and only write if CouchDB was OK.

If CouchDB has a problem (e.g. view timeout) then we end up outputting JSON (error message) instead of XML.