Commit log

7f5da6b Merge branch 'customer-not-found'

Click to expand commit body
* customer-not-found:
  Customer not found, return auth error instead of panic
  Catchable CustomerRepo::NotFound

Stephen Paul Weber created

1510063 After SIP reset, offer to change inbound fwd

Stephen Paul Weber created

7b6c0a0 Reset sip account using v2 API

Click to expand commit body
SipAccount now uses only v2 APIs for lookup, create, update, and delete

Stephen Paul Weber created

4c37bad We don't really want remote, we just want stdin to not be closed by blather...

Stephen Paul Weber created

46b3f4f Customer not found, return auth error instead of panic

Stephen Paul Weber created

b878e61 Catchable CustomerRepo::NotFound

Stephen Paul Weber created

b56c6de Use fixed em-http-request

Stephen Paul Weber created

5d843c0 Hotfix: this was still being used in one place, but got removed

Stephen Paul Weber created

282fb20 Command list UX improvements

Stephen Paul Weber created

0026530 typo

Stephen Paul Weber created

7abb4c6 Merge branch 'bye-number-display'

Click to expand commit body
* bye-number-display:
  This command is redundant with the info command

Stephen Paul Weber created

09d0452 This command is redundant with the info command

Stephen Paul Weber created

aedc5f1 Record Voicemail Greeting command

Stephen Paul Weber created

f6896d1 Move CustomerFwd behind Customer

Click to expand commit body
All the previously-lazy BackendSgx data is now either all loaded or all not
loaded by swapping the sgx_repo used by your CustomerRepo instance.  When not
loaded the fields are filled with bottom values that explode when used.  When
loaded the values are present in RAM and not promises at all.  Most code paths
do not need any of the data, a few need most of it, so this seems like a good
trade-off.  Most code using this object will simply never touch those fields or
care about how they are loaded, etc.

Of course, most of this data isn't even SGX related and should move out of here,
but that would take a data model refactor/migration on the catapult_* schema.

Stephen Paul Weber created

768bdab "hotfix typo"

Stephen Paul Weber created

9db53cc lnp command

Stephen Paul Weber created

c97470e Add auto-top-up to customer info report

Stephen Paul Weber created

67b11b2 wording

Stephen Paul Weber created

d0d8286 Command to migrate transitional status accounts

Click to expand commit body
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.

Stephen Paul Weber created

b9b0766 Allow web-register in two-stage as well

Click to expand commit body
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.

Stephen Paul Weber created

35aa3f7 Bandwidth is very picky about city and state/province names

Click to expand commit body
So transform reasonable things into what we know Bandwidth expects.

Stephen Paul Weber created

f316c9b If number search fails, send user error and ask to search again

Stephen Paul Weber created

6075955 Fix test so you get a better error on failure

Stephen Paul Weber created

691c5d6 Garbage prefix is +1

Stephen Paul Weber created

ed5a69e this was backward

Stephen Paul Weber created

bae664b Forgot slim

Stephen Paul Weber created

f1d56a9 Merge branch 'sip-outbound'

Click to expand commit body
* 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

Stephen Paul Weber created

94766da Support transcription disablement option

Stephen Paul Weber created

7d506e0 Port in inbound calls + voicemail

Click to expand commit body
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.

Stephen Paul Weber created

e5b66f4 Allow fetching fwd timeout as well

Stephen Paul Weber created

b4b54eb Get OGM for a customer

Stephen Paul Weber created

c7ebad1 Helper to fetch customer's vcard-temp

Stephen Paul Weber created

a268e15 Make Disposition more real

Stephen Paul Weber created

07c9c58 Allow constructing CDR for an inbound or outbound event

Stephen Paul Weber created

3260c8a Outbound calls from v2 SIP endpoint work and save a CDR

Stephen Paul Weber created

1f77cd2 Merge branch 'number-search'

Click to expand commit body
* 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

Stephen Paul Weber created

a16fd0d Do not direct back to website to pick new number

Click to expand commit body
Instead, if number is no longer available keep them in flow and use the number
search tool.

Stephen Paul Weber created

23379ab Run rubocop after tests

Stephen Paul Weber created

e8c2919 Add reference to option to show where the tel is

Stephen Paul Weber created

15ca96c Format tel for human reader

Stephen Paul Weber created

5d2a8e6 Allow user to search for numbers over XMPP

Stephen Paul Weber created

5a1e3cb s/WebRegisterManager/TelSelections

Stephen Paul Weber created

36dbdd7 Even if key catapult_jid- exists, this is bonkers, just say no

Stephen Paul Weber created

045da39 Hotfix: arguments in wrong order

Stephen Paul Weber created

589ab72 Hotfix: can't create this until REDIS exists now

Stephen Paul Weber created

f68da9c The sugar version prevents the promise from being returned

Stephen Paul Weber created

358e866 Merge branch 'finish-btc'

Click to expand commit body
* finish-btc:
  No more legacy session for BTC
  Do not lose WebRegisterManager on retart

Stephen Paul Weber created

c49b2c6 No more legacy session for BTC

Click to expand commit body
Set the same key as web register manager, so that on next register jmp.chat the
tel we were using in this flow will be used.   Not needed if they came from web
register, but will still extend expiry in that case and no harm.

Clean up pending tel key on Finish.

Stephen Paul Weber created

64b88af Do not lose WebRegisterManager on retart

Click to expand commit body
Store web registrations in redis.  Set an expiry so they don't grow in RAM
forever as they previously would have without a restart.

Stephen Paul Weber created

94b7b99 hotfix

Stephen Paul Weber created