Command to migrate transitional status accounts
Currently we tell users to use the web activation for this, but we'd like the we
activation to go away very soon and will still need a path for them.
Allow web-register in two-stage as well
Command execution is normally two stage, execute, response, then submit. We had
a hack here that allowed submitting the form directly, but this allows a blind
two-stage client to also at least work.
Bandwidth is very picky about city and state/province names
So transform reasonable things into what we know Bandwidth expects.
If number search fails, send user error and ask to search again
Fix test so you get a better error on failure
Merge branch 'sip-outbound'
* sip-outbound:
Support transcription disablement option
Port in inbound calls + voicemail
Allow fetching fwd timeout as well
Get OGM for a customer
Helper to fetch customer's vcard-temp
Make Disposition more real
Allow constructing CDR for an inbound or outbound event
Outbound calls from v2 SIP endpoint work and save a CDR
Support transcription disablement option
Port in inbound calls + voicemail
The craziest part of this is the workaround for a serious bug in Bandwidth's
HTTP voice API (which they may yet fix, still negotiating with them about that).
When a call comes in, every 10 seconds that it is not "answered" the inbound
call gets cancelled by their upstream peer and then get retried. The caller
sees only one oubound call for this, so it doesn't look odd to them, but to us
it looks like they keep hanging up and trying again every 10 seconds. So what
we do for now is we wait 2 seconds after they disconnect before we decide
they're really gone. If they call back in those 2 seconds we just connect the
eventual bridge or voicemail to this new call and everything works out.
Ew.
Allow fetching fwd timeout as well
Helper to fetch customer's vcard-temp
Make Disposition more real
Allow constructing CDR for an inbound or outbound event
Outbound calls from v2 SIP endpoint work and save a CDR
Merge branch 'number-search'
* number-search:
Do not direct back to website to pick new number
Run rubocop after tests
Add reference to option to show where the tel is
Format tel for human reader
Allow user to search for numbers over XMPP
s/WebRegisterManager/TelSelections
Do not direct back to website to pick new number
Instead, if number is no longer available keep them in flow and use the number
search tool.