anchor.diff:          'undefined' ->
               z_context:set_session('current_callflow', 'undefined', Context);
           Id ->
  -            API_String = <<?V1/binary, ?ACCOUNTS(Context)/binary, ?CALLFLOWS/binary, <<"/">>/binary, (z_convert:to_binary(Id))/binary>>,
  +            API_String = <<?V1/binary, ?ACCOUNTS(Context)/binary, ?CALLFLOWS/binary, "/", (z_convert:to_binary(Id))/binary>>,
               crossbar_account_request('delete', API_String, [], Context),
               z_context:set_session('current_callflow', 'undefined', Context)
       end.
  
positive.code:     AccountId = z_context:get_session('kazoo_account_id', Context),
      case AccountId =:= 'undefined' orelse MediaId =:= 'undefined' orelse MediaId =:= 'null' of
          'false' -> 
              API_String = <<?V1/binary, ?ACCOUNTS/binary, AccountId/binary, ?MEDIA/binary, <<"/">>/binary, (z_convert:to_binary(MediaId))/binary>>,
              crossbar_account_request('get', API_String, [], Context);
          'true' -> []
      end.
  
negative.code:     end,
      DataBag = {[{<<"data">>, {[{<<"numbers">>, [Number]}]}},{<<"accept_charges">>, true}]},
      _ = crossbar_account_request('put'
                                   ,<<?V2/binary, ?ACCOUNTS/binary, (z_convert:to_binary(AccountId))/binary, ?PHONE_NUMBERS/binary, "/", Number/binary>>
                                   ,DataBag
                                   ,Context
                                  ),
      _ = crossbar_account_request('put'
                                   ,<<?V2/binary, ?ACCOUNTS/binary, (z_convert:to_binary(AccountId))/binary, ?PHONE_NUMBERS/binary, "/", Number/binary, ?ACTIVATE/binary>>
                                   ,[]
                                   ,Context
                                  ).
  