KAZOO-1744: Fix bug when v1 api and v2 api would conflict in cb_phone_numbers
patch for build_query_spec
Changed some twiml/pivot log levels to info
3.02: dno't use chunked_reply/2 to send media contents
Merge pull request #171 from lazedo/patch-1

patch for build_query_spec
Merge pull request #172 from noahmehl/master

Changed some twiml/pivot log levels to info
3.02: recv fax fixes to increase chance of sending a notification

Increase timeout waiting for FreeSWITCH to respond to http_put command
Check for an attachment on the fax doc
Check the attachment for non-zero length
If either fail, wait a bit and try again, up to 3 times
devices in sip_auth are deleted on blocking_refresh

devices in sip_auth are deleted when blocking_refresh is called or when registrar app starts.

the problem is with remove_aggregate_devices, the clause "orelse" causes all the devices to be deleted.

also reverted the order to remove/add instead of add/remove
Merge pull request #173 from lazedo/patch-1

devices in sip_auth are deleted on blocking_refresh: wow nice find that's been there a while now... thanks!
3.02: set caller id to internal format (includes prepend work, if any)